Microsoft Word macros

Rational® Publishing Engine does not update Microsoft Word fields during document generation. You must manually use a macro or manually update any of the fields that you added, such as tables of contents, tables of figures, tables of tables, figure captions, and label captions.
The following table lists the Microsoft Word macros that you can run after generating a document:
Table 1.
Macro Name Location Description
updateTOCs %RPE_HOME%/utils/word/updateTOCs.txt Updates the table of contents in the document.
updateFields %RPE_HOME%/utils/word/updateFields.txt Updates the fields in the document.
updateTablesOfFigures %RPE_HOME%/utils/word/updateTablesOfFigures.txt Updates the tables of figures in the document.
insertOLEs %RPE_HOME%/utils/word/insertOLEs.txt Embeds the OLEs from the linked files.
RPE %RPE_HOME%/utils/word/RPE.txt Performs all actions from the previous macros.

A Microsoft Word .dot file, which contains these macros, is in %RPE_HOME%/utils/word/RPE.dot. When you use this file as a style sheet for Microsoft Word output, you can use any macro listed in the table.


Feedback