<?xml version="1.0"?>
<document filename="test.pdf">
  <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
    <pageTemplate id="first">
      <frame id="first" x1="57.0" y1="57.0" width="481" height="728"/>
    </pageTemplate>
  </template>
  <stylesheet>
    <blockTableStyle id="Standard_Outline">
      <blockAlignment value="LEFT"/>
      <blockValign value="TOP"/>
    </blockTableStyle>
    <blockTableStyle id="Tableau3">
      <blockAlignment value="LEFT"/>
      <blockValign value="TOP"/>
      <lineStyle kind="GRID" colorName="black"/>
      <blockBackground colorName="#ffff00" start="0,0" stop="0,0"/>
    </blockTableStyle>
    <blockTableStyle id="Tableau4">
      <blockAlignment value="LEFT"/>
      <blockValign value="TOP"/>
      <lineStyle kind="GRID" colorName="black"/>
    </blockTableStyle>
    <blockTableStyle id="Tableau2">
      <blockAlignment value="LEFT"/>
      <blockValign value="TOP"/>
      <lineStyle kind="GRID" colorName="black"/>
      <blockBackground colorName="#ffcc99" start="0,0" stop="0,0"/>
      <blockBackground colorName="#ffcc99" start="0,1" stop="0,1"/>
    </blockTableStyle>
    <blockTableStyle id="Tableau1">
      <blockAlignment value="LEFT"/>
      <blockValign value="TOP"/>
      <lineStyle kind="GRID" colorName="black"/>
      <blockBackground colorName="#ffffcc" start="0,0" stop="0,0"/>
      <blockBackground colorName="#f20023" start="2,0" stop="2,0"/>
      <blockBackground colorName="#ffff00" start="3,0" stop="3,0"/>
      <blockBackground colorName="#eb613d" start="0,2" stop="0,2"/>
    </blockTableStyle>
    <initialize>
      <paraStyle name="all" alignment="justify"/>
    </initialize>
    <paraStyle name="P1" fontName="Helvetica-Bold" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="P2" fontName="Times-Roman" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="P3" fontName="Helvetica" fontSize="12.0" leading="15" alignment="RIGHT"/>
    <paraStyle name="P4" fontName="Helvetica-Bold" fontSize="16.0" leading="20" alignment="RIGHT"/>
    <paraStyle name="P5" fontName="Helvetica-Bold" fontSize="16.0" leading="20" alignment="CENTER"/>
    <paraStyle name="P6" fontName="Times-Roman" alignment="CENTER"/>
    <paraStyle name="P7" fontName="Times-Roman" alignment="CENTER" backColor="#ffffff"/>
    <paraStyle name="P8" fontName="Times-Roman" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="P9" fontName="Times-Roman" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="P10" fontName="Times-Roman" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="P11" fontName="Times-Roman" alignment="LEFT"/>
    <paraStyle name="P12" rightIndent="0.0" leftIndent="0.0" fontName="Times-Roman" alignment="LEFT"/>
    <paraStyle name="P13" rightIndent="0.0" leftIndent="0.0" fontName="Times-Roman" alignment="LEFT"/>
    <paraStyle name="P14" rightIndent="0.0" leftIndent="0.0" fontName="Times-Roman" alignment="LEFT"/>
    <paraStyle name="P15" fontName="Times-Roman" alignment="RIGHT"/>
    <paraStyle name="Standard" fontName="Times-Roman"/>
    <paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="List" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="Table Contents" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="Table Heading" fontName="Times-Roman" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
    <paraStyle name="Caption" fontName="Times-Roman" fontSize="10.0" leading="13" spaceBefore="6.0" spaceAfter="6.0"/>
    <paraStyle name="Index" fontName="Times-Roman"/>
  </stylesheet>
  <story>
    <blockTable colWidths="249.0" repeatRows="1" style="Tableau3">
      <tr>
        <td>
          <para style="P1">Test Report</para>
        </td>
      </tr>
    </blockTable>
    <blockTable colWidths="241.0,241.0" repeatRows="1" style="Tableau4">
      <tr>
        <td>
          <illustration height="61.0" width="236.0">
            <image x="0" y="0" file="1000020100000620000001977CD0213B.png" height="61.0" width="236.0"/>
          </illustration>
        </td>
        <td>
          <para style="P2">
            <font color="white"> </font>
          </para>
          <para style="P2">Tiny sprl</para>
          <para style="P2">Rue du vieux Chateau 21</para>
          <para style="P2">B-1457 Walhain</para>
        </td>
      </tr>
    </blockTable>
    <para style="P3">Walhain, le 7 octobre 2005</para>
    <para style="P4">
      <font color="white"> </font>
    </para>
    <para style="P5">Partners Contacts ([[ len(objects) ]])</para>
    <para style="P6">
      <font color="white"> </font>
    </para>
    <para style="P6">
      <font color="white"> </font>
    </para>
    <section>
      <para style="Standard">[[ objects.address.repeatIn('o') ]]</para>
      <blockTable colWidths="482.0" repeatRows="1" style="Tableau2">
        <tr>
          <td>
            <para style="P7">--- [[ o[0].partner_id.name ]] ---</para>
          </td>
        </tr>
        <tr>
          <td>
            <para style="P7">Credit: [[ o[0].partner_id.credit ]]</para>
          </td>
        </tr>
      </blockTable>
      <blockTable colWidths="257.0,61.0,68.0,96.0" repeatRows="1" style="Tableau1">
        <tr>
          <td>
            <para style="Table Heading">Contact name</para>
          </td>
          <td>
            <para style="Table Heading">ZIP</para>
          </td>
          <td>
            <para style="P2">Email</para>
          </td>
          <td>
            <para style="Table Heading">CITY</para>
          </td>
        </tr>
        <tr>
          <td>
            <para style="Table Contents">[[ o.name ]]</para>
          </td>
          <td>
            <para style="P8">[[ o.zip ]]</para>
          </td>
          <td>
            <para style="P9">[[ o.email ]]</para>
          </td>
          <td>
            <para style="P9">[[ o.city ]]</para>
          </td>
        </tr>
        <tr>
          <td>
            <para style="P10"><font face="Times-Roman"># of partner</font>: [[ len(o) ]]</para>
          </td>
          <td>
            <para style="P9">
              <font color="white"> </font>
            </para>
          </td>
          <td>
            <para style="P9">
              <font color="white"> </font>
            </para>
          </td>
          <td>
            <para style="P9">
              <font color="white"> </font>
            </para>
          </td>
        </tr>
      </blockTable>
      <para style="P6">
        <font color="white"> </font>
      </para>
    </section>
    <para style="P6">
      <font color="white"> </font>
    </para>
    <para style="P11">Number of printed Partners: [[ len(objects) ]]</para>
    <para style="P11">Computed value: [[ 2+4*3 ]] EUR é</para>
    <para style="P11">
      <font color="white"> </font>
    </para>
    <para style="P12" leftIndent="15" bulletIndent="0" bulletFontSize="6" bulletFontName="ZapfDingbats" bulletText="l">Bullet 1</para>
    <para style="P12" leftIndent="15" bulletIndent="0" bulletFontSize="6" bulletFontName="ZapfDingbats" bulletText="l">Bullet 2</para>
    <para style="P13" leftIndent="15" bulletIndent="0"><bullet><seq id="ordered_list"/>.</bullet>Number 1</para>
    <para style="P13" leftIndent="15" bulletIndent="0"><bullet><seq id="ordered_list"/>.</bullet>Number 2</para>
    <para>
      <seqreset id="ordered_list"/>
    </para>
    <para style="P14">
      <font color="white"> </font>
    </para>
    <para style="P14">
      <font color="white"> </font>
    </para>
    <para style="P15"><font face="Times-Roman">End of Report.</font>.</para>
    <para style="Standard">
      <font color="white"> </font>
    </para>
    <para style="P11">
      <font color="white"> </font>
    </para>
  </story>
</document>

