The keyword insert_text_block was used in earlier versions of ITP to declare a field set. This keyword is deprecated since ITP/MDK Repository 3.2.0 and ITP version 3.2.5. Use the statement TEXTBLOCK instead.
This function is used to insert predefined Text Blocks into a result document. Refer to the ITP/MDK Repository Manual, chapter Objects and actions reference for more information on using Text Blocks in ITP Model documents. The function insert_text_block has one parameter type TEXT. This parameter contains the label of the Text Block that needs to be inserted. The result of the function is type TEXT; the text of the predefined Text Block.
If the Text Block set the Text Block belongs to has an associated field set, the model developer is responsible for assigning values to all fields from this field set using a variable type FIELDSET. This needs also to be done if the Text Block that is inserted into the result document does not use any of these fields.
The lay out of the Text Block is determined by Microsoft Word/OpenOffice.org styles. The model developer is responsible for defining the correct styles. Refer to the topic TEXTBLOCK for more information on defining styles for the Text Blocks.
Example
@(insert_text_block("Clauses"))
The Text Block with label "Clauses" is inserted into the result document.
Note
ITP Models using this feature can be created with ITP/Workstation, but to run a model containing this feature, you will need ITP/Server or ITP/OnLine Server.