2006-12-07 13:41:40 +00:00
|
|
|
<?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="35.0" y1="35.0" width="525" height="772"/>
|
|
|
|
</pageTemplate>
|
|
|
|
</template>
|
|
|
|
<stylesheet>
|
|
|
|
<blockTableStyle id="Standard_Outline">
|
|
|
|
<blockAlignment value="LEFT"/>
|
|
|
|
<blockValign value="TOP"/>
|
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="Table1">
|
|
|
|
<blockAlignment value="LEFT"/>
|
|
|
|
<blockValign value="TOP"/>
|
2008-01-11 14:46:45 +00:00
|
|
|
<blockBackground colorName="#e6e6e6" start="0,0" stop="0,-1"/>
|
|
|
|
<blockBackground colorName="#e6e6e6" start="1,0" stop="1,-1"/>
|
|
|
|
<blockBackground colorName="#e6e6e6" start="2,0" stop="2,-1"/>
|
|
|
|
<blockBackground colorName="#e6e6e6" start="0,1" stop="0,-1"/>
|
|
|
|
<blockBackground colorName="#e6e6e6" start="1,1" stop="1,-1"/>
|
|
|
|
<blockBackground colorName="#e6e6e6" start="2,1" stop="2,-1"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="Table6">
|
|
|
|
<blockAlignment value="LEFT"/>
|
|
|
|
<blockValign value="TOP"/>
|
2008-01-11 14:46:45 +00:00
|
|
|
<lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
|
|
|
|
<lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
|
|
|
|
<lineStyle kind="LINEBEFORE" colorName="#000000" start="1,0" stop="1,-1"/>
|
|
|
|
<lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
|
|
|
|
<lineStyle kind="LINEBEFORE" colorName="#000000" start="2,0" stop="2,-1"/>
|
|
|
|
<lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
|
|
|
|
<lineStyle kind="LINEBEFORE" colorName="#000000" start="3,0" stop="3,-1"/>
|
|
|
|
<lineStyle kind="LINEAFTER" colorName="#000000" start="3,0" stop="3,-1"/>
|
|
|
|
<lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="Table2">
|
2008-06-30 20:47:46 +00:00
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<blockValign value="TOP"/>
|
2008-06-30 20:47:46 +00:00
|
|
|
<blockAlignment value="RIGHT" start="2,1" stop="-1,-1"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="Table3">
|
|
|
|
<blockAlignment value="LEFT"/>
|
|
|
|
<blockValign value="TOP"/>
|
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="Table4">
|
|
|
|
<blockAlignment value="LEFT"/>
|
|
|
|
<blockValign value="TOP"/>
|
2008-01-11 14:46:45 +00:00
|
|
|
<lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
|
|
|
|
<lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
|
|
|
|
<lineStyle kind="LINEBEFORE" colorName="#000000" start="1,0" stop="1,-1"/>
|
|
|
|
<lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
|
|
|
|
<lineStyle kind="LINEBEFORE" colorName="#000000" start="2,0" stop="2,-1"/>
|
|
|
|
<lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
|
|
|
|
<lineStyle kind="LINEBEFORE" colorName="#000000" start="3,0" stop="3,-1"/>
|
|
|
|
<lineStyle kind="LINEAFTER" colorName="#000000" start="3,0" stop="3,-1"/>
|
|
|
|
<lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</blockTableStyle>
|
|
|
|
<initialize>
|
|
|
|
<paraStyle name="all" alignment="justify"/>
|
|
|
|
</initialize>
|
|
|
|
<paraStyle name="P1" fontName="Times-Roman" fontSize="20.0" leading="25" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
|
2007-07-17 08:28:19 +00:00
|
|
|
<paraStyle name="P2" fontName="Times-Roman" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="P3" fontName="Times-Roman" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
|
2008-01-11 14:46:45 +00:00
|
|
|
<paraStyle name="P4" fontName="Times-Roman" fontSize="10.0" leading="13" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="P5" fontName="Times-Roman" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
|
2007-07-17 08:28:19 +00:00
|
|
|
<paraStyle name="P6" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
|
2008-01-11 14:46:45 +00:00
|
|
|
<paraStyle name="P7" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="P8" fontName="Times-Roman" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="P9" fontName="Times-Roman" alignment="CENTER"/>
|
|
|
|
<paraStyle name="P10" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="P11" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="P12" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="P13" fontName="Times-Roman" fontSize="8.0" leading="10" spaceBefore="0.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="P14" rightIndent="17.0" leftIndent="-0.0" fontName="Times-Bold" fontSize="8.0" leading="10" spaceBefore="0.0" spaceAfter="6.0"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<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"/>
|
2008-06-30 20:47:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
<blockTableStyle id="TrLevel6">
|
|
|
|
<blockLeftPadding length="60" start="1,0" stop="1,0"/>
|
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="TrLevel5">
|
|
|
|
<blockLeftPadding length="40" start="1,0" stop="1,0"/>
|
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="TrLevel4">
|
|
|
|
<blockLeftPadding length="20" start="1,0" stop="1,0"/>
|
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="TrLevel3">
|
|
|
|
<blockLeftPadding length="0" start="1,0" stop="1,0"/>
|
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="TrLevel2">
|
|
|
|
<blockLeftPadding length="0" start="1,0" stop="1,0"/>
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#777777" start="1,0" stop="1,0"/>
|
|
|
|
<blockTopPadding length="13" start="0,0" stop="-1,0"/>
|
|
|
|
<blockBottomPadding length="2" start="0,0" stop="-1,0"/>
|
|
|
|
<blockFont name="Times-Bold" start="0,0" stop="-1,-1"/>
|
|
|
|
</blockTableStyle>
|
|
|
|
<blockTableStyle id="TrLevel1">
|
|
|
|
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>
|
|
|
|
<blockLeftPadding length="0" start="1,0" stop="1,0"/>
|
|
|
|
<blockTopPadding length="27" start="0,0" stop="-1,0"/>
|
|
|
|
<blockBottomPadding length="2" start="0,0" stop="-1,0"/>
|
|
|
|
<blockFont name="Times-Bold" start="0,0" stop="-1,-1"/>
|
|
|
|
</blockTableStyle>
|
|
|
|
|
|
|
|
<paraStyle
|
|
|
|
name="Level5"
|
|
|
|
fontName="Times-Roman"
|
|
|
|
fontSize="10.0" />
|
|
|
|
<paraStyle
|
|
|
|
name="Level4"
|
|
|
|
fontName="Times-Roman"
|
|
|
|
fontSize="10.0" />
|
|
|
|
<paraStyle
|
|
|
|
name="Level3"
|
|
|
|
fontName="Times-Roman"
|
|
|
|
fontSize="10.0" />
|
|
|
|
<paraStyle
|
|
|
|
name="Level2"
|
|
|
|
fontName="Times-Bold"
|
|
|
|
fontSize="10.0" />
|
|
|
|
<paraStyle name="Level1"
|
|
|
|
fontSize="10.0"
|
|
|
|
fontName="Times-Bold"
|
|
|
|
/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<paraStyle name="Caption" fontName="Times-Roman" fontSize="10.0" leading="13" spaceBefore="6.0" spaceAfter="6.0"/>
|
|
|
|
<paraStyle name="Index" fontName="Times-Roman"/>
|
|
|
|
</stylesheet>
|
2008-01-11 14:46:45 +00:00
|
|
|
<images/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<story>
|
2008-01-11 14:46:45 +00:00
|
|
|
<para style="P9">Printing date: [[ formatLang(time.strftime('%Y-%m-%d'), date=True) ]] at [[ time.strftime('%H:%M:%S') ]]</para>
|
2008-06-30 20:47:46 +00:00
|
|
|
<blockTable colWidths="55,262.0,73.0,72.0,72.0" style="Table2" repeatRows="1">
|
2006-12-07 13:41:40 +00:00
|
|
|
<tr>
|
|
|
|
<td>
|
2008-06-30 20:47:46 +00:00
|
|
|
<para style="P12">Code</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2008-06-30 20:47:46 +00:00
|
|
|
<para style="P12">Account</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2008-01-11 14:46:45 +00:00
|
|
|
<para style="P10">Debit</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2008-01-11 14:46:45 +00:00
|
|
|
<para style="P10">Credit</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2008-06-30 20:47:46 +00:00
|
|
|
<para style="P10">Balance</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2008-06-30 20:47:46 +00:00
|
|
|
<td><para style="P14">[[ repeatIn(lines(data['form']), 'a') ]]<i>[[ a['code'] ]]</i></para></td>
|
2006-12-07 13:41:40 +00:00
|
|
|
<td>
|
2008-06-30 20:47:46 +00:00
|
|
|
<para style="P14">[[ setTag('tr','tr',{'style':'TrLevel'+str(a['level']), 'paraStyle':('Level'+str(a['level']))}) ]]<font></font>
|
|
|
|
[[ a['name'] ]]</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2008-06-30 20:47:46 +00:00
|
|
|
<para style="P3">[[ formatLang(a['debit'] or '') ]]</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2008-06-30 20:47:46 +00:00
|
|
|
<para style="P3">[[ formatLang(a['credit'] or '') ]]</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2008-06-30 20:47:46 +00:00
|
|
|
<para style="P3"><u>[[ (a['leef'] and removeParentNode('para')) or formatLang(a['balance'] or '') ]]</u></para>
|
|
|
|
<para style="P3">[[ ((not a['leef']) and removeParentNode('para')) or formatLang(a['balance'] or '') ]]</para>
|
2006-12-07 13:41:40 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</blockTable>
|
|
|
|
</story>
|
|
|
|
</document>
|
|
|
|
|