![]() Repeating sections can also be configured under Global Mappings in the exact same way. The result count should be the same for each element in this section in order to merge each repeating section completely. The result count will determine the number of sections that will be repeated. To add elements under the section tag, right-click on the row and select Add new under this section.Įnter the element title under Question and the element tag under Tag.Ĭlick and enter the SQL statement that will return a list of results for this element. ![]() Right-click in the Question & Answer tab and select Add new.Įnter the section tag under Tag exactly as it appears in the Word document. To configure the repeating sections and their elements in NLS:Īdd a new document template in Setup > System > Document Templates. The tag for each section must be unique and using the same title and tag for each section is recommended to avoid any confusion. ![]() Right-click the content control and select Properties.Įnter a tag for the control to be referenced from NLS. (new add a repeating section to the document, click Repeating Section Content Control. Open the result for demonstration purposes. String resultPath = new DocxSaveOptions()) Rt.Blocks.Add(new Paragraph(dc, "Line 4")) Shape shp = new Shape(dc, Layout.Inline(new Size(4, 1, LengthUnit.Centimeter))) String pictPath = pict = new Picture(dc, InlineLayout.Inline(new Size(400, 100)), pictPath) Rt.Blocks.Add(new Paragraph(dc, "Line 3")) Rt.Blocks.Add(new Paragraph(dc, "Line 2")) Rt.Blocks.Add(new Paragraph(dc, "Line 1")) Add new paragraphs with formatted text. You want to set a wider inside margin to accommodate binding a document where pages are printed. Rt.Properties.Title = "Rich text content control." / Inserting a Rich text content control.īlockContentControl rt = new BlockContentControl(dc, ContentControlType.RichText) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |