Use the Style Sheet dialog to select style options for your printed documentation. The printed output will be formatted according to the selections you make at this dialog. There are two ways in which the Document Wizard can create the printed output — with or without a style sheet. In either case, the styles from your topics will be applied to the documentation. However, with style sheets, a Word template (.DOT file) can be created from a style sheet file (.CSS).
Use Style Sheet: The Document Wizard creates a Word template (.DOT file) that uses the same styles as the ones used in the style sheet (.CSS file).
Most referenced style sheet in project: If your topics use a variety of style sheets, the program auto-detects the one that is used the most. It applies the styles in the style sheet to the text in the printed documentation and creates a Word template that uses these same styles. The template uses the same name as the style sheet (.CSS file) with the .DOT extension (Word's file name convention for templates). Your HTML topic text should be formatted to use the style sheet styles so the text in the printed documents will have the same styles applied to them. For example, the document text that is formatted to use the style Headline 2 will use the same formatting as the HTML topic text formatted to use the Headline 2 style.
Click the
Browse button and use the Select .CSS
File dialog to select a custom style sheet. When the Document Wizard
creates your Word template, it will use the same name as the style sheet
(with a .DOT extension). The wizard will apply the formatting from the
styles in the style sheet to the printed text (as long as the topics use
the styles) and a Word template will be created that includes all the styles
from the style sheet.
Classic and Modern: The Document Wizard also provides two basic style sheets. Classic uses Times New Roman for normal text and Arial for headings. Modern uses Verdana for normal text and Arial for headings. Word templates are available for both of these styles.
Note: The template includes all styles from the style sheet, regardless of whether they are used in the HTML topics. This way, you can apply them to the text after the printed output is created.
Modify Style Sheet: If you select a custom style sheet or Classic or Modern, you can click this button. It opens the Modify Style Sheet dialog for adding new styles and changing existing styles.
Use Topic Formatting: The Document Wizard formats the printed documents using the formatting in the topics (inline and embedded styles). The printed documents are attached to Word's Normal template (NORMAL.DOT). You can attach any template to these files after they are created.
If the HTML topics are attached to a style sheet and you select Use topic formatting, some of the styles from the style sheet may be copied into the printed documents and applied to the text. If the text in the HTML topics is formatted to use inline or embedded styles, this formatting is applied to the printed text because it overrides styles in style sheets. In the printed documents, embedded styles are turned into Word document styles (styles saved in the document rather than in a template) and inline styles are turned into paragraph and character formatting.
For example, if the style sheet uses Heading 1 as Arial 18 pt Bold, the printed documents will also use Heading 1 as Arial 18 pt Bold unless Heading 1 in the HTML topics was formatted with an inline or embedded style to use some other format such as Times New Roman 24 pt. For more information about the differences between styles, see About cascading style sheets.
Note: The Wizard cannot use an existing template to create the printed documentation. However, you can create a style sheet that is based on a template. Create the style sheet, attach it to the topics, and apply the styles to the topic text. Select the style sheet at the Document Wizard's Style Sheet screen. After the printed output is created, you can use the template created by the wizard or you can replace it with your original template.