1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="reportName" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="824" leftMargin="9" rightMargin="9" topMargin="9" bottomMargin="9" isSummaryNewPage="true" isSummaryWithPageHeaderAndFooter="true"> |
---|
3 | <property name="ireport.scriptlethandling" value="0"/> |
---|
4 | <property name="ireport.encoding" value="UTF-8"/> |
---|
5 | <property name="ireport.zoom" value="1.5"/> |
---|
6 | <property name="ireport.x" value="15"/> |
---|
7 | <property name="ireport.y" value="0"/> |
---|
8 | <import value="net.sf.jasperreports.engine.*"/> |
---|
9 | <import value="java.util.*"/> |
---|
10 | <import value="net.sf.jasperreports.engine.data.*"/> |
---|
11 | <style name="table" isDefault="false"> |
---|
12 | <box> |
---|
13 | <pen lineWidth="1.0" lineColor="#000000"/> |
---|
14 | <topPen lineWidth="1.0"/> |
---|
15 | <leftPen lineWidth="1.0"/> |
---|
16 | <bottomPen lineWidth="1.0"/> |
---|
17 | <rightPen lineWidth="1.0"/> |
---|
18 | </box> |
---|
19 | </style> |
---|
20 | <style name="table_TH" isDefault="false" mode="Opaque" backcolor="#F0F8FF"> |
---|
21 | <box> |
---|
22 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
23 | </box> |
---|
24 | </style> |
---|
25 | <style name="table_CH" isDefault="false" mode="Opaque" backcolor="#BFE1FF"> |
---|
26 | <box> |
---|
27 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
28 | </box> |
---|
29 | </style> |
---|
30 | <style name="table_TD" isDefault="false" mode="Opaque" backcolor="#FFFFFF" pattern=""> |
---|
31 | <box> |
---|
32 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
33 | </box> |
---|
34 | </style> |
---|
35 | <subDataset name="dataset1"> |
---|
36 | <queryString language="SQL"> |
---|
37 | <![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{dataList})]]> |
---|
38 | </queryString> |
---|
39 | <field name="name" class="java.lang.String"/> |
---|
40 | <field name="description" class="java.lang.String"/> |
---|
41 | <field name="comment" class="java.lang.String"/> |
---|
42 | <field name="Serial Number" class="java.lang.String"/> |
---|
43 | <field name="Model Number" class="java.lang.String"/> |
---|
44 | <field name="Manufacturer" class="java.lang.String"/> |
---|
45 | <field name="Hazards Identified" class="java.lang.String"/> |
---|
46 | <field name="Risk Assesment" class="java.lang.String"/> |
---|
47 | <field name="Safe Work Procedure" class="java.lang.String"/> |
---|
48 | <field name="Maintenance Frequency" class="java.lang.String"/> |
---|
49 | <field name="Maintenance Date" class="java.lang.String"/> |
---|
50 | <field name="Registration Required" class="java.lang.String"/> |
---|
51 | <field name="Registration Expiry Date" class="java.lang.String"/> |
---|
52 | <group name="assetName"> |
---|
53 | <groupExpression><![CDATA[$F{name}]]></groupExpression> |
---|
54 | </group> |
---|
55 | </subDataset> |
---|
56 | <parameter name="reportTitle" class="java.lang.String"/> |
---|
57 | <parameter name="currentUser" class="java.lang.String"/> |
---|
58 | <parameter name="logoUrl" class="java.lang.String"/> |
---|
59 | <parameter name="section" class="java.lang.String"/> |
---|
60 | <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> |
---|
61 | <defaultValueExpression><![CDATA["C:\\Documents and Settings\\kromhoutg\\My Documents\\reports\\"]]></defaultValueExpression> |
---|
62 | </parameter> |
---|
63 | <queryString language="SQL"> |
---|
64 | <![CDATA[]]> |
---|
65 | </queryString> |
---|
66 | <field name="dataList" class="java.util.List"/> |
---|
67 | <field name="attribTypes" class="java.util.List"/> |
---|
68 | <background> |
---|
69 | <band splitType="Stretch"/> |
---|
70 | </background> |
---|
71 | <pageHeader> |
---|
72 | <band height="57" splitType="Stretch"> |
---|
73 | <textField> |
---|
74 | <reportElement key="staticText-1" x="398" y="14" width="340" height="20"/> |
---|
75 | <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> |
---|
76 | <font fontName="Serif" size="14"/> |
---|
77 | </textElement> |
---|
78 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
---|
79 | </textField> |
---|
80 | <image> |
---|
81 | <reportElement x="0" y="0" width="340" height="57"/> |
---|
82 | <imageExpression class="java.net.URL"><![CDATA[new URL($P{logoUrl})]]></imageExpression> |
---|
83 | </image> |
---|
84 | <textField> |
---|
85 | <reportElement x="398" y="34" width="340" height="12"/> |
---|
86 | <textElement textAlignment="Center"> |
---|
87 | <font fontName="Serif" size="8"/> |
---|
88 | </textElement> |
---|
89 | <textFieldExpression class="java.lang.String"><![CDATA["Section: "+$P{section}]]></textFieldExpression> |
---|
90 | </textField> |
---|
91 | </band> |
---|
92 | </pageHeader> |
---|
93 | <columnHeader> |
---|
94 | <band splitType="Stretch"/> |
---|
95 | </columnHeader> |
---|
96 | <detail> |
---|
97 | <band height="492" splitType="Immediate"> |
---|
98 | <componentElement> |
---|
99 | <reportElement key="table" style="table" x="2" y="2" width="820" height="488"/> |
---|
100 | <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd"> |
---|
101 | <datasetRun subDataset="dataset1"> |
---|
102 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{dataList})]]></dataSourceExpression> |
---|
103 | </datasetRun> |
---|
104 | <jr:column width="100"> |
---|
105 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
106 | <staticText> |
---|
107 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="96" height="32" isPrintWhenDetailOverflows="true"/> |
---|
108 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
109 | <font fontName="Serif" size="8"/> |
---|
110 | </textElement> |
---|
111 | <text><![CDATA[Asset]]></text> |
---|
112 | </staticText> |
---|
113 | </jr:columnHeader> |
---|
114 | <jr:columnFooter height="2" rowSpan="1"> |
---|
115 | <staticText> |
---|
116 | <reportElement x="0" y="0" width="100" height="2"/> |
---|
117 | <textElement/> |
---|
118 | <text><![CDATA[]]></text> |
---|
119 | </staticText> |
---|
120 | </jr:columnFooter> |
---|
121 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
122 | <textField isStretchWithOverflow="true"> |
---|
123 | <reportElement positionType="Float" stretchType="RelativeToTallestObject" mode="Opaque" x="2" y="0" width="96" height="20" isPrintWhenDetailOverflows="true" backcolor="#D2EFF7"/> |
---|
124 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
125 | <font fontName="Serif" size="10" isBold="true"/> |
---|
126 | </textElement> |
---|
127 | <textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression> |
---|
128 | </textField> |
---|
129 | <textField isStretchWithOverflow="true"> |
---|
130 | <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="2" y="20" width="96" height="15" isPrintWhenDetailOverflows="true"/> |
---|
131 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
132 | <font fontName="Serif" size="8"/> |
---|
133 | </textElement> |
---|
134 | <textFieldExpression class="java.lang.String"><![CDATA[$F{description}]]></textFieldExpression> |
---|
135 | </textField> |
---|
136 | </jr:detailCell> |
---|
137 | </jr:column> |
---|
138 | <jr:column width="90"> |
---|
139 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
140 | <staticText> |
---|
141 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="86" height="32" isPrintWhenDetailOverflows="true"/> |
---|
142 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
143 | <font fontName="Serif" size="8"/> |
---|
144 | </textElement> |
---|
145 | <text><![CDATA[Comment]]></text> |
---|
146 | </staticText> |
---|
147 | </jr:columnHeader> |
---|
148 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
149 | <textField isStretchWithOverflow="true"> |
---|
150 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="86" height="35" isPrintWhenDetailOverflows="true"/> |
---|
151 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
152 | <font fontName="Serif" size="8"/> |
---|
153 | </textElement> |
---|
154 | <textFieldExpression class="java.lang.String"><![CDATA[$F{comment}]]></textFieldExpression> |
---|
155 | </textField> |
---|
156 | </jr:detailCell> |
---|
157 | </jr:column> |
---|
158 | <jr:column width="75"> |
---|
159 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
160 | <staticText> |
---|
161 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="71" height="32" isPrintWhenDetailOverflows="true"/> |
---|
162 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
163 | <font fontName="Serif" size="8"/> |
---|
164 | </textElement> |
---|
165 | <text><![CDATA[Serial Number]]></text> |
---|
166 | </staticText> |
---|
167 | </jr:columnHeader> |
---|
168 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
169 | <textField isStretchWithOverflow="true"> |
---|
170 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="71" height="35" isPrintWhenDetailOverflows="true"/> |
---|
171 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
172 | <font fontName="Serif" size="8"/> |
---|
173 | </textElement> |
---|
174 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Serial Number}]]></textFieldExpression> |
---|
175 | </textField> |
---|
176 | </jr:detailCell> |
---|
177 | </jr:column> |
---|
178 | <jr:column width="72"> |
---|
179 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
180 | <staticText> |
---|
181 | <reportElement stretchType="RelativeToTallestObject" x="2" y="16" width="68" height="16" isPrintWhenDetailOverflows="true"/> |
---|
182 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
183 | <font fontName="Serif" size="8"/> |
---|
184 | </textElement> |
---|
185 | <text><![CDATA[Model Number]]></text> |
---|
186 | </staticText> |
---|
187 | <staticText> |
---|
188 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="68" height="15" isPrintWhenDetailOverflows="true"/> |
---|
189 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
190 | <font fontName="Serif" size="8"/> |
---|
191 | </textElement> |
---|
192 | <text><![CDATA[Manufacturer]]></text> |
---|
193 | </staticText> |
---|
194 | <line> |
---|
195 | <reportElement x="0" y="15" width="72" height="1" forecolor="#B3B3B3"/> |
---|
196 | </line> |
---|
197 | </jr:columnHeader> |
---|
198 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
199 | <textField isStretchWithOverflow="true"> |
---|
200 | <reportElement stretchType="RelativeToTallestObject" x="2" y="17" width="68" height="17" isPrintWhenDetailOverflows="true"/> |
---|
201 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
202 | <font fontName="Serif" size="8"/> |
---|
203 | </textElement> |
---|
204 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Model Number}]]></textFieldExpression> |
---|
205 | </textField> |
---|
206 | <textField isStretchWithOverflow="true"> |
---|
207 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="68" height="17" isPrintWhenDetailOverflows="true"/> |
---|
208 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
209 | <font fontName="Serif" size="8"/> |
---|
210 | </textElement> |
---|
211 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Manufacturer}]]></textFieldExpression> |
---|
212 | </textField> |
---|
213 | <line> |
---|
214 | <reportElement x="0" y="16" width="72" height="1" forecolor="#B3B3B3"/> |
---|
215 | </line> |
---|
216 | </jr:detailCell> |
---|
217 | </jr:column> |
---|
218 | <jr:column width="63"> |
---|
219 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
220 | <staticText> |
---|
221 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="59" height="32" isPrintWhenDetailOverflows="true"/> |
---|
222 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
223 | <font fontName="Serif" size="8"/> |
---|
224 | </textElement> |
---|
225 | <text><![CDATA[Hazards Identified]]></text> |
---|
226 | </staticText> |
---|
227 | </jr:columnHeader> |
---|
228 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
229 | <textField isStretchWithOverflow="true"> |
---|
230 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="59" height="35" isPrintWhenDetailOverflows="true"/> |
---|
231 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
232 | <font fontName="Serif" size="8"/> |
---|
233 | </textElement> |
---|
234 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Hazards Identified}]]></textFieldExpression> |
---|
235 | </textField> |
---|
236 | </jr:detailCell> |
---|
237 | </jr:column> |
---|
238 | <jr:column width="60"> |
---|
239 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
240 | <staticText> |
---|
241 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="32" isPrintWhenDetailOverflows="true"/> |
---|
242 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
243 | <font fontName="Serif" size="8"/> |
---|
244 | </textElement> |
---|
245 | <text><![CDATA[Risk Assesment (Y/N)]]></text> |
---|
246 | </staticText> |
---|
247 | </jr:columnHeader> |
---|
248 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
249 | <textField isStretchWithOverflow="true"> |
---|
250 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="35" isPrintWhenDetailOverflows="true"/> |
---|
251 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
252 | <font fontName="Serif" size="8"/> |
---|
253 | </textElement> |
---|
254 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Risk Assesment}]]></textFieldExpression> |
---|
255 | </textField> |
---|
256 | </jr:detailCell> |
---|
257 | </jr:column> |
---|
258 | <jr:column width="60"> |
---|
259 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
260 | <staticText> |
---|
261 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="32" isPrintWhenDetailOverflows="true"/> |
---|
262 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
263 | <font fontName="Serif" size="8"/> |
---|
264 | </textElement> |
---|
265 | <text><![CDATA[Safe Work Procedure (Y/N)]]></text> |
---|
266 | </staticText> |
---|
267 | </jr:columnHeader> |
---|
268 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
269 | <textField isStretchWithOverflow="true"> |
---|
270 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="35" isPrintWhenDetailOverflows="true"/> |
---|
271 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
272 | <font fontName="Serif" size="8"/> |
---|
273 | </textElement> |
---|
274 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Safe Work Procedure}]]></textFieldExpression> |
---|
275 | </textField> |
---|
276 | </jr:detailCell> |
---|
277 | </jr:column> |
---|
278 | <jr:column width="75"> |
---|
279 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
280 | <staticText> |
---|
281 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="71" height="32" isPrintWhenDetailOverflows="true"/> |
---|
282 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
283 | <font fontName="Serif" size="8"/> |
---|
284 | </textElement> |
---|
285 | <text><![CDATA[Maintenance Frequency]]></text> |
---|
286 | </staticText> |
---|
287 | </jr:columnHeader> |
---|
288 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
289 | <textField isStretchWithOverflow="true"> |
---|
290 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="71" height="35" isPrintWhenDetailOverflows="true"/> |
---|
291 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
292 | <font fontName="Serif" size="8"/> |
---|
293 | </textElement> |
---|
294 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Maintenance Frequency}]]></textFieldExpression> |
---|
295 | </textField> |
---|
296 | </jr:detailCell> |
---|
297 | </jr:column> |
---|
298 | <jr:column width="70"> |
---|
299 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
300 | <staticText> |
---|
301 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="66" height="32" isPrintWhenDetailOverflows="true"/> |
---|
302 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
303 | <font fontName="Serif" size="8"/> |
---|
304 | </textElement> |
---|
305 | <text><![CDATA[Maintenance Date]]></text> |
---|
306 | </staticText> |
---|
307 | </jr:columnHeader> |
---|
308 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
309 | <textField isStretchWithOverflow="true"> |
---|
310 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="66" height="35" isPrintWhenDetailOverflows="true"/> |
---|
311 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
312 | <font fontName="Serif" size="8"/> |
---|
313 | </textElement> |
---|
314 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Maintenance Date}]]></textFieldExpression> |
---|
315 | </textField> |
---|
316 | </jr:detailCell> |
---|
317 | </jr:column> |
---|
318 | <jr:column width="60"> |
---|
319 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
320 | <staticText> |
---|
321 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="32" isPrintWhenDetailOverflows="true"/> |
---|
322 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
323 | <font fontName="Serif" size="8"/> |
---|
324 | </textElement> |
---|
325 | <text><![CDATA[Registration Required (Y/N)]]></text> |
---|
326 | </staticText> |
---|
327 | </jr:columnHeader> |
---|
328 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
329 | <textField isStretchWithOverflow="true"> |
---|
330 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="35" isPrintWhenDetailOverflows="true"/> |
---|
331 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
332 | <font fontName="Serif" size="8"/> |
---|
333 | </textElement> |
---|
334 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Registration Required}]]></textFieldExpression> |
---|
335 | </textField> |
---|
336 | </jr:detailCell> |
---|
337 | </jr:column> |
---|
338 | <jr:column width="70"> |
---|
339 | <jr:columnHeader style="table_CH" height="32" rowSpan="1"> |
---|
340 | <staticText> |
---|
341 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="66" height="32" isPrintWhenDetailOverflows="true"/> |
---|
342 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
343 | <font fontName="Serif" size="8"/> |
---|
344 | </textElement> |
---|
345 | <text><![CDATA[Registration Expiry Date]]></text> |
---|
346 | </staticText> |
---|
347 | </jr:columnHeader> |
---|
348 | <jr:detailCell style="table_TD" height="36" rowSpan="1"> |
---|
349 | <textField isStretchWithOverflow="true"> |
---|
350 | <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="66" height="35" isPrintWhenDetailOverflows="true"/> |
---|
351 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
352 | <font fontName="Serif" size="8"/> |
---|
353 | </textElement> |
---|
354 | <textFieldExpression class="java.lang.String"><![CDATA[$F{Registration Expiry Date}]]></textFieldExpression> |
---|
355 | </textField> |
---|
356 | </jr:detailCell> |
---|
357 | </jr:column> |
---|
358 | </jr:table> |
---|
359 | </componentElement> |
---|
360 | </band> |
---|
361 | </detail> |
---|
362 | <columnFooter> |
---|
363 | <band splitType="Stretch"/> |
---|
364 | </columnFooter> |
---|
365 | <pageFooter> |
---|
366 | <band height="28" splitType="Prevent"> |
---|
367 | <textField pattern="dd-MMM-yyyy"> |
---|
368 | <reportElement x="50" y="2" width="200" height="12"/> |
---|
369 | <textElement> |
---|
370 | <font fontName="Serif" size="8"/> |
---|
371 | </textElement> |
---|
372 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
---|
373 | </textField> |
---|
374 | <textField> |
---|
375 | <reportElement x="704" y="14" width="80" height="12"/> |
---|
376 | <textElement textAlignment="Right"> |
---|
377 | <font fontName="Serif" size="8"/> |
---|
378 | </textElement> |
---|
379 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
---|
380 | </textField> |
---|
381 | <textField evaluationTime="Report"> |
---|
382 | <reportElement x="784" y="14" width="40" height="12"/> |
---|
383 | <textElement> |
---|
384 | <font fontName="Serif" size="8"/> |
---|
385 | </textElement> |
---|
386 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
---|
387 | </textField> |
---|
388 | <textField> |
---|
389 | <reportElement x="0" y="2" width="50" height="12"/> |
---|
390 | <textElement markup="none"> |
---|
391 | <font fontName="Serif" size="8"/> |
---|
392 | </textElement> |
---|
393 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
---|
394 | </textField> |
---|
395 | <textField> |
---|
396 | <reportElement x="50" y="14" width="200" height="12"/> |
---|
397 | <textElement markup="none"> |
---|
398 | <font fontName="Serif" size="8"/> |
---|
399 | </textElement> |
---|
400 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
---|
401 | </textField> |
---|
402 | <textField> |
---|
403 | <reportElement x="0" y="14" width="50" height="12"/> |
---|
404 | <textElement markup="none"> |
---|
405 | <font fontName="Serif" size="8"/> |
---|
406 | </textElement> |
---|
407 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
---|
408 | </textField> |
---|
409 | </band> |
---|
410 | </pageFooter> |
---|
411 | <lastPageFooter> |
---|
412 | <band height="28"> |
---|
413 | <textField evaluationTime="Report"> |
---|
414 | <reportElement x="784" y="14" width="40" height="12"/> |
---|
415 | <textElement> |
---|
416 | <font fontName="Serif" size="8"/> |
---|
417 | </textElement> |
---|
418 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
---|
419 | </textField> |
---|
420 | <textField pattern="dd-MMM-yyyy"> |
---|
421 | <reportElement x="50" y="2" width="200" height="12"/> |
---|
422 | <textElement> |
---|
423 | <font fontName="Serif" size="8"/> |
---|
424 | </textElement> |
---|
425 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
---|
426 | </textField> |
---|
427 | <textField> |
---|
428 | <reportElement x="0" y="2" width="50" height="12"/> |
---|
429 | <textElement markup="none"> |
---|
430 | <font fontName="Serif" size="8"/> |
---|
431 | </textElement> |
---|
432 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
---|
433 | </textField> |
---|
434 | <textField> |
---|
435 | <reportElement x="0" y="14" width="50" height="12"/> |
---|
436 | <textElement markup="none"> |
---|
437 | <font fontName="Serif" size="8"/> |
---|
438 | </textElement> |
---|
439 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
---|
440 | </textField> |
---|
441 | <textField> |
---|
442 | <reportElement x="50" y="14" width="200" height="12"/> |
---|
443 | <textElement markup="none"> |
---|
444 | <font fontName="Serif" size="8"/> |
---|
445 | </textElement> |
---|
446 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
---|
447 | </textField> |
---|
448 | <textField> |
---|
449 | <reportElement x="704" y="14" width="80" height="12"/> |
---|
450 | <textElement textAlignment="Right"> |
---|
451 | <font fontName="Serif" size="8"/> |
---|
452 | </textElement> |
---|
453 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
---|
454 | </textField> |
---|
455 | </band> |
---|
456 | </lastPageFooter> |
---|
457 | <summary> |
---|
458 | <band height="369"> |
---|
459 | <textField> |
---|
460 | <reportElement x="0" y="30" width="824" height="91"/> |
---|
461 | <textElement> |
---|
462 | <font fontName="Serif"/> |
---|
463 | </textElement> |
---|
464 | <textFieldExpression class="java.lang.String"><![CDATA["Asset Extended Attributes: \n"+$F{attribTypes}]]></textFieldExpression> |
---|
465 | </textField> |
---|
466 | </band> |
---|
467 | </summary> |
---|
468 | <noData> |
---|
469 | <band height="85" splitType="Stretch"> |
---|
470 | <textField> |
---|
471 | <reportElement x="0" y="35" width="824" height="50"/> |
---|
472 | <textElement textAlignment="Center" markup="none"> |
---|
473 | <font fontName="Serif" size="12" isBold="true"/> |
---|
474 | </textElement> |
---|
475 | <textFieldExpression class="java.lang.String"><![CDATA["No data to display. \n"+ |
---|
476 | "Please run report again."]]></textFieldExpression> |
---|
477 | </textField> |
---|
478 | <textField> |
---|
479 | <reportElement key="staticText-1" x="0" y="0" width="824" height="35"/> |
---|
480 | <textElement textAlignment="Center" markup="none"> |
---|
481 | <font fontName="Serif" size="18"/> |
---|
482 | </textElement> |
---|
483 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
---|
484 | </textField> |
---|
485 | </band> |
---|
486 | </noData> |
---|
487 | </jasperReport> |
---|