Notes on Creating Stylesheets
Stylesheets define a range of formatting parameters that control the appearance and layout of a document report. You create them to provide an alternative set of styles to the Normal.rtf file and to any special styles redefined within a document report template. A user can choose to apply a Stylesheet to any kind of document report they are generating, in which case the styles in the Stylesheet override the styles with matching names in the template or Normal.rtf. You can, therefore, create a Stylesheet that:
- Redefines and overrides certain styles
- Does not include other named styles, so use of those styles defaults to the template or Normal.rtf file definition, and
- Provides additional styles that can be applied by editing the generated report
Each custom Stylesheet can define a totally different page layout and document styles to other Stylesheets and to the Normal.rtf Stylesheet.
The simplest way to create a new Stylesheet is to copy one of the system-provided files (for print output or for online output) or another custom Stylesheet, and edit the style definitions in the copy. However, you can create a Stylesheet from scratch if you wish; this would be initially derived from the Normal.rtf file.
Access View | Resources > Document Generation > User Templates | right-click on Style Sheets | Create Document Template
View | Resources > Document Generation > System Templates > Style Sheets | right-click on <stylesheet name> | Copy Document Template
Package | Documentation | Document Templates:
You can also create Stylesheets within the 'Templates' tab of the 'Generate Documentation' dialog.
In each of these cases, you create the new Stylesheet file through the 'New Document Template' dialog, and edit the styles in the Document Template Designer using the 'Styles, Special Text and Table of Contents' facilities.