Prev Next

Legacy Report Style Templates

Using the 'Legacy RTF Style Editor' you can edit the RTF associated with various sections of the RTF Report facility in Enterprise Architect. You would typically use this functionality to customize a report's look and feel for your company or client.

If you have previously defined and saved a template, click on the Load button on the 'Rich Text Format Report' dialog to open the list of defined templates. Select one in order to load it as the current template; all the features saved become the current features. This enables you to define a set of standard report types that streamline document production.

Access

Ribbon

Start > Explore > Browse > Resources > Document Generation | Legacy Templates

Create or Edit RTF Style Templates

Step

Action

See also

1

Expand the Legacy Templates folder.

2

To edit an existing Legacy template, expand the Legacy Templates tree and double-click on the template name, or right-click and select the 'Modify Document Template' option. The 'RTF Style Editor' displays.

3

Alternatively, to create a new Legacy template, right-click on 'Legacy Templates' and select the 'Create RTF Style Template (Legacy)' option.

A prompt displays for the new template name.

4

Type the name of the new template and click on the OK button.

The RTF Style Editor displays.

RTF Style Editor

The RTF Style Editor contains a list of all available RTF fragments for modification and customization.

Each fragment typically contains RTF plus one or more special tag names that Enterprise Architect replaces with information during generation. Currently you cannot alter the content within the tag names, but you can omit a complete tag by removing it, or alter its basic display properties in the surrounding RTF.

Special tag names are delimited by # characters; for example, #NOTES#

Click on the:

  • Get Default button to retrieve the default Enterprise Architect template for the currently-selected template item in the left hand list
  • Save button to save the version of the template for this style only
  • Delete button to remove your modified version of the template, which causes Enterprise Architect to use the default template during report generation

To select a template during report generation, click on the 'Style' drop-down arrow on the 'Rich Text Format Report' dialog. Once a style is selected, Enterprise Architect applies that to the current report. Select <Basic> for the inbuilt style.

Notes

  • The RTF Style Editor discussed here automatically displays when you modify or create a Legacy RTF template; if you select a template created in the more recent Document Template Editor, that editor opens automatically instead
  • You can transport these RTF templates between models, using the 'Configure > Model > Transfer > Export Reference Data' and 'Import Reference Data' ribbon options
  • To delete a template, right-click on it and select the 'Delete Document Template' option
  • You can also alter the custom language settings

Learn more