Ticket #1143: resourcePlan.rfxml

File resourcePlan.rfxml, 7.6 kB (added by kweinert, 4 months ago)

sample frxml

Line 
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
3 <!--
4         This is a Dabo report form xml (rfxml) document, describing a
5         report form. It was generated by the Dabo Report Writer, and can
6         be edited by hand or by using the Dabo Report Designer.
7 -->
8
9 <Report>
10     <title>Einsatzplan</title>
11
12     <page>
13         <marginBottom>".5 in"</marginBottom>
14         <marginLeft>".5 in"</marginLeft>
15         <marginRight>".5 in"</marginRight>
16         <marginTop>".5 in"</marginTop>
17         <orientation>"portrait"</orientation>
18         <size>"A4"</size>
19     </page>
20
21     <Variables></Variables>
22
23     <Groups>
24             <Group>
25             <expr>self.traj_id</expr>
26             <startOnNewPage>True</startOnNewPage>
27             <groupHeader>
28                 <height>"30 pt"</height>
29                 <objects>
30                     <String>
31                         <expr>"%s, %s" % (self.last_name,self.first_name)</expr>
32                         <fontSize>12</fontSize>
33                         <hAnchor>"Left"</hAnchor>
34                         <Height>'12.0 pt'</Height>
35                         <width>"2.5 in"</width>
36                         <x>"0 in"</x>
37                         <y>"15 pt"</y>
38                     </String>
39                     <String>
40                         <expr>self.machine</expr>
41                         <fontSize>12</fontSize>
42                         <hAnchor>"Left"</hAnchor>
43                         <Height>'12.0 pt'</Height>
44                         <width>"2.5 in"</width>
45                         <x>"0 in"</x>
46                         <y>"3 pt"</y>
47                     </String>
48                     <String>
49                         <expr>"Woche: %s" % self.week</expr>
50                         <fontSize>12</fontSize>
51                         <hAnchor>"Left"</hAnchor>
52                         <Height>'12.0 pt'</Height>
53                         <width>"2.5 in"</width>
54                         <x>"6.3 in"</x>
55                         <y>"9 pt"</y>
56                     </String>
57                    
58                 </objects>
59             </groupHeader>
60             <groupFooter></groupFooter>
61         </Group>
62         <Group>
63             <expr>self.weekday</expr>
64             <reprintHeaderOnNewPage>True</reprintHeaderOnNewPage>
65             <startOnNewPage>False</startOnNewPage>
66             <groupHeader>
67                 <height>"0.25 in"</height>
68                 <objects>
69                     <Rectangle>
70                         <fillColor>(.9, .9, .9)</fillColor>
71                         <height>".25 in"</height>
72                         <strokeWidth>".25 pt"</strokeWidth>
73                         <width>"7.27 in"</width>
74                         <x>"0 in"</x>
75                         <y>"0 in"</y>
76                     </Rectangle>
77                     <String>
78                         <expr>self.weekday</expr>
79                         <Height>'11.0 pt'</Height>
80                         <width>'1 in'</width>
81                         <x>"0.025 in"</x>
82                         <y>5</y>
83                     </String>
84                     <Line>
85                         <height>"0.25 in"</height>
86                         <LineSlant>"|"</LineSlant>
87                         <strokeColor>(.2,.2,.2)</strokeColor>
88                         <strokeWidth>0.25</strokeWidth>
89                         <width>2</width>
90                         <x>"1 in"</x>
91                         <y>0</y>
92                     </Line>
93                     <String>
94                         <expr>"Wo"</expr>
95                         <Height>'11.0 pt'</Height>
96                         <width>"4 in"</width>
97                         <x>"1.075 in"</x>
98                         <y>5</y>
99                     </String>
100                     <Line>
101                         <height>"0.25 in"</height>
102                         <LineSlant>"|"</LineSlant>
103                         <strokeColor>(.2,.2,.2)</strokeColor>
104                         <strokeWidth>0.25</strokeWidth>
105                         <width>2</width>
106                         <x>"5 in"</x>
107                         <y>0</y>
108                     </Line>
109                     <String>
110                         <expr>"Was"</expr>
111                         <Height>'11.0 pt'</Height>
112                         <width>'2.27 in'</width>
113                         <x>"5.075 in"</x>
114                         <y>5</y>
115                     </String>
116                    
117                 </objects>
118             </groupHeader>
119             <groupFooter></groupFooter>
120         </Group>
121     </Groups>
122
123     <pageBackground>
124         <objects>
125         </objects>
126     </pageBackground>
127
128     <pageHeader>
129         <height>"0.7 in"</height>
130         <objects>
131             <String>
132                 <align>"right"</align>
133                 <borderWidth>"0 pt"</borderWidth>
134                 <expr>self.ReportForm["title"]</expr>
135                 <fontName>"Helvetica"</fontName>
136                 <fontSize>36</fontSize>
137                 <hAnchor>"right"</hAnchor>
138                 <height>"36 pt"</height>
139                 <name>title</name>
140                 <width>"6 in"</width>
141                 <x>"7.27 in"</x>
142                 <y>0.0</y>
143             </String>
144         </objects>
145     </pageHeader>
146
147     <detail>
148         <height>None</height>
149         <Objects>
150             <Rectangle>
151                 <height>self.Bands["detail"]["height"]</height>
152                 <name>test2</name>
153                 <strokeWidth>".25 pt"</strokeWidth>
154                 <width>"7.27 in"</width>
155                 <x>"0 in"</x>
156                 <y>"0 in"</y>
157             </Rectangle>
158             <String>
159                 <expr>self.ts</expr>
160                 <height>12</height>
161                 <vAnchor>"top"</vAnchor>
162                 <width>"1 in"</width>
163                 <x>"0.025 in"</x>
164                 <y>self.Bands["detail"]["height"]</y>
165             </String>
166             <Frameset>
167                 <borderWidth>0</borderWidth>
168                 <calculatedHeight>42</calculatedHeight>
169                 <height>None</height>
170                 <padBottom>4</padBottom>
171                 <padTop>2</padTop>
172                 <vAnchor>"top"</vAnchor>
173                 <width>"4 in"</width>
174                 <x>"1.075 in"</x>
175                 <y>self.Bands["detail"]["height"]</y>
176                 <objects>
177                     <Paragraph>
178                         <expr>self.place</expr>
179                         <fontName>"Helvetica"</fontName>
180                     </Paragraph>
181                 </objects>
182             </Frameset>
183             <String>
184                 <expr>self.activity</expr>
185                 <height>12</height>
186                 <vAnchor>"top"</vAnchor>
187                 <width>'2.27 in'</width>
188                 <x>"5.075 in"</x>
189                 <y>self.Bands["detail"]["height"]</y>
190             </String>
191             <Line>
192                 <height>self.Bands["detail"]["height"]</height>
193                 <LineSlant>'|'</LineSlant>
194                 <strokeColor>(.2,.2,.2)</strokeColor>
195                 <strokeWidth>0.25</strokeWidth>
196                 <Width>3</Width>
197                 <x>"1 in"</x>
198                 <y>0</y>
199             </Line>
200             <Line>
201                 <height>self.Bands["detail"]["height"]</height>
202                 <LineSlant>'|'</LineSlant>
203                 <strokeColor>(.2,.2,.2)</strokeColor>
204                 <strokeWidth>0.25</strokeWidth>
205                 <width>'2.0 pt'</width>
206                 <x>"5 in"</x>
207                 <y>0</y>
208             </Line>
209         </Objects>
210     </detail>
211
212     <pageFooter>
213     </pageFooter>
214
215     <PageForeground></PageForeground>
216
217         <testcursor week="str" first_name="str" last_name="str" ts="str" machine="str" place="str" weekday="str" activity="str" traj_id="str"  >
218         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'9:00'" machine="'LOS-GF 606'" place="'Berlin (14167), Am Stichkanal, Hä-Se'" weekday="'Montag'" activity="'Laden'" traj_id="'1'"  />
219         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'12:00'" machine="'LOS-GF 606'" place="'Eberswalde (16227), HoKaWe'" weekday="'Montag'" activity="'Liefern'" traj_id="'1'"  />
220         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'14:30'" machine="'LOS-GF 606'" place="'Berlin (14167), Am Stichkanal, Hä-Se'" weekday="'Montag'" activity="'Laden'" traj_id="'1'"  />
221         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'18:30'" machine="'LOS-GF 606'" place="'Eberswalde (16227), HoKaWe'" weekday="'Montag'" activity="'Liefern'" traj_id="'1'"  />
222         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'11:00'" machine="'LOS-GF 606'" place="'Teltow (14513), Oderstraße, Danpower'" weekday="'Dienstag'" activity="'Liefern'" traj_id="'1'"  />
223         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'12:00'" machine="'LOS-GF 606'" place="'Ruhlsdorf (14513), TBR'" weekday="'Dienstag'" activity="'Laden'" traj_id="'1'"  />
224         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'16:30'" machine="'LOS-GF 606'" place="'Eberswalde (16227), HoKaWe'" weekday="'Dienstag'" activity="'Liefern'" traj_id="'1'"  />
225         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'7:00'" machine="'LOS-GF 606'" place="'Berlin (14167), Am Stichkanal, Hä-Se'" weekday="'Mittwoch'" activity="'Laden'" traj_id="'1'"  />
226         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'11:00'" machine="'LOS-GF 606'" place="'Eberswalde (16227), HoKaWe'" weekday="'Mittwoch'" activity="'Liefern'" traj_id="'1'"  />
227         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'14:30'" machine="'LOS-GF 606'" place="'Berlin (14167), Am Stichkanal, Hä-Se'" weekday="'Mittwoch'" activity="'Laden'" traj_id="'1'"  />
228         <record week="'11'" first_name="'Thomas'" last_name="'Brätsch'" ts="'18:30'" machine="'LOS-GF 606'" place="'Eberswalde (16227), HoKaWe'" weekday="'Montag'" activity="'Liefern'" traj_id="'1'"  />
229     </testcursor>
230
231
232 </Report>