2
<document filename="test.pdf">
3
<template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
4
<pageTemplate id="first">
5
<frame id="first" x1="42.0" y1="42.0" width="511" height="758"/>
9
<blockTableStyle id="Standard_Outline">
10
<blockAlignment value="LEFT"/>
11
<blockValign value="TOP"/>
13
<blockTableStyle id="Table1">
14
<blockAlignment value="LEFT"/>
15
<blockValign value="TOP"/>
16
<blockBackground colorName="#e6e6e6" start="0,0" stop="0,0"/>
17
<blockBackground colorName="#e6e6e6" start="1,0" stop="1,0"/>
18
<blockBackground colorName="#e6e6e6" start="2,0" stop="2,0"/>
19
<blockBackground colorName="#e6e6e6" start="0,1" stop="0,1"/>
20
<blockBackground colorName="#e6e6e6" start="1,1" stop="1,1"/>
21
<blockBackground colorName="#e6e6e6" start="2,1" stop="2,1"/>
23
<blockTableStyle id="Tableau1">
24
<blockAlignment value="LEFT"/>
25
<blockValign value="TOP"/>
26
<lineStyle kind="GRID" colorName="black"/>
27
<blockBackground colorName="#ff6633" start="0,0" stop="0,0"/>
29
<blockTableStyle id="Tableau2">
30
<blockAlignment value="LEFT"/>
31
<blockValign value="TOP"/>
32
<blockBackground colorName="#e6e6e6" start="0,0" stop="0,0"/>
33
<blockBackground colorName="#e6e6e6" start="1,0" stop="1,0"/>
34
<blockBackground colorName="#e6e6e6" start="0,1" stop="0,1"/>
35
<blockBackground colorName="#e6e6e6" start="1,1" stop="1,1"/>
37
<blockTableStyle id="Tableau3">
38
<blockAlignment value="LEFT"/>
39
<blockValign value="TOP"/>
40
<lineStyle kind="GRID" colorName="black"/>
41
<blockBackground colorName="#ffcc99" start="0,0" stop="0,0"/>
43
<blockTableStyle id="Tableau4">
44
<blockAlignment value="LEFT"/>
45
<blockValign value="TOP"/>
48
<paraStyle name="all" alignment="justify"/>
50
<paraStyle name="P1" fontName="Times-Roman" fontSize="20.0" leading="25" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
51
<paraStyle name="P2" fontName="Times-Roman" fontSize="10.0" leading="13" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
52
<paraStyle name="P3" fontName="Times-Roman" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
53
<paraStyle name="P4" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
54
<paraStyle name="P5" fontName="Times-Roman" fontSize="16.0" leading="20" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
55
<paraStyle name="P6" fontName="Times-Roman"/>
56
<paraStyle name="P7" fontName="Times-Roman" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
57
<paraStyle name="P8" fontName="Times-Roman" fontSize="11.0" leading="14" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
58
<paraStyle name="P9" fontName="Times-Roman" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
59
<paraStyle name="Standard" fontName="Times-Roman"/>
60
<paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
61
<paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
62
<paraStyle name="List" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
63
<paraStyle name="Table Contents" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
64
<paraStyle name="Table Heading" fontName="Times-Roman" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
65
<paraStyle name="Caption" fontName="Times-Roman" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
66
<paraStyle name="Index" fontName="Times-Roman"/>
69
<para style="Standard">
70
<font color="white"> </font>
72
<blockTable colWidths="139.0,220.0,152.0" repeatRows="1" style="Table1">
75
<para style="Table Contents">
76
<font color="white"> </font>
80
<para style="P1">Reference Guide</para>
84
<font color="white"> </font>
90
<para style="Table Contents">[[ company.name ]]</para>
93
<para style="P3">Introspection report on objects</para>
96
<para style="P4">Printed: [[ time.strftime('%y-%m-%d')]]</para>
100
<para style="Standard">
101
<font color="white"> </font>
104
<para style="Text body">[[ repeatIn(objects, 'module') ]]</para>
105
<blockTable colWidths="510.0" repeatRows="1" style="Tableau1">
108
<para style="P5">Module: [[ module.name ]]</para>
112
<blockTable colWidths="276.0,234.0" repeatRows="1" style="Tableau2">
115
<para style="Standard">Name: [[ module.shortdesc]]</para>
118
<para style="Standard">Version: [[module.latest_version]]</para>
123
<para style="Standard">Directory: [[ module.name ]]</para>
126
<para style="Standard">Web: [[ module.website ]]</para>
130
<para style="P6">[[ module.description ]]</para>
132
<para style="Standard">[[ repeatIn(findobj(module.name) ,'object') ]]</para>
133
<blockTable colWidths="510.0" repeatRows="1" style="Tableau3">
136
<para style="P7">Object: [[ object.name ]]</para>
137
<pre style="P8">[[ objdoc(object.model) ]]</pre>
141
<blockTable colWidths="113.0,397.0" repeatRows="1" style="Tableau4">
144
<para style="P9"><font face="Times-Roman">[[ repeatIn(findflds(object.model), 'field') ]]</font> [[ field[0] ]]</para>
147
<para style="Standard">
148
<font face="Times-Roman">[[ field[1].get('string', 'Unknown') ]], [[ field[1]['type'] ]] [[field[1].get('required',False) and ', required']] [[field[1].get('readonly',False) and ', readonly']] </font>
150
<para style="Standard">[[ field[1].get('help', '') ]]</para>
154
<para style="Standard">
155
<font color="white"> </font>
158
<para style="Standard">
159
<font color="white"> </font>
161
<para style="Standard">
162
<font color="white"> </font>
164
<para style="Standard">
165
<font color="white"> </font>
168
<para style="Standard">
169
<font color="white"> </font>