The KugarTemplate element defines report attributes relating to page size, orientation, and margins.
<!ELEMENT KugarTemplate (ReportHeader, PageHeader, DetailHeader*, Detail*, DetailFooter*, PageFooter, ReportFooter)> <!ATTLIST KugarTemplate PageSize CDATA #REQUIRED PageOrientation CDATA #REQUIRED TopMargin CDATA #REQUIRED BottomMargin CDATA #REQUIRED LeftMargin CDATA #REQUIRED RightMargin CDATA #REQUIRED>
The KugarTemplate element contains the following elements:
The ReportHeader element defines report sections that are usually printed at the beginning of the report.
The PageHeader element defines report sections that are usually printed at the top of every page of the report.
The DetailHeader element defines report sections that are printed before details of given level on the report.
The Detail element defines the report section that contains the report data. The report can have unlimited number of details.
The DetailFooter element defines report sections that are printed after details of given level and below on the report.
The PageFooter element defines report sections that are usually printed at the end of the every page in the report.
The ReportFooter element defines report sections that are usually printed at the end of the report.
Sets the size of the report page. The following values are available:
Value | Page Size |
---|---|
0 | A4 |
1 | B5 |
2 | Letter |
3 | Legal |
4 | Executive |
5 | A0 |
6 | A1 |
7 | A2 |
8 | A3 |
9 | A5 |
10 | A6 |
11 | A7 |
12 | A8 |
13 | A9 |
14 | B0 |
15 | B1 |
16 | B10 |
17 | B2 |
18 | B3 |
19 | B4 |
20 | B6 |
21 | B7 |
22 | B8 |
23 | B9 |
24 | C5E |
25 | Comm10E |
26 | DLE |
27 | Folio |
28 | Ledger |
29 | Tabloid |
30 | NPageSize |
Sets the report page orientation.
Value | Orientation |
---|---|
0 | Portrait |
1 | Landscape |
Sets the top margin of the report page.
Sets the bottom margin of the report page.
Sets the left margin of the report page.
Sets the right margin of the report page.