new report

bzr revid: dsh@tinyerp.com-be8166fc325cf0ae00fed03cb485da7b2f74b89c
This commit is contained in:
Dhara Shah
2007-04-24 04:40:32 +00:00
parent 7c12b2a1d8
commit 628a35546f
+103
View File
@@ -0,0 +1,103 @@
<?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="34.0" y1="28.0" width="527" height="786"/>
</pageTemplate>
</template>
<stylesheet>
<blockTableStyle id="Standard_Outline">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table1">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
<lineStyle kind="GRID" colorName="black"/>
<blockBackground colorName="#e6e6e6" start="0,0" stop="0,0"/>
<blockBackground colorName="#e6e6e6" start="1,0" stop="1,0"/>
<blockBackground colorName="#e6e6e6" start="2,0" stop="2,0"/>
</blockTableStyle>
<blockTableStyle id="Table2">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
<lineStyle kind="GRID" colorName="black"/>
</blockTableStyle>
<blockTableStyle id="Table3">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<initialize>
<paraStyle name="all" alignment="justify"/>
</initialize>
<paraStyle name="P1" fontName="Times-Roman" fontSize="11.0" leading="14" spaceBefore="0.0" spaceAfter="6.0"/>
<paraStyle name="P2" fontName="Times-Roman" fontSize="8.0" leading="10" spaceBefore="0.0" spaceAfter="6.0"/>
<paraStyle name="P3" fontName="Times-BoldItalic" fontSize="8.0" leading="10" spaceBefore="0.0" spaceAfter="6.0"/>
<paraStyle name="P4" fontName="Times-Roman" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="6.0"/>
<paraStyle name="P5" fontName="Times-Roman" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="6.0"/>
<paraStyle name="P6" fontName="Times-Roman" fontSize="8.0" leading="10" spaceBefore="0.0" spaceAfter="6.0"/>
<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>
<para style="P1">
<font color="white"> </font>
</para>
<section>
<blockTable colWidths="201.0,235.0,91.0" repeatRows="1" style="Table1">
<tr>
<td>
<para style="Table Contents">Location</para>
</td>
<td>
<para style="Table Contents">Product</para>
</td>
<td>
<para style="Table Contents">Quantity</para>
</td>
</tr>
</blockTable>
<para style="P2">[[ repeatIn(objects,'o') ]]</para>
<para style="P2">
<font color="white"> </font>
</para>
<section>
<section>
<blockTable colWidths="201.0,327.0" repeatRows="1" style="Table2">
<tr>
<td>
<para style="P3">[[ repeatIn(process(o.id),'ob') ]]</para>
<para style="P4">[[ ob ['location_name'] ]] </para>
</td>
<td>
<blockTable colWidths="234.0,87.0" repeatRows="1" style="Table3">
<tr>
<td>
<para style="P4">[[ repeatIn(ob['product'], 'p') ]] </para>
<para style="P4">[[ p['prod_name'] ]] </para>
</td>
<td>
<para style="P5">[[ p['prod_qty'] ]] </para>
</td>
</tr>
</blockTable>
<para style="Table Contents">
<font color="white"> </font>
</para>
</td>
</tr>
</blockTable>
<para style="P6">
<font color="white"> </font>
</para>
</section>
</section>
</section>
</story>
</document>