Stylesheet Development with PTC ALD > Adding PTC ALD Code to Stylesheet Source > Samples > Blocks > Apply Boxing to a Block
Apply Boxing to a Block
Samples directory: Arbortext-path/samples/ALD/Blocks/Boxing
Sample file: blockBoxing.xml
Main stylesheet:
Stylesheet modules: and
The sample is based on the standard axdocbook document type. It demonstrates how to apply graphical rules to the sides of a block, in this case the paragraphs in sections. The sample shows how to apply the rules, and the types of rule that can be configured.
The paragraphs in each section reference a different property set, each of which includes PTC ALD source code edits to configure a different set of rules. Access the source code for the property set by selecting it in the Property Sets list, and using the Edit > Edit Property Set Source > APP menu option.