<!-- 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">
<title
>Elementet <sgmltag class="element"
>KugarTemplate</sgmltag
></title>

<para
> Elementet <sgmltag class="element"
>KugarTemplate</sgmltag
> definierar rapportegenskaper som hör ihop med sidstorlek, orientering och marginaler. </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
>Element</term
> <listitem
> <para
> Elementet <sgmltag class="element"
>KugarTemplate</sgmltag
> innehåller följande element: </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
> definierar rapportavsnitt som oftast skrivs ut i början av 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
> definierar rapportavsnitt som oftast skrivs ut överst på varje sida 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
> definierar rapportavsnitt som oftast skrivs ut innan detaljer av en given nivå för rapporten. </para
> </listitem
> </varlistentry
> <varlistentry
> <term
><link linkend="detail"
><sgmltag class="element"
>Detail</sgmltag
></link
></term
> <listitem
> <para
> Elementet <sgmltag class="element"
>Detail</sgmltag
> definierar rapportavsnittet som innehåller rapportens data. Rapporten kan ha obegränsat 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
> definierar rapportavsnitt som ofta skrivs ut i efter detaljer av en given nivå och lägre 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
> definierar rapportavsnitt som ofta skrivs ut i slutet på varje sida 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
> definierar rapportavsnitt som ofta skrivs ut i slutet på rapporten. </para
> </listitem
> </varlistentry
> </variablelist
> </listitem
> </varlistentry
> <varlistentry
> <term
>Egenskaper</term
> <listitem
> <variablelist
> <varlistentry
> <term
><anchor id="kut-pagesize"/><sgmltag class="attribute"
>PageSize</sgmltag
></term
> <listitem
> <para
> Anger storleken på rapportsidan. Följande värden är tillgängliga: </para
> <informaltable
> <tgroup cols="2"
> <thead
> <row
> <entry
>Värde</entry
> <entry
>Sidstorlek</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
> Anger rapportsidans orientering. </para
> <informaltable
> <tgroup cols="2"
> <thead
> <row
> <entry
>Värde</entry
> <entry
>Orientering</entry
> </row
> </thead
> <tbody
> <row
> <entry
>0</entry
> <entry
>Stående</entry
> </row
> <row
> <entry
>1</entry
> <entry
>Liggande</entry
> </row
> </tbody
> </tgroup
> </informaltable
> </listitem
> </varlistentry
> <varlistentry
> <term
><anchor id="kut-topmargin"/><sgmltag class="attribute"
>TopMargin</sgmltag
></term
> <listitem
> <para
> Anger övre marginalen för rapportsidan </para
> </listitem
> </varlistentry
> <varlistentry
> <term
><anchor id="kut-botmargin"/><sgmltag class="attribute"
>BottomMargin</sgmltag
></term
> <listitem
> <para
> Anger nedre marginalen för rapportsidan. </para
> </listitem
> </varlistentry
> <varlistentry
> <term
><anchor id="kut-leftmargin"/><sgmltag class="attribute"
>LeftMargin</sgmltag
></term
> <listitem
> <para
> Anger vänstra marginalen för rapportsidan. </para
> </listitem
> </varlistentry
><varlistentry
> <term
><anchor id="kut-rightmargin"/><sgmltag class="attribute"
>RightMargin</sgmltag
></term
> <listitem
> <para
> Anger högra marginalen för rapportsidan. </para
> </listitem
> </varlistentry
> </variablelist
> </listitem
> </varlistentry
> </variablelist>
</sect1>

