KugarTemplate element
Prev
Next

KugarTemplate element

Alexander Dymo

Phil Thompson

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>
Elements

The KugarTemplate element contains the following 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.

DetailHeader

The DetailHeader element defines report sections that are printed before details of a given level on the report.

Detail

The Detail element defines the report section that contains the report data. The report can have an unlimited number of details.

DetailFooter

The DetailFooter element defines report sections that are printed after details of a given level and below on the report.

PageFooter

The PageFooter element defines report sections that are usually printed at the end of 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
16B10
17B2
18B3
19B4
20B6
21B7
22B8
23B9
24C5E
25Comm10E
26DLE
27Folio
28Ledger
29Tabloid
30NPageSize
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.

Prev
Next
Home


Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team