Alexander Dymo

    cloudtemple@mksat.net

Phil Thompson

    phil@river-bank.demon.co.uk

# KugarTemplate element

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:

    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

  PageOrientation

    Sets the report page orientation.

    Value | Orientation
    --- | ---
    0 | Portrait
    1 | Landscape

  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.