Creating Repeating Text Using the Ribbon

Top Previous Topic Next Topic  Print this topic

To insert Repeating Text using the Ribbon, follow the instructions provided below.

 

1. Place your cursor in the Design Surface where you would like to add your Repeating Text.

 

reptext6

Figure 1: The cursor is placed where the Repeating Text will be inserted.

 

2. In the Ribbon, select Repeating Text button from the Insert Tab.

 

3. Next, you will need to select the repeating element to be used by selecting in the Data Tree of the Repeated Text Dialog. Notice, in Figure 2 your selection will be highlighted for visual reference. In this example, we want our text to repeat for every "Product" element. For more complex expressions,like filtering your data, select Dynamic Values.

 

reptext9

Figure 2: The Product element is selected as the repeating element for the Repeating Text.

 

4. Select Insert when your selection is complete.

 

5. Now the Repeating Text object will be inserted into the Design Surface. You will notice placeholder text and a visual indication in blue to show the element that this text section will repeat for.

 

reptext10

Figure 3: The Repeating Text section is added into the Design Surface.

 

6. Replace the placeholder text with the content that you wish to repeat for every occurrence of your selected element. In this example, the "name" attribute is added inside of the Repeating Text object by dragging and dropping from the Data Source Pane, the result will yield each name being displayed with a comma and space occurring after.

 

reptext4

Figure 4: The text is replaced with the content desired to repeat.

 

7. At this point you should preview your output to ensure your Repeating Text is creating your desired output. In Figure 5, each products name attribute is listed with the appropriate comma and space separating the content as repeated.

 

reptext5

Figure 5: The output reveals the behavior works as designed.