KugarTemplate

Chapter 4. KugarTemplate

The KugarTemplate element defines report attributes relating to page size, orientation, and margins.

<!ELEMENT KugarTemplate (ReportHeader, PageHeader, Detail, PageFooter, ReportFooter)>
<!ATTLIST KugarTemplate
PageSize        CDATA #REQUIRED
PageOrientation CDATA #REQUIRED
TopMargin       CDATA #REQUIRED
BottomMargin    CDATA #REQUIRED
LeftMargin      CDATA #REQUIRED
RightMargin     CDATA #REQUIRED>
Elements

The KugarTemplate element contains the following required elements:

ReportHeader

The ReportHeader element defines report sections that are usually printed at the beginning of the report.

PageHeader

The PageHeader element defines report sections that are usually printed at the top of every page of the report.

Detail

The Detail element defines the report section that contains the report data.

PageFooter

The PageFooter element defines report sections that are usually printed at the end of the every page in the report.

ReportFooter

The ReportFooter element defines report sections that are usually printed at the end of the report.

Attributes
PageSize

Sets the size of the report page. The following values are available:

ValuePage Size
0A4
1B5
2Letter
3Legal
4Executive
5A0
6A1
7A2
8A3
9A5
10A6
11A7
12A8
13A9
14B0
15B1
16B2
17B3
18B4
19B6
20B7
21B8
22B9
23Comm10E
24DLE
25Folio
26Ledger
27Tabloid
PageOrientation

Sets the report page orientation.

ValueOrientation
0Portrait
1Landscape
TopMargin

Sets the top margin of the report page

BottomMargin

Sets the bottom margin of the report page

LeftMargin

Sets the left margin of the report page

RightMargin

Sets the right margin of the report page

KDE Logo