Preparing Microsoft Word Source Documents : Assigning Custom Page Styles in Word
 
Assigning Custom Page Styles in Word
By default, each page generated by ePublisher is associated with the default page style defined in the Stationery used by your ePublisher project. This means that typically you do not need to specify a page style for pages when you generate output. However, if you want to change the page style of one page or a smaller set of pages, you can specify the page style you want to use for a page in your Microsoft Word source document using the PageStyle marker.
For example, you may want to use one page style in your help system for all concept and procedure topic pages, and another page style for all context-sensitive window description topic pages in your help system. In this example, you can use the default page style for all of your concept and procedure topic pages, and then you can use a second custom page style defined in your Stationery for all context-sensitive window description topic pages in your help system.
Before you begin, obtain the names of the custom page styles you can use with your Stationery from the Stationery designer. Then insert a PageStyle marker with the page style name into the topic you want to display using a custom page style. After you assign a custom page style to a topic using the PageStyle marker, the generated output displays the topic using the specified page style.
To assign custom page styles, your Stationery and template must have the following items configured:
*Custom page styles defined for your Stationery by the Stationery designer
*PageStyle marker type
Your output format must also support this feature. For more information about output formats that support this feature, see “Features Available in Each Output Format”.
For more information about creating page styles, see “Defining the Appearance of Pages”.
The following procedure provides an example of specifying page styles for pages in Microsoft Word source documents using Microsoft Word 2003. Steps for specifying page styles for pages in Microsoft Word may be different in other versions of Microsoft Word.
To specify a custom page style for a page in a Microsoft Word source document
1. In your Microsoft Word source document, locate the page for the topic to which you want to assign a page style.
2. Insert your cursor in the location on the page where you want to insert the PageStyle marker.
3. On the WebWorks menu, click Markers.
4. In the Marker field, select PageStyle from the list of markers.
5. In the Value field, type the name of the page style you want to associate with the page.
For example, if you Stationery designer configured a page style for your Stationery called YellowBackground, type YellowBackground.
6. Click OK. ePublisher inserts the PageStyle marker into your source document.
7. Save your Microsoft Word source document.
8. Generate output for your project. For more information, see “Generating Output”.
9. In Output Explorer, verify ePublisher created the page using the page style you specified by clicking on the page and verifying ePublisher applied the page style you specified in the generated output. For more information about viewing output files in Output Explorer, see “Viewing Output in Output Explorer”.