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.
The function insert_text_block_extended is an extension to the insert_text_block function. The function is used if;
The function has three parameters all type TEXT. 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.
Example
@(insert_text_block_extended("Clauses"; "TST"; ""))
The Text Block with label "Clauses" is inserted in the result document. The styles set that is used has the prefix "TST".
Example
TEXT par := "
"
@(insert_text_block_extended("Clauses"; ""; par))
The Text Block with label "Clauses" is inserted in the result document. The function needs to be called within a table cell because the paragraph sign that is passed in the third parameter is declared within a table cell.
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.