User`s guide

Customized Stylesheets
8-37
The customheader.rgs stylesheet appears as an available stylesheet in the
Options pane in the middle of the Report Explorer. It also appears as an option
in the File Converter.
4
Use the new stylesheet to convert the current XML source file.
a
In the Stylesheet Editor: Main Properties pane on the right, click Send to
File Converter
The File Converter appears, with the customheader.rgs stylesheet selected.
b
Click Convert file.
5
Change page orientation and paper type.
a
On the File Converter Properties pane, click Edit.
b
In the Options pane on the left, double-click the Page Orientation data item.
c
In the Properties pane on the right, use the selection list to change the value of
the data item to Landscape.
d
In the Options pane in the middle, double-click Paper Type in the Pagination
and General Styles folder.
e
In the Properties pane on the right, select A4 from the selection list.
f
Save the stylesheet.
6
Generate the report wsvar-report.xml in PDF format using customheader.rgs..
The PDF report appears with horizontally oriented pages of slightly different
dimensions.
Edit Font Size as a Derived Value in XML
This example shows how to change the font size in a report to a value derived from other
values. You do this by editing the PDF report's XML source directly.
1
Open the default print stylesheet for PDF documents.
2
In the Options pane in the middle, select and expand the Property Sets folder.
3
In the Options pane, double-click the Section Title Level1 Properties data item.
The Properties pane on the right appears as follows.