Stylesheet Development with PTC ALD > Adding PTC APP 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: blockRotation.style
Stylesheet modules: baseStylesheet.style and blockRotationPropertySets.style
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 APP 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.