Now it’s time to add the two text fragments to a document. If you forgot how to do this, head over to the section about text fragments. After having added the text fragments to the document, it should look like the picture below. Take into account that the anchor created is part of a numbered list, otherwise it will not update the references dynamically.
Word-editing software usually has the option to use cross references. You can use these to refer the user to other parts in your document, with a link that directs them to that part. This is also possible in the Berkeley Studio when creating Word (.docx) files.
Sometimes, you’ll need to have a text fragment that, depending on the user’s input, might show up in the document. For example, a statement about free days in a employee agreement. However, if you do not want anything to show up in your document - not even a new line - you can use delete paragraph.
In the previous article we created a small model in which we added a text fragment. We will now explain how to put this text fragment in your Word document. The first step is to simply left click your text fragment in the Berkeley Studio. This is done in the Text Fragments screen:
The template document you have just added to your decision tree model is where you will be adding text fragments to. The easiest way to create text fragments is to first fill your document with the desired texts. In these texts you can mark where certain variables from your decision tree model have to be entered.
Instead of editing your text fragments and making text bold, cursive, underlined, strikethrough or superscript after having created a document with the Studio, you are able to add these styles in the text fragments themselves. Simply add a text fragment and use one of the following symbols to add a style to a certain text.