Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Topic |
Prev | Next |
Create Web Style Templates
If you want to customize the look and feel of a web report for your company or client, you can use the HTML and CSS Style Editor to change the HTML associated with the various sections of the report. This editor is derived from, and provides the facilities of, the common Code Editor. The HTML and CSS Style Editor contains a set of HTML fragments for modification and customization, listed in the left hand 'Templates' panel of the dialog.
Each fragment typically contains HTML plus one or more special tag names that are replaced with information during generation. The special tag names are delimited by two # characters; for example, #NOTES#, as you can see if you click on a template fragment name to display its contents in the right hand 'Current Modified Template' panel. The HTML report generator produces output based on the fragments, either in their default state or as you have customized them. 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.
Access
Ribbon |
Configure > Reference Data > Resources > Document Generation > Web Style Templates |
Create or edit web style templates
Task |
Action |
See also |
---|---|---|
Create a new template |
Right-click on the Web Style Templates folder and select the 'Create HTML Template' option. Type the name of the new template when prompted to do so. The 'HTML and CSS Style Editor' displays. |
|
Edit an existing template |
Expand the Web Style Templates folder and either:
The HTML and CSS Style Editor displays. |
|
Delete a customized template |
Expand the Web Style Templates folder, right-click on the template name and select the 'Delete HTML Template' option. |
Within the HTML and CSS Style Editor
Task |
Action |
See also |
---|---|---|
Edit a template fragment |
Click on the required fragment in the 'Templates' list; the fields in that fragment display in the 'Current Modified Template' panel. Change the field values, or delete fields, as you wish. |
HTML Template Fragments |
Save your style changes |
Click on the to save your version of this template fragment only. Save each fragment before you move on to another fragment. |
|
Delete a modified template fragment |
Click on the template fragment in the left-hand list and click on the . This removes the modified version of the fragment, which causes the report generator to use the default (system-provided) fragment during report generation. |
|
Retrieve the original, default template fragment |
Click on the template fragment in the left hand list and click on the . |
Notes
Learn more