About Arbortext Styler > Advanced Formatting Techniques > Formatting Landscape Tables and Figures
  
Formatting Landscape Tables and Figures
You can format elements such as tables and figures so they are displayed in landscape orientation, even if the rest of the document uses the portrait format. You can configure this formatting to apply to all occurrences of a context of an element or you can make it conditional, so that the formatting is only applied when a certain condition is true.
Example: Formatting a Landscape Table Using Contexts
1. In Arbortext Styler, click the Styler > Open Stylesheet menu option to open your stylesheet for edit.
2. In the Elements list, select the table context that should be displayed in landscape format and click on the Breaks category.
3. Choose Page from the Start new drop down menu, then choose Yes from the Landscape page body for duration of element: menu.
4. Select the Preview > Print (XSL-FO) menu option.
5. In the Print Preview window, note any tables in the relevant document context now display in landscape mode.
* 
If headers and footers are configured for the table, they will display in portrait orientation.
Example: Formatting a Landscape Table Using Conditions
1. In Arbortext Editor, locate the relevant table element and elect to modify its attributes via the Edit > Modify Attributes menu option.
2. Type landscape in the role field, then click OK. Note that the table element now has a role=“landscape” attribute.
3. In Arbortext Styler, select the table everywhere context in the Elements list, then choose the Insert > Condition menu option.
4. In the Condition dialog box, click New Attribute Test to open the Attribute Test dialog box. Ensure that table is shown in the Current Element field.
5. Select role from the Attribute Name drop down menu, then select the Comparison option in the Attribute Value: field.
6. Choose = as the Comparison operator, and type landscape in the Comparison text box.
7. Click OK, and click OK to save the change and exit the Condition dialog box.
Note that the table everywhere context now has the condition: If attribute “role” = “landscape”.
8. Select the condition you just created in the Elements list, and click on the Breaks category.
9. Choose Page in the Start new: field, then choose Yes from the Landscape page body for duration of element drop down menu.
10. Choose Preview > Print (XSL-FO).
11. In the Print Preview window, note that the selected table starts a new page, and displays in landscape mode.
* 
If headers and footers are configured for the table, they will display in portrait orientation.