Output properties supported by word documents

Word macros

Rational Publishing Engine does not update Word fields in a generated. You must manually use a macro or manually update any 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 Word macros that you can run after generating the document:
Macro Name Location Description
updateTOCs RPE_INSTALLATION/utils/word/updateTOCs.txt Updates the table of contents in the document.
updateFields RPE_INSTALLATION/utils/word/updateFields.txt Updates the fields in the document.
updateTablesOfFigures RPE_INSTALLATION/utils/word/updateTablesOfFigures.txt Updates the tables of figures in the document.
insertOLEs RPE_INSTALLATION/utils/word/insertOLEs.txt Embeds the OLEs from the linked RTF files in the output document.
RPE RPE_INSTALLATION/utils/word/RPE.txt Performs all actions from the previous macros.

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

Using Unicode data

Unicode data appears as Unicode if the output can display the characters. The specified font must be on the computer used to view the document. The font family used for a template element can be specified through:
Location Applies to
font family property of the element. The template element and all the child elements that do not explicitly set the property.
font family property of the style applied to the element. The template element and all the child elements that do not explicitly set the property.
font properties of the styles defined in the stylesheet (other than normal). All the template elements that use the specified style.
Normal style in the template. All template elements that do not have a different style applied.

Output formats extenstions

The Word output format depends on the extension that you specify:
Extension Format of generated document
.doc Word 2003.
.docx Word 2007, without the ability to run macros.
.docm Word 2007, with the ability to run macros.

Feedback