<!-- If you want to edit or validate this document separately, uncomment
this prolog
<?xml version="1.0" ?>
<!DOCTYPE chapter PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd">
-->
<sect1 id="kugartemplate">
<sect1info>
<authorgroup>
<author
><firstname
>Alexander</firstname
> <surname
>Dymo</surname
> <affiliation
> <address
><email
>cloudtemple@mksat.net</email
></address>
</affiliation>
</author>
<author
><firstname
>Phil</firstname
> <surname
>Thompson</surname
> <affiliation
> <address
><email
>phil@river-bank.demon.co.uk</email
></address>
</affiliation>
</author>
&erik.kjaer.pedersen.role; 
</authorgroup>
</sect1info>
<title
>Elementet <sgmltag class="element"
>KugarTemplate</sgmltag
></title>

<para
>Elementet <sgmltag class="element"
>KugarTemplate</sgmltag
> definerer rapportegenskaber som hører sammen med sidestørrelse, orientering og marginer. </para>

<synopsis
>&lt;!ELEMENT KugarTemplate (<link linkend="report-header-and-footer"
>ReportHeader</link
>, <link linkend="page-header-and-footer"
>PageHeader</link
>, <link linkend="detail-header-and-footer"
>DetailHeader</link
>*, <link linkend="detail"
>Detail</link
>*, <link linkend="detail-header-and-footer"
>DetailFooter</link
>*, <link linkend="page-header-and-footer"
>PageFooter</link
>, <link linkend="report-header-and-footer"
>ReportFooter</link
>)&gt;
&lt;!ATTLIST KugarTemplate
PageSize        CDATA #REQUIRED
PageOrientation CDATA #REQUIRED
TopMargin       CDATA #REQUIRED
BottomMargin    CDATA #REQUIRED
LeftMargin      CDATA #REQUIRED
RightMargin     CDATA #REQUIRED&gt;
</synopsis>

<variablelist>

<varlistentry>
<term
>Elementer</term>

<listitem>

<para
>Elementet <sgmltag class="element"
>KugarTemplate</sgmltag
> indeholder følgende elementer: </para>

<variablelist>
<varlistentry>
<term
><link linkend="report-header-and-footer"
><sgmltag class="element"
>ReportHeader</sgmltag
></link
></term>
<listitem>
<para
>Elementet <sgmltag class="element"
>ReportHeader</sgmltag
> definerer rapportafsnit som oftest udskrives i begyndelsen af rapporten. </para>
</listitem>
</varlistentry>

<varlistentry>
<term
><link linkend="page-header-and-footer"
><sgmltag class="element"
>PageHeader</sgmltag
></link
></term>
<listitem>
<para
>Elementet <sgmltag class="element"
>PageHeader</sgmltag
> definerer rapportafsnit som oftest udskrives øverst på hver side i rapporten. </para>
</listitem>
</varlistentry>

<varlistentry>
<term
><link linkend="detail-header-and-footer"
><sgmltag class="element"
>DetailHeader</sgmltag
></link
></term>
<listitem>
<para
>Elementet <sgmltag class="element"
>DetailHeader</sgmltag
> definerer rapportafsnit som oftest udskrives inden detaljer for et givet niveau for rapporten. </para>
</listitem>
</varlistentry>

<varlistentry>
<term
><link linkend="detail"
><sgmltag class="element"
>Detalje</sgmltag
></link
></term>
<listitem>
<para
>Elementet <sgmltag class="element"
>Detail</sgmltag
> definerer rapportafsnittet som indeholder rapportens data. Rapporten kan have et ubegrænset antal detaljer. </para>
</listitem>
</varlistentry>

<varlistentry>
<term
><link linkend="detail-header-and-footer"
><sgmltag class="element"
>DetailFooter</sgmltag
></link
></term>
<listitem>
<para
>Elementet <sgmltag class="element"
>DetailFooter</sgmltag
> definerer rapportafsnit som ofte udskrives efter detaljer af et given niveau og under i rapporten. </para>
</listitem>
</varlistentry>

<varlistentry>
<term
><link linkend="page-header-and-footer"
><sgmltag class="element"
>PageFooter</sgmltag
></link
></term>
<listitem>
<para
>Elementet <sgmltag class="element"
>PageFooter</sgmltag
> definerer rapportafsnit som ofte udskrives ud i slutningen på hver side i rapporten. </para>
</listitem>
</varlistentry>

<varlistentry>
<term
><link linkend="report-header-and-footer"
><sgmltag class="element"
>ReportFooter</sgmltag
></link
></term>
<listitem>
<para
>Elementet <sgmltag class="element"
>ReportFooter</sgmltag
> definerer rapportafsnit som ofte udskrives i slutningen af rapporten. </para>
</listitem>
</varlistentry>

</variablelist>

</listitem>

</varlistentry>

<varlistentry>
<term
>Attributter</term>
<listitem>

<variablelist>
<varlistentry>
<term
><anchor id="kut-pagesize"/><sgmltag class="attribute"
>SideStørrelse</sgmltag
></term>
<listitem>
<para
>Angiver størrelsen på rapportsiden. Følgende værdier er tilgængelige: </para>

<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry
>Værdi</entry>
<entry
>Sidestørrelse</entry>
</row>
</thead>

<tbody>
<row>
<entry
>0</entry>
<entry
>A4</entry>
</row>
<row>
<entry
>1</entry>
<entry
>B5</entry>
</row>
<row>
<entry
>2</entry>
<entry
>Letter</entry>
</row>
<row>
<entry
>3</entry>
<entry
>Legal</entry>
</row>
<row>
<entry
>4</entry>
<entry
>Executive</entry>
</row>
<row>
<entry
>5</entry>
<entry
>A0</entry>
</row>
<row>
<entry
>6</entry>
<entry
>A1</entry>
</row>
<row>
<entry
>7</entry>
<entry
>A2</entry>
</row>
<row>
<entry
>8</entry>
<entry
>A3</entry>
</row>
<row>
<entry
>9</entry>
<entry
>A5</entry>
</row>
<row>
<entry
>10</entry>
<entry
>A6</entry>
</row>
<row>
<entry
>11</entry>
<entry
>A7</entry>
</row>
<row>
<entry
>12</entry>
<entry
>A8</entry>
</row>
<row>
<entry
>13</entry>
<entry
>A9</entry>
</row>
<row>
<entry
>14</entry>
<entry
>B0</entry>
</row>
<row>
<entry
>15</entry>
<entry
>B1</entry>
</row>
<row>
<entry
>16</entry>
<entry
>B10</entry>
</row>
<row>
<entry
>17</entry>
<entry
>B2</entry>
</row>
<row>
<entry
>18</entry>
<entry
>B3</entry>
</row>
<row>
<entry
>19</entry>
<entry
>B4</entry>
</row>
<row>
<entry
>20</entry>
<entry
>B6</entry>
</row>
<row>
<entry
>21</entry>
<entry
>B7</entry>
</row>
<row>
<entry
>22</entry>
<entry
>B8</entry>
</row>
<row>
<entry
>23</entry>
<entry
>B9</entry>
</row>
<row>
<entry
>24</entry>
<entry
>C5E</entry>
</row>
<row>
<entry
>25</entry>
<entry
>Comm10E</entry>
</row>
<row>
<entry
>26</entry>
<entry
>DLE</entry>
</row>
<row>
<entry
>27</entry>
<entry
>Folio</entry>
</row>
<row>
<entry
>28</entry>
<entry
>Ledger</entry>
</row>
<row>
<entry
>29</entry>
<entry
>Tabloid</entry>
</row>
<row>
<entry
>30</entry>
<entry
>NPageSize</entry>
</row>

</tbody>
</tgroup>
</informaltable>

</listitem>
</varlistentry>

<varlistentry>
<term
><anchor id="kut-pageorient"/><sgmltag class="attribute"
>PageOrientation</sgmltag
></term>
<listitem>
<para
>Angiver rapportsidens orientering. </para>

<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry
>Værdi</entry>
<entry
>Orientering</entry>
</row>
</thead>
<tbody>
<row>
<entry
>0</entry>
<entry
>Portræt</entry>
</row>
<row>
<entry
>1</entry>
<entry
>Landskab</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</listitem>
</varlistentry>

<varlistentry>
<term
><anchor id="kut-topmargin"/><sgmltag class="attribute"
>TopMargin</sgmltag
></term>
<listitem>
<para
>Angiver øvre margin for rapportsiden </para>
</listitem>
</varlistentry>

<varlistentry>
<term
><anchor id="kut-botmargin"/><sgmltag class="attribute"
>BottomMargin</sgmltag
></term>
<listitem>
<para
>Angiver nedre margin for rapportsiden. </para>
</listitem>
</varlistentry>

<varlistentry>
<term
><anchor id="kut-leftmargin"/><sgmltag class="attribute"
>LeftMargin</sgmltag
></term>
<listitem>
<para
>Angiver venstre marginen for rapportsiden. </para>
</listitem>
</varlistentry
><varlistentry>
<term
><anchor id="kut-rightmargin"/><sgmltag class="attribute"
>RightMargin</sgmltag
></term>
<listitem>
<para
>Angiver højre margin for rapportsiden. </para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
</variablelist>
</sect1>
