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="782" leftMargin="30" rightMargin="30" topMargin="12" bottomMargin="12" 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.0"/> |
---|
6 | <property name="ireport.x" value="0"/> |
---|
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="Crosstab Data Text" isDefault="false" hAlign="Center"/> |
---|
12 | <style name="table" isDefault="false" fill="Solid" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"> |
---|
13 | <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"> |
---|
14 | <pen lineWidth="0.0" lineColor="#000000"/> |
---|
15 | <topPen lineWidth="0.0"/> |
---|
16 | <leftPen lineWidth="0.0"/> |
---|
17 | <bottomPen lineWidth="0.0"/> |
---|
18 | <rightPen lineWidth="0.0"/> |
---|
19 | </box> |
---|
20 | </style> |
---|
21 | <style name="table_TH" isDefault="false" mode="Opaque" backcolor="#C7C7C7" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"> |
---|
22 | <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"> |
---|
23 | <pen lineWidth="1.0" lineColor="#000000"/> |
---|
24 | <topPen lineWidth="1.0"/> |
---|
25 | <leftPen lineWidth="0.0"/> |
---|
26 | <bottomPen lineWidth="1.0"/> |
---|
27 | <rightPen lineWidth="0.0"/> |
---|
28 | </box> |
---|
29 | </style> |
---|
30 | <style name="table_CH" isDefault="false" mode="Opaque" backcolor="#FFFFFF" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"> |
---|
31 | <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"> |
---|
32 | <pen lineWidth="1.0" lineColor="#000000"/> |
---|
33 | <topPen lineWidth="0.0"/> |
---|
34 | <leftPen lineWidth="0.0"/> |
---|
35 | <bottomPen lineWidth="1.0"/> |
---|
36 | <rightPen lineWidth="0.0"/> |
---|
37 | </box> |
---|
38 | </style> |
---|
39 | <style name="table_TD" isDefault="false" mode="Opaque" backcolor="#FFFFFF" fontSize="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"> |
---|
40 | <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"> |
---|
41 | <pen lineWidth="1.0" lineColor="#000000"/> |
---|
42 | <topPen lineWidth="1.0"/> |
---|
43 | <leftPen lineWidth="0.0"/> |
---|
44 | <bottomPen lineWidth="1.0"/> |
---|
45 | <rightPen lineWidth="0.0"/> |
---|
46 | </box> |
---|
47 | <conditionalStyle> |
---|
48 | <conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression> |
---|
49 | <style isDefault="false" style="table_TD" backcolor="#F7F7F7"/> |
---|
50 | </conditionalStyle> |
---|
51 | </style> |
---|
52 | <style name="table_CF" isDefault="false" mode="Opaque" backcolor="#EDEDED" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false"> |
---|
53 | <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"> |
---|
54 | <pen lineWidth="1.0"/> |
---|
55 | <topPen lineWidth="1.0"/> |
---|
56 | <leftPen lineWidth="0.0"/> |
---|
57 | <bottomPen lineWidth="1.0"/> |
---|
58 | <rightPen lineWidth="0.0"/> |
---|
59 | </box> |
---|
60 | </style> |
---|
61 | <style name="horizontalBorder" isDefault="false"> |
---|
62 | <box> |
---|
63 | <leftPen lineWidth="0.0"/> |
---|
64 | <bottomPen lineWidth="0.5"/> |
---|
65 | <rightPen lineWidth="0.0"/> |
---|
66 | </box> |
---|
67 | </style> |
---|
68 | <subDataset name="dataset2_inventoryTypes"> |
---|
69 | <field name="name" class="java.lang.String"/> |
---|
70 | <field name="value" class="java.math.BigDecimal"/> |
---|
71 | </subDataset> |
---|
72 | <subDataset name="dataset3_inventoryGroups"> |
---|
73 | <field name="name" class="java.lang.String"/> |
---|
74 | <field name="value" class="java.math.BigDecimal"/> |
---|
75 | </subDataset> |
---|
76 | <parameter name="reportTitle" class="java.lang.String"/> |
---|
77 | <parameter name="currentUser" class="java.lang.String"/> |
---|
78 | <parameter name="logoUrl" class="java.lang.String"/> |
---|
79 | <queryString language="SQL"> |
---|
80 | <![CDATA[]]> |
---|
81 | </queryString> |
---|
82 | <field name="summaryOfCalculationMethod" class="java.lang.String"/> |
---|
83 | <field name="inventoryItemCount" class="java.lang.Integer"/> |
---|
84 | <field name="errorMessage" class="java.lang.String"/> |
---|
85 | <field name="inventoryItemTotalValue" class="java.math.BigDecimal"/> |
---|
86 | <field name="currency" class="java.lang.String"/> |
---|
87 | <field name="inventoryTypes" class="java.util.List"/> |
---|
88 | <field name="inventoryGroups" class="java.util.List"/> |
---|
89 | <field name="site" class="java.lang.Object"/> |
---|
90 | <field name="groups" class="java.util.List"/> |
---|
91 | <background> |
---|
92 | <band splitType="Stretch"/> |
---|
93 | </background> |
---|
94 | <pageHeader> |
---|
95 | <band height="54" splitType="Stretch"> |
---|
96 | <textField> |
---|
97 | <reportElement key="staticText-1" mode="Transparent" x="400" y="6" width="350" height="20" backcolor="#FFFFFF"/> |
---|
98 | <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> |
---|
99 | <font fontName="Serif" size="14"/> |
---|
100 | </textElement> |
---|
101 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
---|
102 | </textField> |
---|
103 | <image> |
---|
104 | <reportElement x="0" y="0" width="340" height="50"/> |
---|
105 | <imageExpression class="java.net.URL"><![CDATA[new URL($P{logoUrl})]]></imageExpression> |
---|
106 | </image> |
---|
107 | <textField> |
---|
108 | <reportElement x="400" y="26" width="350" height="18"/> |
---|
109 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
110 | <font fontName="Serif"/> |
---|
111 | </textElement> |
---|
112 | <textFieldExpression class="java.lang.String"><![CDATA["Site: "+$F{site}.name]]></textFieldExpression> |
---|
113 | </textField> |
---|
114 | </band> |
---|
115 | </pageHeader> |
---|
116 | <columnHeader> |
---|
117 | <band splitType="Stretch"/> |
---|
118 | </columnHeader> |
---|
119 | <detail> |
---|
120 | <band height="438" splitType="Stretch"> |
---|
121 | <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
---|
122 | <reportElement x="0" y="27" width="105" height="17" isPrintWhenDetailOverflows="true"/> |
---|
123 | <textElement verticalAlignment="Middle" markup="none"> |
---|
124 | <font fontName="Serif" size="12" isBold="false"/> |
---|
125 | </textElement> |
---|
126 | <textFieldExpression class="java.lang.String"><![CDATA["Total Value("+$F{currency}+"): "]]></textFieldExpression> |
---|
127 | </textField> |
---|
128 | <textField isStretchWithOverflow="true" pattern="# ##0" isBlankWhenNull="true"> |
---|
129 | <reportElement x="105" y="44" width="235" height="17" isPrintWhenDetailOverflows="true"/> |
---|
130 | <textElement verticalAlignment="Middle" markup="none"> |
---|
131 | <font fontName="Serif"/> |
---|
132 | </textElement> |
---|
133 | <textFieldExpression class="java.lang.Integer"><![CDATA[$F{inventoryItemCount}]]></textFieldExpression> |
---|
134 | </textField> |
---|
135 | <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> |
---|
136 | <reportElement x="105" y="27" width="235" height="17" isPrintWhenDetailOverflows="true"/> |
---|
137 | <textElement verticalAlignment="Middle" markup="none"> |
---|
138 | <font fontName="Serif" size="12" isBold="false"/> |
---|
139 | </textElement> |
---|
140 | <textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{inventoryItemTotalValue}]]></textFieldExpression> |
---|
141 | </textField> |
---|
142 | <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
---|
143 | <reportElement x="0" y="44" width="105" height="17" isPrintWhenDetailOverflows="true"/> |
---|
144 | <textElement verticalAlignment="Middle" markup="none"> |
---|
145 | <font fontName="Serif"/> |
---|
146 | </textElement> |
---|
147 | <textFieldExpression class="java.lang.String"><![CDATA["Inventory Items: "]]></textFieldExpression> |
---|
148 | </textField> |
---|
149 | <textField isStretchWithOverflow="true"> |
---|
150 | <reportElement x="0" y="105" width="340" height="31"/> |
---|
151 | <textElement> |
---|
152 | <font fontName="Serif"/> |
---|
153 | </textElement> |
---|
154 | <textFieldExpression class="java.lang.String"><![CDATA[$F{summaryOfCalculationMethod}]]></textFieldExpression> |
---|
155 | </textField> |
---|
156 | <textField> |
---|
157 | <reportElement mode="Opaque" x="0" y="72" width="340" height="29" forecolor="#FF0000" backcolor="#FFCCCC"> |
---|
158 | <printWhenExpression><![CDATA[$F{errorMessage} != null ? true:false]]></printWhenExpression> |
---|
159 | </reportElement> |
---|
160 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
161 | <font fontName="Serif" size="12" isBold="true"/> |
---|
162 | </textElement> |
---|
163 | <textFieldExpression class="java.lang.String"><![CDATA[$F{errorMessage}]]></textFieldExpression> |
---|
164 | </textField> |
---|
165 | <textField> |
---|
166 | <reportElement style="horizontalBorder" x="400" y="148" width="335" height="17"/> |
---|
167 | <textElement verticalAlignment="Middle"> |
---|
168 | <font fontName="Serif" size="12" isBold="false"/> |
---|
169 | </textElement> |
---|
170 | <textFieldExpression class="java.lang.String"><![CDATA["Inventory Types"]]></textFieldExpression> |
---|
171 | </textField> |
---|
172 | <componentElement> |
---|
173 | <reportElement stretchType="RelativeToTallestObject" x="400" y="199" width="335" height="17" isPrintWhenDetailOverflows="true"/> |
---|
174 | <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> |
---|
175 | <datasetRun subDataset="dataset2_inventoryTypes"> |
---|
176 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{inventoryTypes})]]></dataSourceExpression> |
---|
177 | </datasetRun> |
---|
178 | <jr:listContents height="17" width="335"> |
---|
179 | <textField> |
---|
180 | <reportElement style="horizontalBorder" x="0" y="0" width="235" height="17"/> |
---|
181 | <textElement verticalAlignment="Middle"> |
---|
182 | <font fontName="Serif"/> |
---|
183 | </textElement> |
---|
184 | <textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression> |
---|
185 | </textField> |
---|
186 | <textField pattern="#,##0.00"> |
---|
187 | <reportElement style="horizontalBorder" x="235" y="0" width="100" height="17"/> |
---|
188 | <textElement verticalAlignment="Middle"> |
---|
189 | <font fontName="Serif"/> |
---|
190 | </textElement> |
---|
191 | <textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{value}]]></textFieldExpression> |
---|
192 | </textField> |
---|
193 | </jr:listContents> |
---|
194 | </jr:list> |
---|
195 | </componentElement> |
---|
196 | <textField> |
---|
197 | <reportElement style="horizontalBorder" x="0" y="148" width="335" height="17"/> |
---|
198 | <textElement verticalAlignment="Middle"> |
---|
199 | <font fontName="Serif" size="12" isBold="false"/> |
---|
200 | </textElement> |
---|
201 | <textFieldExpression class="java.lang.String"><![CDATA["Inventory Groups"]]></textFieldExpression> |
---|
202 | </textField> |
---|
203 | <componentElement> |
---|
204 | <reportElement stretchType="RelativeToTallestObject" x="0" y="199" width="335" height="17" isPrintWhenDetailOverflows="true"/> |
---|
205 | <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> |
---|
206 | <datasetRun subDataset="dataset3_inventoryGroups"> |
---|
207 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{inventoryGroups})]]></dataSourceExpression> |
---|
208 | </datasetRun> |
---|
209 | <jr:listContents height="17" width="335"> |
---|
210 | <textField> |
---|
211 | <reportElement style="horizontalBorder" x="0" y="0" width="235" height="17"/> |
---|
212 | <textElement verticalAlignment="Middle"> |
---|
213 | <font fontName="Serif"/> |
---|
214 | </textElement> |
---|
215 | <textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression> |
---|
216 | </textField> |
---|
217 | <textField pattern="#,##0.00"> |
---|
218 | <reportElement style="horizontalBorder" x="235" y="0" width="100" height="17"/> |
---|
219 | <textElement verticalAlignment="Middle"> |
---|
220 | <font fontName="Serif"/> |
---|
221 | </textElement> |
---|
222 | <textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{value}]]></textFieldExpression> |
---|
223 | </textField> |
---|
224 | </jr:listContents> |
---|
225 | </jr:list> |
---|
226 | </componentElement> |
---|
227 | <textField> |
---|
228 | <reportElement style="horizontalBorder" x="0" y="165" width="235" height="17"/> |
---|
229 | <textElement verticalAlignment="Middle"> |
---|
230 | <font fontName="Serif" size="12" isBold="false"/> |
---|
231 | </textElement> |
---|
232 | <textFieldExpression class="java.lang.String"><![CDATA["Name"]]></textFieldExpression> |
---|
233 | </textField> |
---|
234 | <textField> |
---|
235 | <reportElement style="horizontalBorder" x="235" y="165" width="100" height="17"/> |
---|
236 | <textElement verticalAlignment="Middle"> |
---|
237 | <font fontName="Serif" size="12" isBold="false"/> |
---|
238 | </textElement> |
---|
239 | <textFieldExpression class="java.lang.String"><![CDATA["Value("+$F{currency}+")"]]></textFieldExpression> |
---|
240 | </textField> |
---|
241 | <textField> |
---|
242 | <reportElement style="horizontalBorder" x="635" y="165" width="100" height="17"/> |
---|
243 | <textElement verticalAlignment="Middle"> |
---|
244 | <font fontName="Serif" size="12" isBold="false"/> |
---|
245 | </textElement> |
---|
246 | <textFieldExpression class="java.lang.String"><![CDATA["Value("+$F{currency}+")"]]></textFieldExpression> |
---|
247 | </textField> |
---|
248 | <textField> |
---|
249 | <reportElement style="horizontalBorder" x="400" y="165" width="235" height="17"/> |
---|
250 | <textElement verticalAlignment="Middle"> |
---|
251 | <font fontName="Serif" size="12" isBold="false"/> |
---|
252 | </textElement> |
---|
253 | <textFieldExpression class="java.lang.String"><![CDATA["Name"]]></textFieldExpression> |
---|
254 | </textField> |
---|
255 | <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
---|
256 | <reportElement style="horizontalBorder" x="0" y="182" width="235" height="17" isPrintWhenDetailOverflows="true"/> |
---|
257 | <textElement verticalAlignment="Middle" markup="none"> |
---|
258 | <font fontName="Serif" size="10" isBold="false"/> |
---|
259 | </textElement> |
---|
260 | <textFieldExpression class="java.lang.String"><![CDATA["Total Value:"]]></textFieldExpression> |
---|
261 | </textField> |
---|
262 | <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> |
---|
263 | <reportElement style="horizontalBorder" x="235" y="182" width="100" height="17" isPrintWhenDetailOverflows="true"/> |
---|
264 | <textElement verticalAlignment="Middle" markup="none"> |
---|
265 | <font fontName="Serif" size="10" isBold="false"/> |
---|
266 | </textElement> |
---|
267 | <textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{inventoryItemTotalValue}]]></textFieldExpression> |
---|
268 | </textField> |
---|
269 | <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
---|
270 | <reportElement style="horizontalBorder" x="400" y="182" width="235" height="17" isPrintWhenDetailOverflows="true"/> |
---|
271 | <textElement verticalAlignment="Middle" markup="none"> |
---|
272 | <font fontName="Serif" size="10" isBold="false"/> |
---|
273 | </textElement> |
---|
274 | <textFieldExpression class="java.lang.String"><![CDATA["Total Value:"]]></textFieldExpression> |
---|
275 | </textField> |
---|
276 | <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> |
---|
277 | <reportElement style="horizontalBorder" x="635" y="182" width="100" height="17" isPrintWhenDetailOverflows="true"/> |
---|
278 | <textElement verticalAlignment="Middle" markup="none"> |
---|
279 | <font fontName="Serif" size="10" isBold="false"/> |
---|
280 | </textElement> |
---|
281 | <textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{inventoryItemTotalValue}]]></textFieldExpression> |
---|
282 | </textField> |
---|
283 | </band> |
---|
284 | </detail> |
---|
285 | <columnFooter> |
---|
286 | <band splitType="Stretch"/> |
---|
287 | </columnFooter> |
---|
288 | <pageFooter> |
---|
289 | <band height="28" splitType="Stretch"> |
---|
290 | <textField> |
---|
291 | <reportElement x="0" y="14" width="50" height="12"/> |
---|
292 | <textElement markup="none"> |
---|
293 | <font fontName="Serif" size="8"/> |
---|
294 | </textElement> |
---|
295 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
---|
296 | </textField> |
---|
297 | <textField> |
---|
298 | <reportElement x="0" y="2" width="50" height="12"/> |
---|
299 | <textElement markup="none"> |
---|
300 | <font fontName="Serif" size="8"/> |
---|
301 | </textElement> |
---|
302 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
---|
303 | </textField> |
---|
304 | <textField> |
---|
305 | <reportElement x="50" y="14" width="200" height="12"/> |
---|
306 | <textElement markup="none"> |
---|
307 | <font fontName="Serif" size="8"/> |
---|
308 | </textElement> |
---|
309 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
---|
310 | </textField> |
---|
311 | <textField pattern="dd-MMM-yyyy"> |
---|
312 | <reportElement x="50" y="2" width="200" height="12"/> |
---|
313 | <textElement> |
---|
314 | <font fontName="Serif" size="8"/> |
---|
315 | </textElement> |
---|
316 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
---|
317 | </textField> |
---|
318 | <textField> |
---|
319 | <reportElement x="662" y="14" width="80" height="12"/> |
---|
320 | <textElement textAlignment="Right"> |
---|
321 | <font fontName="Serif" size="8"/> |
---|
322 | </textElement> |
---|
323 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
---|
324 | </textField> |
---|
325 | <textField evaluationTime="Report"> |
---|
326 | <reportElement x="742" y="14" width="40" height="12"/> |
---|
327 | <textElement> |
---|
328 | <font fontName="Serif" size="8"/> |
---|
329 | </textElement> |
---|
330 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
---|
331 | </textField> |
---|
332 | </band> |
---|
333 | </pageFooter> |
---|
334 | <lastPageFooter> |
---|
335 | <band height="28"> |
---|
336 | <textField> |
---|
337 | <reportElement x="50" y="14" width="200" height="12"/> |
---|
338 | <textElement markup="none"> |
---|
339 | <font fontName="Serif" size="8"/> |
---|
340 | </textElement> |
---|
341 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
---|
342 | </textField> |
---|
343 | <textField> |
---|
344 | <reportElement x="0" y="2" width="50" height="12"/> |
---|
345 | <textElement markup="none"> |
---|
346 | <font fontName="Serif" size="8"/> |
---|
347 | </textElement> |
---|
348 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
---|
349 | </textField> |
---|
350 | <textField> |
---|
351 | <reportElement x="0" y="14" width="50" height="12"/> |
---|
352 | <textElement markup="none"> |
---|
353 | <font fontName="Serif" size="8"/> |
---|
354 | </textElement> |
---|
355 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
---|
356 | </textField> |
---|
357 | <textField pattern="dd-MMM-yyyy"> |
---|
358 | <reportElement x="50" y="2" width="200" height="12"/> |
---|
359 | <textElement> |
---|
360 | <font fontName="Serif" size="8"/> |
---|
361 | </textElement> |
---|
362 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
---|
363 | </textField> |
---|
364 | <textField evaluationTime="Report"> |
---|
365 | <reportElement x="742" y="14" width="40" height="12"/> |
---|
366 | <textElement> |
---|
367 | <font fontName="Serif" size="8"/> |
---|
368 | </textElement> |
---|
369 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
---|
370 | </textField> |
---|
371 | <textField> |
---|
372 | <reportElement x="662" y="14" width="80" height="12"/> |
---|
373 | <textElement textAlignment="Right"> |
---|
374 | <font fontName="Serif" size="8"/> |
---|
375 | </textElement> |
---|
376 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
---|
377 | </textField> |
---|
378 | </band> |
---|
379 | </lastPageFooter> |
---|
380 | <noData> |
---|
381 | <band height="85" splitType="Stretch"> |
---|
382 | <textField> |
---|
383 | <reportElement x="0" y="35" width="782" height="50"/> |
---|
384 | <textElement textAlignment="Center" markup="none"> |
---|
385 | <font fontName="Serif" size="14" isBold="true"/> |
---|
386 | </textElement> |
---|
387 | <textFieldExpression class="java.lang.String"><![CDATA["No data to display. \n"+ |
---|
388 | "Please run report again."]]></textFieldExpression> |
---|
389 | </textField> |
---|
390 | <textField> |
---|
391 | <reportElement key="staticText-1" x="0" y="0" width="782" height="35"/> |
---|
392 | <textElement textAlignment="Center" markup="none"> |
---|
393 | <font fontName="Serif" size="20"/> |
---|
394 | </textElement> |
---|
395 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
---|
396 | </textField> |
---|
397 | </band> |
---|
398 | </noData> |
---|
399 | </jasperReport> |
---|