About Arbortext Styler > Document Preview and Publishing > PTC Advanced Print Publisher in Arbortext Styler > Extending a Stylesheet with PTC APP Code
  
Extending a Stylesheet with PTC APP Code
You can edit the source of these objects for PTC APP:
Context
Property set
Page set
Page type
Page region
To access the PTC APP source of an object in a Arbortext Styler stylesheet for edit::
1. Select the object in the relevant list view.
2. Select the Edit > Edit objectname Source > PTC APP menu option.
The source of that object opens.
The menu option is only available when your stylesheet is set to use PTC APP as the print/PDF engine.
3. Make the necessary changes to the object, using JavaScript code that references objects from PTC Advanced Print Publisher’s Formatting Object Model.
Refer to the Stylesheet Developer’s Guide to APP Code for information on making stylesheet edits for PTC APP, plus examples.
Refer to the Formatting Object Model Reference for details of the objects described by the Formatting Object Model.
See Overview of Autogenerated APP Source for further information on the source generated for objects for PTC APP.