PTC ALD in Arbortext Styler > Integration of PTC Arbortext Layout Developer in Arbortext Styler > ALD Source Code Edits > PTC ALD Source Code Edit Locations
PTC ALD Source Code Edit Locations
At the start of a publishing process or print preview, PTC ALD interrogates the Arbortext Styler stylesheet and creates an PTC ALD template based on set of defaults. A number of namespace libraries are attached to the template.PTC ALD then creates the tags it needs to format the XML instance, including a large volume of JavaScript functions which are used to apply style and to build page layouts. These JavaScript functions are exposed to Arbortext Styler users through the source edit interface.
When a source edit is requested for a particular object, PTC ALD generates its usual code for the object and returns it to Arbortext Styler for edit.
The locations which Arbortext Styler exposes for source edits are:
PTC ALD root template
The tags in the root PTC ALD template source of a stylesheet support stylesheet definitions such as tables. Configure these tags if you want to define default settings for the definitions in a particular stylesheet, and save them with the stylesheet.
For more information, see Editing PTC ALD Root Template Source.
Element contexts
An PTC Arbortext Layout Developer tag is generated for the onEnter and onExit events associated with matching an XML context declared in Arbortext Styler.
For more information, see Context Source Edits.
Property sets
As with element contexts, onEnter and onExit code is generated for property sets.
For more information, see Property Set Source Edits.
Page sets
When an element calls a page set, PTC ALD JavaScript code is run to create all the page layout objects needed. The highest level function of this code is exposed as the page set source.
For more information, see Page Set Source Edits.
Page types
When a page set function is run, it calls code to create the different page types required. This code is exposed as page type source.
For more information, see Page Type Source Edits.
Page regions
Page type source creates any page regions it needs by calling page region functions, which are exposed as page region source.
For more information, see Page Region Source Edits.