Use the editor area to create Javascript snippets that process data attributes. Examples of processing include combining data attributes, trimming white space, and transforming numeric values into textual descriptions. You can process any data attribute from the current context (the query attributes of the element and the attributes from all the parent quires of the elements).
Use expressions that are based on data attributes or template variables to define conditions for when an element should be rendered. A condition is a Javascript expression that evaluates to a Boolean value.
Although you can sometimes use conditions instead of filters, using filters yields better performance because only a subset of data is processed.
You can use expressions to define formatting properties based on data attribute values. Conditional formatting is similar to element conditions except that the return values depend on the property type.
You can edit the content for: text, styled text, image, include file, bookmark, and hyperlink. Double-click the elements to edit its content.
To add a table of contents to your output, define the table of contents in your template or your in the style sheet. If you define the table of contents (or table of figures, table of tables) in the template, the table is not shown in Microsoft Word until you update the document fields. To update the fields, use the Update Fields or Update Table feature in Word or use the macros contained in the rpe.dot stylesheet. You can find the rpe.dot stylesheet in the Rational Publishing Engine installation: %RPE_HOME%\utils\word\rpe.dot.
Figure and table captions, like the table of contents, are not automatically updated. To update the fields, use the Update Fields feature in Microsoft Word or use the macros contained in the rpe.dot stylesheet. You can find the rpe.dot stylesheet in the Rational Publishing Engine installation: %RPE_HOME%\utils\word\rpe.dot.
To use the predefined heading styles for Microsoft Word (Heading 1, Heading 2,....,Heading 9) and HTML (H1, H2,....,H9) use the style name 1,2, to 9. PDF and XSL-FO, not have heading styles. However, Rational® Publishing Engine use internally defined heading styles.
You should define styles instead of changing individual formatting properties for template elements.
If your main output is Microsoft Word or HTML, you should use external styles (defined in style sheet) as much as possible. This approach allows changing the appearance of the output document on the fly and enforces a uniform look company wide.
Use a style sheet that has numbered headings to obtain headings numbered as a hierarchical list.