Administration > Stylesheets > Configuring Stylesheet Order in a List
  
Configuring Stylesheet Order in a List
You can control the order that stylesheets on the Arbortext PE server appear in dialog box lists for printing and publishing from Arbortext Editor. The PEStylesheetOrder element of the .dcf also configures the order in which stylesheets are listed in the Publishing Configuration document (available from Help > About Arbortext Editor > PE Configuration.
In the document type's .dcf, you can add a PEStylesheetOrder element and then specify the stylesheet list for each output type in PEStylesheetList child elements. The type attribute value is required and must be htmlfile, htmlhelp, pdf, print, rtf, web, xsl or all.
Each stylesheet list has child PEStylesheet elements for specifying the path to each stylesheet that should appear in the list. The path attribute identifies a stylesheet by either absolute or relative path or only by file name. If only a file name is specified, the file name will be resolved by scanning the list of the stylesheets found by the Publishing Configuration scan until a match is found. If the path attribute value is absolute or relative, the Publishing Configuration scan must be able to find it on the Arbortext PE server to be valid.
Stylesheets found by the Publishing Configuration scan but not specified in the document type .dcf are included in default order at the end of the Arbortext Editor print and publish dialog box stylesheet lists, as appropriate for output type.
Add the PEStylesheetOrder element to the .dcfand define its child elements and attributes.
To specify PEStylesheetOrder:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type is saved, and click Select.
4. Once the document type is loaded, choose Edit > DCF. If the document type has a .dcf file, it displays in the Arbortext ArchitectDCF Editor window. If there is no .dcf file associated with this document type, Arbortext Architect automatically creates one.
5. Locate the PEStylesheetOrder element in the DCF Editor. If the file doesn't include an PEStylesheetOrder element, add one.
* 
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the PEStylesheetOrder element.
6. Place your cursor to the right of the PEStylesheetOrder element, press Enter to get the Quick Tag menu, and select PEStylesheetList or insert it from the Insert > Markup menu.
7. Choose Edit > Modify Attributes or click on the Modify Attributes toolbar button to open the Modify Attributes dialog box.
* 
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
8. In the type field, enter the output type for your stylesheet list.
9. Place your cursor to the right of the PEStylesheetList element, press Enter to get the Quick Tag menu, and select PEStylesheet or insert it from the Insert > Markup menu.
10. Choose Edit > Modify Attributes or click on the Modify Attributes toolbar button to open the Modify Attributes dialog box.
* 
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
11. In the path field, enter the path and file name or just the file name for your stylesheet list.
Repeat adding PEStylesheet elements and their path attributes as needed.
12. Click OK.
13. Choose File > Save to save the changes you have made to the .dcf file.