TEXTBLOCK statement
Use the statement TEXTBLOCK to insert regular or Rich Text Blocks in the result document.
The following is a definition of the statement.
TEXTBLOCK
NAME "name"
VAR expression
PARAGRAPH_SYMBOL expression
STYLE_PREFIX expression
TABLE_STYLE_PREFIX expression
ASSIGN_TO variable
QFORM expression
SUPPRESS_FINAL_PARAGRAPH
DATA_DEFINITION NONE
PATH expression
Description of the keywords.
- NAME "name"
Use NAME to specify a fixed Text Block name or list of Text Blocks.
TEXTBLOCK NAME "Salutation" TEXTBLOCK NAME "\Customers\Correspondence\Clause14" TEXTBLOCK NAME "Salutation, Invoice, Signature"
The Text Blocks specified with the NAME keyword are used by KCM Designer in its dependency analysis.
- VAR expression
Use VAR to specify an expression that evaluates to the name of a Text Block or list of Text Blocks.
The expression can either evaluate to a TEXT value, for a single Text Block, or an ARRAY TEXT value for a list of Text Blocks.
You can use the VAR keyword in combination with the PARAMETER keyword to parameterize Master Templates.
PARAMETER TEXTBLOCK Clause TEXTBLOCK VAR _Template.Clause
The NAME and VAR keywords are mutually exclusive.
- PARAGRAPH_SYMBOL expression
This optional keyword specifies a paragraph break that defines the base layout for paragraphs in the Text Block. The expression must evaluate to a string that contains a single paragraph break.
Because of limitations in the Microsoft Word DOC file format, paragraphs can only be inserted into a table if each paragraph break is also derived from a table. To enforce this, use PARAGRAPH_SYMBOL to pass a paragraph break from within a table.
Make sure that the document you insert does not contain phonetic guides for East Asian languages. This functionality is not supported by KCM and will cause an error during the upload.