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="309"/> |
---|
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 | <subDataset name="dataset1"> |
---|
62 | <field name="name" class="java.lang.String"/> |
---|
63 | <field name="unitsInStock" class="java.lang.Integer"/> |
---|
64 | <field name="inventoryLocation" class="java.lang.Object"/> |
---|
65 | <field name="picture" class="java.lang.Object"/> |
---|
66 | <field name="unitOfMeasure" class="java.lang.Object"/> |
---|
67 | <field name="description" class="java.lang.String"/> |
---|
68 | <group name="group1"> |
---|
69 | <groupExpression><![CDATA[$F{inventoryLocation}.name]]></groupExpression> |
---|
70 | </group> |
---|
71 | </subDataset> |
---|
72 | <parameter name="reportTitle" class="java.lang.String"/> |
---|
73 | <parameter name="currentUser" class="java.lang.String"/> |
---|
74 | <parameter name="logoUrl" class="java.lang.String"/> |
---|
75 | <parameter name="locationString" class="java.lang.String"/> |
---|
76 | <queryString language="SQL"> |
---|
77 | <![CDATA[]]> |
---|
78 | </queryString> |
---|
79 | <field name="inventoryItemList" class="java.util.List"/> |
---|
80 | <field name="summaryOfCalculationMethod" class="java.lang.String"/> |
---|
81 | <field name="inventoryItemCount" class="java.lang.Integer"/> |
---|
82 | <field name="locations" class="java.lang.String"/> |
---|
83 | <field name="errorMessage" class="java.lang.String"/> |
---|
84 | <field name="locationCount" class="java.lang.Integer"/> |
---|
85 | <background> |
---|
86 | <band splitType="Stretch"/> |
---|
87 | </background> |
---|
88 | <pageHeader> |
---|
89 | <band height="93" splitType="Stretch"> |
---|
90 | <textField> |
---|
91 | <reportElement key="staticText-1" mode="Transparent" x="0" y="50" width="340" height="26" backcolor="#FFFFFF"/> |
---|
92 | <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> |
---|
93 | <font fontName="Serif" size="20"/> |
---|
94 | </textElement> |
---|
95 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
---|
96 | </textField> |
---|
97 | <image> |
---|
98 | <reportElement x="0" y="0" width="340" height="50"/> |
---|
99 | <imageExpression class="java.net.URL"><![CDATA[new URL($P{logoUrl})]]></imageExpression> |
---|
100 | </image> |
---|
101 | <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> |
---|
102 | <reportElement x="0" y="76" width="340" height="17"/> |
---|
103 | <textElement textAlignment="Center" verticalAlignment="Middle" markup="none"> |
---|
104 | <font fontName="Serif"/> |
---|
105 | </textElement> |
---|
106 | <textFieldExpression class="java.lang.String"><![CDATA["Total - Items: "+$F{inventoryItemCount}+", Locations: "+$F{locationCount}]]></textFieldExpression> |
---|
107 | </textField> |
---|
108 | <textField> |
---|
109 | <reportElement mode="Opaque" x="400" y="4" width="382" height="46" isPrintWhenDetailOverflows="true" forecolor="#FF0000" backcolor="#FFCCCC"> |
---|
110 | <printWhenExpression><![CDATA[$F{errorMessage} != null ? true:false]]></printWhenExpression> |
---|
111 | </reportElement> |
---|
112 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
113 | <font fontName="Serif" size="12" isBold="true"/> |
---|
114 | </textElement> |
---|
115 | <textFieldExpression class="java.lang.String"><![CDATA[$F{errorMessage}]]></textFieldExpression> |
---|
116 | </textField> |
---|
117 | </band> |
---|
118 | </pageHeader> |
---|
119 | <columnHeader> |
---|
120 | <band splitType="Stretch"/> |
---|
121 | </columnHeader> |
---|
122 | <detail> |
---|
123 | <band height="438" splitType="Stretch"> |
---|
124 | <componentElement> |
---|
125 | <reportElement key="table 1" x="0" y="0" width="782" height="438"/> |
---|
126 | <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"> |
---|
127 | <datasetRun subDataset="dataset1"> |
---|
128 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{inventoryItemList})]]></dataSourceExpression> |
---|
129 | </datasetRun> |
---|
130 | <jr:column width="127"> |
---|
131 | <jr:groupHeader groupName="group1"> |
---|
132 | <jr:cell height="20" rowSpan="1"> |
---|
133 | <textField isStretchWithOverflow="true"> |
---|
134 | <reportElement x="0" y="0" width="117" height="20"/> |
---|
135 | <textElement verticalAlignment="Middle"> |
---|
136 | <font fontName="Serif" size="12" isBold="true"/> |
---|
137 | </textElement> |
---|
138 | <textFieldExpression class="java.lang.String"><![CDATA[$F{inventoryLocation}.name+" in "+$F{inventoryLocation}.inventoryStore.name]]></textFieldExpression> |
---|
139 | </textField> |
---|
140 | </jr:cell> |
---|
141 | </jr:groupHeader> |
---|
142 | <jr:columnHeader style="table_CH" height="20" rowSpan="1"> |
---|
143 | <textField isStretchWithOverflow="true"> |
---|
144 | <reportElement x="0" y="0" width="117" height="20"/> |
---|
145 | <textElement verticalAlignment="Middle"> |
---|
146 | <font fontName="Serif" isBold="true"/> |
---|
147 | </textElement> |
---|
148 | <textFieldExpression class="java.lang.String"><![CDATA[$F{inventoryLocation}.name]]></textFieldExpression> |
---|
149 | </textField> |
---|
150 | </jr:columnHeader> |
---|
151 | <jr:detailCell style="table_TD" height="51" rowSpan="1"> |
---|
152 | <image hAlign="Center" vAlign="Middle"> |
---|
153 | <reportElement x="29" y="0" width="88" height="51"/> |
---|
154 | <imageExpression class="java.awt.Image"><![CDATA[net.sf.jasperreports.engine.util.JRImageLoader.loadImage($F{picture}.images.first().data)]]></imageExpression> |
---|
155 | </image> |
---|
156 | </jr:detailCell> |
---|
157 | </jr:column> |
---|
158 | <jr:column width="237"> |
---|
159 | <jr:columnHeader style="table_CH" height="20" rowSpan="1"> |
---|
160 | <textField isStretchWithOverflow="true"> |
---|
161 | <reportElement x="0" y="0" width="237" height="20"/> |
---|
162 | <textElement verticalAlignment="Middle"> |
---|
163 | <font fontName="Serif" isBold="true"/> |
---|
164 | </textElement> |
---|
165 | <textFieldExpression class="java.lang.String"><![CDATA["Inventory Item"]]></textFieldExpression> |
---|
166 | </textField> |
---|
167 | </jr:columnHeader> |
---|
168 | <jr:detailCell style="table_TD" height="51" rowSpan="1"> |
---|
169 | <textField isStretchWithOverflow="true"> |
---|
170 | <reportElement x="0" y="0" width="237" height="25"/> |
---|
171 | <textElement verticalAlignment="Top"> |
---|
172 | <font fontName="Serif"/> |
---|
173 | </textElement> |
---|
174 | <textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression> |
---|
175 | </textField> |
---|
176 | <textField isStretchWithOverflow="true"> |
---|
177 | <reportElement x="0" y="25" width="237" height="25"/> |
---|
178 | <textElement> |
---|
179 | <font fontName="Serif"/> |
---|
180 | </textElement> |
---|
181 | <textFieldExpression class="java.lang.String"><![CDATA[$F{description}]]></textFieldExpression> |
---|
182 | </textField> |
---|
183 | </jr:detailCell> |
---|
184 | </jr:column> |
---|
185 | <jr:column width="104"> |
---|
186 | <jr:columnHeader style="table_CH" height="20" rowSpan="1"> |
---|
187 | <textField isStretchWithOverflow="true"> |
---|
188 | <reportElement x="0" y="0" width="104" height="20"/> |
---|
189 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
190 | <font fontName="Serif" isBold="true"/> |
---|
191 | </textElement> |
---|
192 | <textFieldExpression class="java.lang.String"><![CDATA["In Stock"]]></textFieldExpression> |
---|
193 | </textField> |
---|
194 | </jr:columnHeader> |
---|
195 | <jr:detailCell style="table_TD" height="51" rowSpan="1"> |
---|
196 | <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"> |
---|
197 | <leftPen lineWidth="0.0"/> |
---|
198 | <rightPen lineWidth="0.0"/> |
---|
199 | </box> |
---|
200 | <textField isStretchWithOverflow="true"> |
---|
201 | <reportElement x="0" y="0" width="104" height="51"/> |
---|
202 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
203 | <font fontName="Serif"/> |
---|
204 | </textElement> |
---|
205 | <textFieldExpression class="java.lang.String"><![CDATA[$F{unitsInStock}+" "+$F{unitOfMeasure}.name]]></textFieldExpression> |
---|
206 | </textField> |
---|
207 | </jr:detailCell> |
---|
208 | </jr:column> |
---|
209 | <jr:column width="90"> |
---|
210 | <jr:columnHeader style="table_CH" height="20" rowSpan="1"> |
---|
211 | <textField isStretchWithOverflow="true"> |
---|
212 | <reportElement x="0" y="0" width="90" height="20"/> |
---|
213 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
214 | <font fontName="Serif" isBold="true"/> |
---|
215 | </textElement> |
---|
216 | <textFieldExpression class="java.lang.String"><![CDATA["Actual Stock"]]></textFieldExpression> |
---|
217 | </textField> |
---|
218 | </jr:columnHeader> |
---|
219 | <jr:detailCell style="table_TD" height="51" rowSpan="1"> |
---|
220 | <rectangle> |
---|
221 | <reportElement x="5" y="11" width="80" height="30"/> |
---|
222 | </rectangle> |
---|
223 | </jr:detailCell> |
---|
224 | </jr:column> |
---|
225 | <jr:column width="82"> |
---|
226 | <jr:columnHeader style="table_CH" height="20" rowSpan="1"> |
---|
227 | <textField isStretchWithOverflow="true"> |
---|
228 | <reportElement x="0" y="0" width="82" height="20"/> |
---|
229 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
---|
230 | <font fontName="Serif" isBold="true"/> |
---|
231 | </textElement> |
---|
232 | <textFieldExpression class="java.lang.String"><![CDATA["Correction Required"]]></textFieldExpression> |
---|
233 | </textField> |
---|
234 | </jr:columnHeader> |
---|
235 | <jr:detailCell style="table_TD" height="51" rowSpan="1"> |
---|
236 | <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"> |
---|
237 | <leftPen lineWidth="0.0"/> |
---|
238 | <rightPen lineWidth="0.0"/> |
---|
239 | </box> |
---|
240 | <rectangle radius="10"> |
---|
241 | <reportElement x="31" y="15" width="30" height="20"/> |
---|
242 | </rectangle> |
---|
243 | </jr:detailCell> |
---|
244 | </jr:column> |
---|
245 | <jr:column width="139"> |
---|
246 | <jr:columnHeader style="table_CH" height="20" rowSpan="1"> |
---|
247 | <textField isStretchWithOverflow="true"> |
---|
248 | <reportElement x="0" y="0" width="139" height="20"/> |
---|
249 | <textElement verticalAlignment="Middle"> |
---|
250 | <font fontName="Serif" isBold="true"/> |
---|
251 | </textElement> |
---|
252 | <textFieldExpression class="java.lang.String"><![CDATA["Notes"]]></textFieldExpression> |
---|
253 | </textField> |
---|
254 | </jr:columnHeader> |
---|
255 | <jr:detailCell style="table_TD" height="51" rowSpan="1"/> |
---|
256 | </jr:column> |
---|
257 | </jr:table> |
---|
258 | </componentElement> |
---|
259 | </band> |
---|
260 | </detail> |
---|
261 | <columnFooter> |
---|
262 | <band splitType="Stretch"/> |
---|
263 | </columnFooter> |
---|
264 | <pageFooter> |
---|
265 | <band height="34" splitType="Stretch"> |
---|
266 | <textField pattern="dd-MMM-yyyy"> |
---|
267 | <reportElement x="82" y="0" width="200" height="17"/> |
---|
268 | <textElement> |
---|
269 | <font fontName="Serif"/> |
---|
270 | </textElement> |
---|
271 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
---|
272 | </textField> |
---|
273 | <textField> |
---|
274 | <reportElement x="662" y="14" width="80" height="20"/> |
---|
275 | <textElement textAlignment="Right"> |
---|
276 | <font fontName="Serif"/> |
---|
277 | </textElement> |
---|
278 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
---|
279 | </textField> |
---|
280 | <textField evaluationTime="Report"> |
---|
281 | <reportElement x="742" y="14" width="40" height="20"/> |
---|
282 | <textElement> |
---|
283 | <font fontName="Serif"/> |
---|
284 | </textElement> |
---|
285 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
---|
286 | </textField> |
---|
287 | <textField> |
---|
288 | <reportElement x="0" y="0" width="82" height="17"/> |
---|
289 | <textElement markup="none"> |
---|
290 | <font fontName="Serif"/> |
---|
291 | </textElement> |
---|
292 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
---|
293 | </textField> |
---|
294 | <textField> |
---|
295 | <reportElement x="82" y="17" width="200" height="17"/> |
---|
296 | <textElement markup="none"> |
---|
297 | <font fontName="Serif"/> |
---|
298 | </textElement> |
---|
299 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
---|
300 | </textField> |
---|
301 | <textField> |
---|
302 | <reportElement x="0" y="17" width="82" height="17"/> |
---|
303 | <textElement markup="none"> |
---|
304 | <font fontName="Serif"/> |
---|
305 | </textElement> |
---|
306 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
---|
307 | </textField> |
---|
308 | </band> |
---|
309 | </pageFooter> |
---|
310 | <lastPageFooter> |
---|
311 | <band height="34"> |
---|
312 | <textField evaluationTime="Report"> |
---|
313 | <reportElement x="742" y="14" width="40" height="20"/> |
---|
314 | <textElement> |
---|
315 | <font fontName="Serif"/> |
---|
316 | </textElement> |
---|
317 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
---|
318 | </textField> |
---|
319 | <textField pattern="dd-MMM-yyyy"> |
---|
320 | <reportElement x="82" y="0" width="200" height="17"/> |
---|
321 | <textElement> |
---|
322 | <font fontName="Serif"/> |
---|
323 | </textElement> |
---|
324 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
---|
325 | </textField> |
---|
326 | <textField> |
---|
327 | <reportElement x="0" y="0" width="82" height="17"/> |
---|
328 | <textElement markup="none"> |
---|
329 | <font fontName="Serif"/> |
---|
330 | </textElement> |
---|
331 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
---|
332 | </textField> |
---|
333 | <textField> |
---|
334 | <reportElement x="0" y="17" width="82" height="17"/> |
---|
335 | <textElement markup="none"> |
---|
336 | <font fontName="Serif"/> |
---|
337 | </textElement> |
---|
338 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
---|
339 | </textField> |
---|
340 | <textField> |
---|
341 | <reportElement x="82" y="17" width="200" height="17"/> |
---|
342 | <textElement markup="none"> |
---|
343 | <font fontName="Serif"/> |
---|
344 | </textElement> |
---|
345 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
---|
346 | </textField> |
---|
347 | <textField> |
---|
348 | <reportElement x="662" y="14" width="80" height="20"/> |
---|
349 | <textElement textAlignment="Right"> |
---|
350 | <font fontName="Serif"/> |
---|
351 | </textElement> |
---|
352 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
---|
353 | </textField> |
---|
354 | </band> |
---|
355 | </lastPageFooter> |
---|
356 | <summary> |
---|
357 | <band height="369"> |
---|
358 | <textField> |
---|
359 | <reportElement key="staticText-1" x="221" y="12" width="340" height="30"/> |
---|
360 | <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> |
---|
361 | <font fontName="Serif" size="20"/> |
---|
362 | </textElement> |
---|
363 | <textFieldExpression class="java.lang.String"><![CDATA["Summary"]]></textFieldExpression> |
---|
364 | </textField> |
---|
365 | <textField isStretchWithOverflow="true"> |
---|
366 | <reportElement x="0" y="60" width="782" height="18"/> |
---|
367 | <textElement> |
---|
368 | <font fontName="Serif"/> |
---|
369 | </textElement> |
---|
370 | <textFieldExpression class="java.lang.String"><![CDATA[$F{summaryOfCalculationMethod}]]></textFieldExpression> |
---|
371 | </textField> |
---|
372 | <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> |
---|
373 | <reportElement x="0" y="125" width="782" height="17"/> |
---|
374 | <textElement verticalAlignment="Middle" markup="none"> |
---|
375 | <font fontName="Serif"/> |
---|
376 | </textElement> |
---|
377 | <textFieldExpression class="java.lang.String"><![CDATA["Locations found: "]]></textFieldExpression> |
---|
378 | </textField> |
---|
379 | <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> |
---|
380 | <reportElement x="14" y="143" width="768" height="17"/> |
---|
381 | <textElement verticalAlignment="Middle" markup="none"> |
---|
382 | <font fontName="Serif"/> |
---|
383 | </textElement> |
---|
384 | <textFieldExpression class="java.lang.String"><![CDATA[$F{locations}+"."]]></textFieldExpression> |
---|
385 | </textField> |
---|
386 | <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> |
---|
387 | <reportElement x="14" y="101" width="768" height="17"/> |
---|
388 | <textElement verticalAlignment="Middle" markup="none"> |
---|
389 | <font fontName="Serif"/> |
---|
390 | </textElement> |
---|
391 | <textFieldExpression class="java.lang.String"><![CDATA[$P{locationString}]]></textFieldExpression> |
---|
392 | </textField> |
---|
393 | <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy" isBlankWhenNull="true"> |
---|
394 | <reportElement x="0" y="84" width="782" height="17"/> |
---|
395 | <textElement verticalAlignment="Middle" markup="none"> |
---|
396 | <font fontName="Serif"/> |
---|
397 | </textElement> |
---|
398 | <textFieldExpression class="java.lang.String"><![CDATA["Locations requested ('e.g:' is ignored, '%' is a wild card that matches zero or more characters, '_' matches any single character): "]]></textFieldExpression> |
---|
399 | </textField> |
---|
400 | </band> |
---|
401 | </summary> |
---|
402 | <noData> |
---|
403 | <band height="85" splitType="Stretch"> |
---|
404 | <textField> |
---|
405 | <reportElement x="0" y="35" width="782" height="50"/> |
---|
406 | <textElement textAlignment="Center" markup="none"> |
---|
407 | <font fontName="Serif" size="14" isBold="true"/> |
---|
408 | </textElement> |
---|
409 | <textFieldExpression class="java.lang.String"><![CDATA["No data to display. \n"+ |
---|
410 | "Please run report again."]]></textFieldExpression> |
---|
411 | </textField> |
---|
412 | <textField> |
---|
413 | <reportElement key="staticText-1" x="0" y="0" width="782" height="35"/> |
---|
414 | <textElement textAlignment="Center" markup="none"> |
---|
415 | <font fontName="Serif" size="20"/> |
---|
416 | </textElement> |
---|
417 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
---|
418 | </textField> |
---|
419 | </band> |
---|
420 | </noData> |
---|
421 | </jasperReport> |
---|