<!-- If you want to validate or edit this document separately, uncomment
this prolog

<?xml version="1.0" ?>
<!DOCTYPE appendix PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd">

-->

<sect1 id="template-dtd">
<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>
<othercredit role="translator"
> <firstname
>Stefan</firstname
> <surname
>Asserhäll</surname
> <affiliation
><address
><email
>stefan.asserhall@comhem.se</email
></address
></affiliation
> <contrib
>Översättare</contrib
></othercredit
> 
</authorgroup>
</sect1info>
<title
>KugarTemplate dokumenttypdefinition</title>

<synopsis
>&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;!DOCTYPE KugarTemplate [
     &lt;!ELEMENT <link linkend="kugartemplate"
>Kugar mall</link
> (<link linkend="report-header-and-footer"
>Rapporthuvud</link
>, <link linkend="page-header-and-footer"
>Sidhuvud</link
>, <link linkend="detail-header-and-footer"
>Detaljsidhuvud</link
>*, <link linkend="detail"
>Detalj</link
>*, <link linkend="detail-header-and-footer"
>Detaljsidfot</link
>*, <link linkend="page-header-and-footer"
>Sidfot</link
>, <link linkend="report-header-and-footer"
>Rapportfot</link
>)&gt;
      &lt;!ATTLIST KugarTemplate
         <link linkend="kut-pagesize"
>Sidstorlek</link
>         CDATA #REQUIRED
         <link linkend="kut-pageorient"
>Sidorientering</link
>  CDATA #REQUIRED
         <link linkend="kut-topmargin"
>Övre marginal</link
>        CDATA #REQUIRED
         <link linkend="kut-botmargin"
>Nedre marginal</link
>     CDATA #REQUIRED
         <link linkend="kut-leftmargin"
>Vänstermarginal</link
>       CDATA #REQUIRED
         <link linkend="kut-rightmargin"
>Högermarginal</link
>      CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="report-header-and-footer"
>Rapporthuvud</link
> (<link linkend="line-element"
>Rad</link
>*, <link linkend="label-element"
>Ettikett</link
>*, <link linkend="special-element"
>Special</link
>*)&gt;
     &lt;!ATTLIST ReportHeader
         <link linkend="rhf-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="rhf-printfrequency"
>Utskriftsfrekvens</link
>   CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="page-header-and-footer"
>Sidhuvud</link
> (<link linkend="line-element"
>Rad</link
>*, <link linkend="label-element"
>Ettikett</link
>*, <link linkend="special-element"
>Special</link
>*)&gt;
     &lt;!ATTLIST PageHeader
         <link linkend="phf-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="phf-printfrequency"
>Utskriftsfrekvens</link
>   CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="detail-header-and-footer"
>Detaljsidhuvud</link
> (<link linkend="line-element"
>Rad</link
>*, <link linkend="label-element"
>Ettikett</link
>*, <link linkend="special-element"
>Special</link
>*)&gt;
     &lt;!ATTLIST DetailHeader
         <link linkend="dhf-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="dhf-level"
>Nivå</link
>            CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="detail"
>Detalj</link
> (<link linkend="line-element"
>Rad</link
>*, <link linkend="label-element"
>Ettikett</link
>*, <link linkend="special-element"
>Special</link
>*, <link linkend="field-element"
>Field</link
>*)&gt;
     &lt;!ATTLIST Detail
         <link linkend="d-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="d-level"
>Nivå</link
>            CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="detail-header-and-footer"
>Detaljsidfot</link
> (<link linkend="line-element"
>Rad</link
>*, <link linkend="label-element"
>Ettikett</link
>*, <link linkend="special-element"
>Special</link
>*)&gt;
     &lt;!ATTLIST DetailFooter
         <link linkend="dhf-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="dhf-level"
>Nivå</link
>            CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="page-header-and-footer"
>Sidfot</link
> (<link linkend="line-element"
>Rad</link
>*, <link linkend="label-element"
>Ettikett</link
>*, <link linkend="special-element"
>Special</link
>*)&gt;
     &lt;!ATTLIST PageFooter
         <link linkend="phf-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="phf-printfrequency"
>Utskriftsfrekvens</link
>   CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="report-header-and-footer"
>Rapportfot</link
> (<link linkend="line-element"
>Rad</link
>*, <link linkend="label-element"
>Ettikett</link
>*, <link linkend="special-element"
>Special</link
>*, <link linkend="calculated-field-element"
>Beräknat fält</link
>*)&gt;
     &lt;!ATTLIST ReportFooter
         <link linkend="rhf-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="rhf-printfrequency"
>Utskriftsfrekvens</link
>   CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="line-element"
>Rad</link
> EMPTY&gt;
     &lt;!ATTLIST Line
         <link linkend="l-x1"
>X1</link
>               CDATA #REQUIRED
         <link linkend="l-y1"
>Y1</link
>               CDATA #REQUIRED
         <link linkend="l-x2"
>X2</link
>               CDATA #REQUIRED
         <link linkend="l-y2"
>Y2</link
>               CDATA #REQUIRED
         <link linkend="l-width"
>Bredd</link
>            CDATA #REQUIRED
         <link linkend="l-color"
>Färg</link
>            CDATA #REQUIRED
         <link linkend="l-style"
>Stil</link
>            CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="label-element"
>Ettikett</link
> EMPTY&gt;
     &lt;!ATTLIST Label
         <link linkend="la-text"
>Text</link
>             CDATA #REQUIRED
         <link linkend="la-x"
>X</link
>                CDATA #REQUIRED
         <link linkend="la-y"
>Y</link
>                CDATA #REQUIRED
         <link linkend="la-width"
>Bredd</link
>            CDATA #REQUIRED
         <link linkend="la-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="la-backgroundcolor"
>Bakgrundsfärg</link
>  CDATA #REQUIRED
         <link linkend="la-foregroundcolor"
>Förgrundsfärg</link
>  CDATA #REQUIRED
         <link linkend="la-bordercolor"
>Kantfärg</link
>      CDATA #REQUIRED
         <link linkend="la-borderwidth"
>Kantbredd</link
>      CDATA #REQUIRED
         <link linkend="la-borderstyle"
>Kantstil</link
>      CDATA #REQUIRED
         <link linkend="la-fontfamily"
>Teckensnittsfamilj</link
>       CDATA #REQUIRED
         <link linkend="la-fontsize"
>Teckenstorlek</link
>         CDATA #REQUIRED
         <link linkend="la-fontweight"
>Teckenvikt</link
>       CDATA #REQUIRED
         <link linkend="la-fontitalic"
>Teckenkursivt</link
>       CDATA #REQUIRED
         <link linkend="la-halignment"
>H justering</link
>       CDATA #REQUIRED
         <link linkend="la-valignment"
>V justering</link
>       CDATA #REQUIRED
         <link linkend="la-wordwrap"
>Radbrytning</link
>         CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="field-element"
>Fält</link
> EMPTY&gt;
     &lt;!ATTLIST Field
         <link linkend="f-field"
>Fält</link
>            CDATA #REQUIRED
         <link linkend="f-text"
>Text</link
>             CDATA #REQUIRED
         <link linkend="f-x"
>X</link
>                CDATA #REQUIRED
         <link linkend="f-y"
>Y</link
>                CDATA #REQUIRED
         <link linkend="f-width"
>Bredd</link
>            CDATA #REQUIRED
         <link linkend="f-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="f-backgroundcolor"
>Bakgrundsfärg</link
>  CDATA #REQUIRED
         <link linkend="f-foregroundcolor"
>Förgrundsfärg</link
>  CDATA #REQUIRED
         <link linkend="f-bordercolor"
>Kantfärg</link
>      CDATA #REQUIRED
         <link linkend="f-borderwidth"
>Kantbredd</link
>      CDATA #REQUIRED
         <link linkend="f-borderstyle"
>Kantstil</link
>      CDATA #REQUIRED
         <link linkend="f-fontfamily"
>Teckensnittsfamilj</link
>       CDATA #REQUIRED
         <link linkend="f-fontsize"
>Teckenstorlek</link
>         CDATA #REQUIRED
         <link linkend="f-fontweight"
>Teckensnittsvikt</link
>       CDATA #REQUIRED
         <link linkend="f-fontitalic"
>Teckensnitt kursivt</link
>       CDATA #REQUIRED
         <link linkend="f-halignment"
>H justering</link
>       CDATA #REQUIRED
         <link linkend="f-valignment"
>V justering</link
>       CDATA #REQUIRED
         <link linkend="f-wordwrap"
>Radbrytning</link
>         CDATA #REQUIRED
         <link linkend="f-datatype"
>Datatyp</link
>         CDATA #REQUIRED
         <link linkend="f-dateformat"
>Datumformat</link
>       CDATA #REQUIRED
         <link linkend="f-precision"
>Precision</link
>        CDATA #REQUIRED
         <link linkend="f-currency"
>Valuta</link
>         CDATA #REQUIRED
         <link linkend="f-negvaluecolor"
>Negativt värde färg</link
>    CDATA #REQUIRED
         <link linkend="f-commaseparator"
>Kommaavskiljare</link
>   CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="calculated-field-element"
>CalculatedField</link
> EMPTY&gt;
     &lt;!ATTLIST CalculatedField
         <link linkend="c-calculationtype"
>CalculationType</link
>  CDATA #REQUIRED
         <link linkend="c-field"
>Fält</link
>            CDATA #REQUIRED
         <link linkend="c-text"
>Text</link
>             CDATA #REQUIRED
         <link linkend="c-x"
>X</link
>                CDATA #REQUIRED
         <link linkend="c-y"
>Y</link
>                CDATA #REQUIRED
         <link linkend="c-width"
>Bredd</link
>            CDATA #REQUIRED
         <link linkend="c-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="c-backgroundcolor"
>Bakgrundsfärg</link
>  CDATA #REQUIRED
         <link linkend="c-foregroundcolor"
>Förgrundsfärg</link
>  CDATA #REQUIRED
         <link linkend="c-bordercolor"
>Kantfärg</link
>      CDATA #REQUIRED
         <link linkend="c-borderwidth"
>Kantbredd</link
>      CDATA #REQUIRED
         <link linkend="c-borderstyle"
>Kantstil</link
>      CDATA #REQUIRED
         <link linkend="c-fontfamily"
>Teckensnittsfamilj</link
>       CDATA #REQUIRED
         <link linkend="c-fontsize"
>Teckenstorlek</link
>         CDATA #REQUIRED
         <link linkend="c-fontweight"
>Teckensnittsvikt</link
>       CDATA #REQUIRED
         <link linkend="c-fontitalic"
>Teckensnitt kursivt</link
>       CDATA #REQUIRED
         <link linkend="c-halignment"
>H justering</link
>       CDATA #REQUIRED
         <link linkend="c-valignment"
>V justering</link
>       CDATA #REQUIRED
         <link linkend="c-wordwrap"
>Radbrytning</link
>         CDATA #REQUIRED
         <link linkend="c-datatype"
>Datatyp</link
>         CDATA #REQUIRED
         <link linkend="c-dateformat"
>Datumformat</link
>       CDATA #REQUIRED
         <link linkend="c-precision"
>Precision</link
>        CDATA #REQUIRED
         <link linkend="c-currency"
>Valuta</link
>         CDATA #REQUIRED
         <link linkend="c-negvaluecolor"
>Negativt värde färg</link
>    CDATA #REQUIRED
         <link linkend="c-commaseparator"
>Kommaavskiljare</link
>   CDATA #REQUIRED&gt;

    &lt;!ELEMENT <link linkend="special-element"
>Special</link
> EMPTY&gt;
     &lt;!ATTLIST Special
         <link linkend="s-type"
>Typ</link
>             CDATA #REQUIRED
         <link linkend="s-text"
>Text</link
>             CDATA #REQUIRED
         <link linkend="s-x"
>X</link
>                CDATA #REQUIRED
         <link linkend="s-y"
>Y</link
>                CDATA #REQUIRED
         <link linkend="s-width"
>Bredd</link
>            CDATA #REQUIRED
         <link linkend="s-height"
>Höjd</link
>           CDATA #REQUIRED
         <link linkend="s-backgroundcolor"
>Bakgrundsfärg</link
>  CDATA #REQUIRED
         <link linkend="s-foregroundcolor"
>Förgrundsfärg</link
>  CDATA #REQUIRED
         <link linkend="s-bordercolor"
>Kantfärg</link
>      CDATA #REQUIRED
         <link linkend="s-borderwidth"
>Kantbredd</link
>      CDATA #REQUIRED
         <link linkend="s-borderstyle"
>Kantstil</link
>      CDATA #REQUIRED
         <link linkend="s-fontfamily"
>Teckensnittsfamilj</link
>       CDATA #REQUIRED
         <link linkend="s-fontsize"
>Teckenstorlek</link
>         CDATA #REQUIRED
         <link linkend="s-fontweight"
>Teckensnittsvikt</link
>       CDATA #REQUIRED
         <link linkend="s-fontitalic"
>Teckensnitt kursivt</link
>       CDATA #REQUIRED
         <link linkend="s-halignment"
>H justering</link
>       CDATA #REQUIRED
         <link linkend="s-valignment"
>V justering</link
>       CDATA #REQUIRED
         <link linkend="s-wordwrap"
>Radbrytning</link
>         CDATA #REQUIRED
         <link linkend="s-dateformat"
>Datumformat</link
>       CDATA #REQUIRED&gt;
 ]&gt;
</synopsis>
</sect1>
