Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

RTF Templates Tab

The Templates tab of the Generate RTF Documentation dialog enables you to create, edit and delete your own RTF style templates. You can also import RTF templates saved as XML files.

In versions of Enterprise Architect later than 7.1, a Normal.rtf template is provided as a system template, as an external file stored with the Enterprise Architect system directory (in C:\Program Files\Sparx Systems\EA\DocTemplates). This provides user-editable defaults of styles, numbering and other base formats. Any styles modified in the Normal.rtf file reflect in newly created templates. One useful style is the default list numbering, MasterList.

To edit the Normal.rtf template, use the RTF Style Template Editor to create a new template called, for example, Normal, and use the File | Import menu option to import the Normal.rtf file into the Normal template. Modify the Normal template as required, but ensure there is no text when you save it, just style definitions. Export the modified template back into the Normal.rtf file in the RTFTemplates folder.

A related feature in the RTF Style Template Editor is the File | Update Styles menu option. This enables you to update existing templates to reflect any changes to Normal.rtf.

Note:

  • In the Corporate, Business and Software Engineering, System Engineering and Ultimate editions of Enterprise Architect, if security is switched on, you must have Configure Resources access permission to create RTF templates.
  • In the Normal.rtf template, you must not edit the SSbookmark style. This defines the section styles and must be preserved.

RTFTemplatesDialog

The tab has the following functions:

To

Do this...

Delete a template

Click on the template name and click on the Delete button.

Create a new template

Click on the New button. The New Document Template dialog displays, on which you specify the template name and the name of any existing template to act as the base for the new template.

To make it easier to get up and running, Enterprise Architect provides a basic template with default settings on which you can base new templates.

Modify the template as required, using the RTF Style Template Editor.

Open the RTF Style Template Editor

Click on the template name and click on the Edit button. The Document Template Editor screen displays, presenting the facilities of the RTF Style Template Editor.

Import RTF Templates saved to XML files using the Tools | Export Reference Data menu option

  1. Click on the Import From Reference File button.
  2. On the Import Reference Data dialog, click on the Select File button and browse for and select the required file.
  3. In the Select Datasets to Import panel, click on the required datasets.
  4. Click on the Import button to import the template.

The imported template displays in the list on the Templates tab of the Generate RTF Documentation dialog.

Note:

There are two methods of exporting and importing RTF templates out of and into models:

  • If the template is in a batch file, export it using the Tools | Export Reference Data menu option and import it using the Templates tab, as above.
  • If the template is a one-off copy, use the RTF Template Editor File menu options, Export and Import.