Ticket #1119: badge.rfxml

File badge.rfxml, 4.2 kB (added by carl, 8 months ago)
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>PyCon Registration Badge</Title>
11
12     <page>
13         <marginBottom>0</marginBottom>
14         <marginLeft>0</marginLeft>
15         <marginRight>0</marginRight>
16         <marginTop>0</marginTop>
17         <orientation>"portrait"</orientation>
18         <size>"letter"</size>
19     </page>
20
21     <Variables></Variables>
22
23     <Groups></Groups>
24
25     <PageBackground>
26         <Objects></Objects>
27     </PageBackground>
28
29     <pageHeader>
30         <Height>0</Height>
31         <Objects></Objects>
32     </pageHeader>
33
34     <detail>
35         <height>"8.25 in"</height>
36         <Objects>
37             <Rectangle>
38                 <height>"216 pt"</height>
39                 <strokeWidth>1</strokeWidth>
40                 <vAnchor>"top"</vAnchor>
41                 <width>"288 pt"</width>
42                 <x>"0.05 in"</x>
43                 <y>"8.2 in"</y>
44             </Rectangle>
45             <Image>
46                 <expr>"./pycon_logo.png"</expr>
47                 <height>"0.842 in"</height>
48                 <vAnchor>"top"</vAnchor>
49                 <width>"3.196 in"</width>
50                 <x>'0.1556 in'</x>
51                 <y>"8 in"</y>
52             </Image>
53             <Rectangle>
54                 <FillColor>(0.898, 0.898, 0.898)</FillColor>
55                 <height>92.247524751983534</height>
56                 <strokeColor>None</strokeColor>
57                 <strokeWidth>0</strokeWidth>
58                 <width>'269.462046205 pt'</width>
59                 <x>'11.1 pt'</x>
60                 <y>'412.0 pt'</y>
61             </Rectangle>
62             <String>
63                 <Align>'center'</Align>
64                 <expr>"%s %s" % (self.first_name.strip(), self.last_name.strip())</expr>
65                 <fontColor>(0,0,255)</fontColor>
66                 <fontSize>28</fontSize>
67                 <height>41.762376237623755</height>
68                 <width>267.98399999999998</width>
69                 <x>'11.9 pt'</x>
70                 <y>'441.4 pt'</y>
71             </String>
72             <String>
73                 <align>"right"</align>
74                 <expr>self.attendeeID</expr>
75                 <height>15.663366336633679</height>
76                 <width>55.0</width>
77                 <x>'218.9 pt'</x>
78                 <y>'415.0 pt'</y>
79             </String>
80             <Rectangle>
81                 <height>"100 pt"</height>
82                 <strokeWidth>1</strokeWidth>
83                 <vAnchor>"top"</vAnchor>
84                 <width>"150 pt"</width>
85                 <x>"300 pt"</x>
86                 <y>"590 pt"</y>
87             </Rectangle>
88             <String>
89                 <expr>"Shirt Coupon"</expr>
90                 <FontSize>25</FontSize>
91                 <height>25</height>
92                 <width>'146.0 pt'</width>
93                 <x>'302.1 pt'</x>
94                 <y>'562.7 pt'</y>
95             </String>
96             <String>
97                 <expr>"Size : %s" % (self.shirt_size)</expr>
98                 <FontSize>25</FontSize>
99                 <height>25</height>
100                 <Width>120</Width>
101                 <x>'307.7 pt'</x>
102                 <y>'532.3 pt'</y>
103             </String>
104             <String>
105                 <expr>"Back : %s" %  {True:'Yes', False:'No'}[self.shirt_back]</expr>
106                 <FontSize>25</FontSize>
107                 <height>25</height>
108                 <Width>120</Width>
109                 <x>'307.7 pt'</x>
110                 <y>'508.0 pt'</y>
111             </String>
112             <String>
113                 <Align>"right"</Align>
114                 <expr>self.attendeeID</expr>
115                 <Height>14</Height>
116                 <Rotation>0</Rotation>
117                 <width>'51.0 pt'</width>
118                 <x>'397.4 pt'</x>
119                 <y>'494.2 pt'</y>
120             </String>
121             <Rectangle>
122                 <height>"100 pt"</height>
123                 <strokeWidth>1</strokeWidth>
124                 <vAnchor>"top"</vAnchor>
125                 <width>"150 pt"</width>
126                 <x>"300 pt"</x>
127                 <y>"480 pt"</y>
128             </Rectangle>
129             <String>
130                 <expr>"Bag Coupon"</expr>
131                 <FontSize>25</FontSize>
132                 <height>25</height>
133                 <Width>140</Width>
134                 <x>'305.1 pt'</x>
135                 <y>'450.7 pt'</y>
136             </String>
137             <String>
138                 <Align>'right'</Align>
139                 <expr>self.attendeeID</expr>
140                 <height>14.343234323432357</height>
141                 <Rotation>0</Rotation>
142                 <width>'52.0 pt'</width>
143                 <x>'396.4 pt'</x>
144                 <y>'387.0 pt'</y>
145             </String>
146             <String>
147                 <expr>'Speaker'</expr>
148                 <Show>self.speaker</Show>
149                 <Width>45</Width>
150                 <x>10</x>
151                 <y>380</y>
152             </String>
153             <String>
154                 <expr>'Vendor'</expr>
155                 <show>self.vendor</show>
156                 <Width>45</Width>
157                 <x>60</x>
158                 <y>380</y>
159             </String>
160             <String>
161                 <expr>'Staff'</expr>
162                 <show>self.staff</show>
163                 <Width>45</Width>
164                 <x>110</x>
165                 <y>380</y>
166             </String>
167         </Objects>
168     </detail>
169
170     <pageFooter>
171         <Objects></Objects>
172     </pageFooter>
173
174     <PageForeground>
175         <Objects></Objects>
176     </PageForeground>
177
178     <TestCursor>
179         <record KeyNote="True" last_name="&quot;Karsten&quot;" shirt_back="True" attendeeID="1234" first_name="&quot;Carl&quot;" speaker="True" sponsor="True" shirt_size="&quot;L&quot;" vendor="False" chair="True" staff="True" />
180     </TestCursor>
181
182 </Report>