The same as regular Text Blocks, Rich Text Blocks are retrieved and inserted at runtime. Rich Text Blocks allow you to use all capabilities of the word processor like tables and pictures, without having to recompile the ITP Model after a change. In the example, the contents of the headers of the example documents are stored in Rich Text Blocks. The instruction to dynamically include the header text block of the appropriate label looks like this:
TEXTBLOCK
VAR label + "\Header"
ASSIGN_TO header
The command TEXTBLOCK retrieves the Rich Text Block from the ITP/MDK Repository. The location of the Rich Text Block is defined by the contents of the variable called label, which corresponds to one of the folders that contains the text blocks. From the folder, the Rich Text Block with the name Header will be retrieved.
Normally the retrieved text block would be printed immediately, but in this example it is assigned to the variable called header so it can be used as parameter of the function headers.