About Arbortext Styler > Extending Stylesheets > Viewing Stylesheet Source
  
Viewing Stylesheet Source
Arbortext Styler uses the style settings you make to generate different types of stylesheet source code for different outputs and editors.
Arbortext Styler provides the ability to view the generated source code as you are editing the stylesheet. Choosing View > Source, and then choosing a format launches an Arbortext Editor window with a subset of menus, with the specified source code displayed in the window as a read-only file.
You can view edited source in the following formats:
PTC ALD (or FOSI or XSL-FO)
The print/PDF output type presented depends on the Print Engine setting for the stylesheet..
XSL-EPUB
XSL-HTML File
XSL-HTML Help
XSL-Web
XSL-FO RTF
View Source Menus
This section describes the menus in the View Source window.
File menu:
Page Setup - Specifies print output settings for the source file.
Print - Prints an Editor View of the source document.
Close - Closes the window.
Edit menu:
Copy - Copies the selected region to the clipboard.
Select Element - Selects the element containing the cursor. This option is disabled in the Plain Text view (see View menu).
Select All - Selects the entire source file.
Find menu:
Find - Finds specific text in the source file.
Find Next - Finds the next occurrence of the text specified in the Find/Replace dialog box.
Find Tag/Attribute - Finds any combination of tag name, attribute name, and attribute value. This option is disabled when editing as plain text, that is, when the View > Plain Text menu option is checked.
View menu:
Collapse Element Content - Allows you to collapse the content of a selected element
Refresh - Updates the window with any changes you have made in Arbortext Styler since opening the source window.
Plain Text - Displays the stylesheet source using color coded, ASCII text.
Structured - Displays the stylesheet source as a structured document. This view includes a document map and tags.
Edit View - Displays the stylesheet source as a tagged document when Structured view is selected
Document Map - Displays the stylesheet source as a document map when Structured view is selected
Synchronize views - Manually synchronizes the Document Map and the Edit pane when Left-Right Split or Top-Bottom Split is selected on the Window menu.
Expand Attributes - Displays all attributes associated with each element in the Document Map.
Font Size - Sets font size for Plain Text or Structured views:
Increase - Increases the size of the font in the pane with the focus. Font size in percent is shown in the status bar. The limit is 500 percent of the default size.
Decrease - Decreases the size of the font in the pane with the focus. Font size in percent is shown in the status bar. The limit is 40 percent of the default size.