In this example, a table has been created in the report template and made into a repeating section content control. Tables should be used to contain repeating content controls in order to facilitate PDF conversion, but you can place repeating content controls directly in the report template if you want.Įxample: Simple repeating content controls in a table row Repeat steps 4 and 5 for each data content control you want represented in the table.The content control will be placed at the mouse cursor position. In the tree view in the XML Mapping pane, right-click the data element you want displayed, select Insert Content Control, and then select the element type, typically Plain text.Place the mouse cursor in the table cell where you want to insert a content control.You can also right-click the data element in the XML Mapping pane and select the Repeating to insert a repeating content control. In the Developer tab > Controls group, select the Repeating Section Content Control button to insert a repeating content control.Select the table row that is to contain the repeating content control.In the Word template, create a table, and place the table in the template.See nested repeating content controls below. Repeating content controls can also contain and repeat other content controls, for example, inner and outer lists. If you want to display a running list of elements attached to a main record, for example, display main document metadata in the upper half of the reports and display any supplementary documents attached to the main document in the lower half of the report, you must use repeating content controls to contain the data content controls. To set up the content control properties, select the content control in the report template, and either right-click, and select Properties, or click Properties in the Developer tab > Controls group.Ī repeating content control repeats all content in the content control, including other content controls. When inserting the content control in the template, the records in the Record XML model and the Plain text option have been selected.ĭefine titles and access rights to the content controls in a document by directly editing the content control properties. In this example, the Records XML model located at has been selected. In the tree view in the XML Mapping pane, right-click the data element you want displayed in the template, select Insert Content Control, and then select the element type, typically Plain text.In the Word template, place the mouse cursor where you want the content control to be displayed.In the XML Mapping pane, select the XML model you want to create content controls for.In the Word template, click the Developer tab > XML Mapping Pane to open the XML Mapping pane.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |