Styles, Special Text & Table of Contents

Using the RTF Editor, you can define character-based styles and paragraph-based styles.

A character style constitutes a set of character formatting attributes and is applied to a character string
A paragraph style constitutes both a set of character formatting attributes and a set of paragraph formatting attributes, and is applied to one or more paragraphs

 

You can also include special, structured text in the document, such as page number, date and time, table of contents and text input fields.

Every custom template or RTF document you create is automatically based on the Normal.rtf template file. This provides default styles, numbering and other base formats, which you can change using the RTF Editor facilities.

Access    Select options from the menu bar at the top of the Document Editor window, or right-click within either:
 
                 -  The Content panel of the Document Template Designer or
                 -  The text area of the document

Editing Styles

To

Action

See also

Use double-byte characters

Select the Edit | Inline Ime menu option.

Double-byte characters are, broadly, complex characters used in languages such as  Japanese, Chinese, and Cyrillic.

With this menu option, you can use both single-byte characters and double-byte characters in your text, without having to switch to an external Input Method Editor (IME) application.

 

 

Create and edit styles

Select the Edit | Edit Style menu option. The Edit Stylesheet dialog displays.

Select the appropriate radio button to define a paragraph style or a character style.

If you want to update an existing style, select that style from the list box. If you want to create a new style, select the Create a new style checkbox, and type a name in the Style Name field. Short style names are best, but you can type in long names if you wish to.

To begin defining the style properties, click on the OK button.

You can use the ruler, toolbar or context menu selections to modify the style properties; for an existing stylesheet item, these also reflect the currently-selected properties.

After you have defined the required style, you set it by either selecting the Edit | Edit Style menu option again or clicking anywhere in the document:

If you modified an existing stylesheet item, the document automatically reflects the updated style
If you created a new stylesheet item, you can apply the style to highlighted text by selecting the Font | Style or Paragraph | Style menu options.

 

 

Edit the hyperlink style

This option operates specifically on the style of any hyperlinks you want to create.

Select the Font | Hyperlink menu option, and select the font, font size and emphasis (bold, italic) you want to apply. You cannot remove the hyperlink underline or change the color from blue.

Select the Font | Hyperlink menu option again to set the style.

When you create a hyperlink from this point onwards, the link text will be in the style you have set. Links created before you changed the style remain in the earlier style.

 

 

 

 

 

Insert Reference Links

Apply character styles

Highlight the text to be styled and select the Font | Style menu option; the Select a Style dialog displays, from which you select the character style to apply.

 

 

Apply paragraph styles

Highlight the text to be styled and select the Paragraph | Style menu option; the Select a Style dialog displays, from which you select the paragraph style to apply.

 

 

Insert a table of contents

Edit the Table of Contents level styles (TOC 1 to TOC 9) using the Edit | Edit Style menu option, as you wish. Add at least one Heading n style to the document.

Move the cursor to the point at which to insert the table of contents and select the Insert | Table of Contents menu option. The heading 'Table of Contents' displays to mark the presence of a table of contents; this heading is not replicated in any document generated from a template.

To create a Table of Contents heading that displays in the generated document, type the appropriate text at least one line above the inserted list and define the style as you wish - use a Heading style to include the heading itself in the Table of Contents, otherwise use a non-heading style.

The table of contents is automatically generated and updated whenever generation or repagination occurs.

 

 

 

 

 

 

 

 
 

Define Document Sections

Insert date and time fields

At the point in the text at which to insert the current date and/or time field, select the Insert | Date and Time menu option.

The Insert Current Date/Time dialog displays, from which you can select the required date and time format. You can insert the date or time fields separately, or as a combined field.

The date and time are automatically updated whenever the page text is refreshed (that is, clicked on).

 

 

Insert your own data fields

Move the cursor to the point at which to insert the data field and select the Insert | Data Field menu option.

The Data Field Parameters dialog displays, in which you enter the field name and the data value. Wherever you insert the data field, the values are automatically updated with the most recent data value you enter.

 

 

Insert your own text entry field

You insert text entry fields so that anyone using the document can type in their own text in response to either a lead-in sentence or the field name itself.

Move the cursor to the point at which to insert the text entry field and type in any lead-in  text you want to use. Then select the Insert | Text Input Field menu option.

The Input Field Parameters dialog displays, in which you enter:

The field name
The initial value to display as a default
The maximum length of the field
The text font in which to display the text

 

You can also specify whether or not the field has a border.

For example: Namefield

If you insert a text entry field in a template, any document generated from the template shows the typed entry as normal text, not boxed.

 

 

Insert a Project Constant

You can create Project Constants to insert a specific text string wherever you place the flag for that string. You can therefore design a report containing many instances of that string, but create and edit the actual value in one place - on the Project Constants tab of the Generate Report dialog.

Right click at the point at which you want to insert the Constant (flag), and select the Project Constants | <flag name> context menu option. The Constant displays at that point in the template, and when the report is generated the flag is replaced by its defined value.

You can insert a Project Constant anywhere in the template - in the text body, section headings, headers, footers, endnotes or footnotes. Project Constants are available to any template in the model.

 

Project Constants

Insert a selectable checkbox

You insert checkboxes in a document so that the users of the document can mark the item represented by the box. The checkbox can be selected and deselected in a document, a template and a document generated from a template.

Move the cursor to the point at which to insert the checkbox and select the Insert | Checkbox Field menu option.

The Checkbox Field Parameters dialog displays, in which you enter:

The field name (which does not display in the text)
Whether the checkbox defaults to selected
The size of the checkbox

Click on the OK button.

 

 

Insert a selection (drop-down) field

You insert selection fields in a document so that the users of the document can select one of the items presented in a drop-down list.

Move the cursor to the point at which to insert the selection field and select the Insert | Selection Field option.

The Selection Field Parameters dialog displays, in which you enter:

The field name
The options to present in the drop-down list (separated by the | character)
The value from this list to display as a default

 

Click on the OK button.

 

 

Define level numbering in generated document

(Used in the Document Template Editor and Linked Document Template Editor.)

Select the Edit | List and Overrides menu option.

Set up the numbering list and the list overrides.

Apply the numbering list to the headings set for packages and elements, using paragraph numbering.

 

Apply User-Defined Section Numbering