Stylesheet Development with PTC ALD > Adding PTC ALD Code to Stylesheet Source > Samples > Blocks > Rotate a Block
Rotate a Block
Samples directory: Arbortext-path/samples/ALD/Blocks/Rotation
Sample file: blockRotation.xml
Main stylesheet:
Stylesheet modules: and
The sample is based on the standard axdocbook document type. It demonstrates how to rotate a block, in this case paragraphs in a chapter. The sample shows how to rotate blocks, blocks with rules, and nested blocks.
The paragraphs in each chapter reference a different property set, each of which includes PTC ALD source code edits to rotate a block in a particular way. 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.