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

Web Style Templates

The HTML and CSS Style Editor enables you to edit the HTML associated with various sections of the HTML Report facility in Enterprise Architect. You would typically use this functionality to customize a report's look and feel for your company or client. The editor is derived from, and provides the facilities of, the common Code Editor.

To create or edit web style templates, follow the steps below:

  1. In the Resources window, expand the Templates folder.
  2. To create a new template, right-click on the Web Style Templates folder and select the Create HTML Template context menu option. Enter a name for the new template when prompted to do so. The HTML and CSS Style Editor displays. See below for further details.
  3. To edit an existing template, expand the Web Style Templates folder and either double-click on the template name, or right-click and select the Modify HTML Style Template context menu option. The HTML and CSS Style Editor displays. See below for further details.


To delete a template, right-click on it and select the Delete HTML Template context menu option.

The HTML and CSS Style Editor contains a list of all available HTML fragments for modification and customization. These fragments are defined in the HTML Template Fragments topic.

Each fragment typically contains HTML 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 HTML.

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


  • Get Default retrieves the default Enterprise Architect template for the currently selected template item in the left hand list
  • Save saves your version of the template for this style only
  • Delete removes your modified version of the template, which causes Enterprise Architect to use the default template during report generation.

To select a template during generation, use the Style drop-down arrow on the Generate HTML Report dialog. Once a style is selected, Enterprise Architect applies that to the current report. Select <default> for the inbuilt style.



Each time Enterprise Architect generates the web report it overwrites these files, so you must back up your modified versions and copy them back in after every update.