| 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="20" bottomMargin="20" 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="384"/> |
|---|
| 8 | <import value="java.util.*"/> |
|---|
| 9 | <import value="net.sf.jasperreports.engine.*"/> |
|---|
| 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="id" class="java.lang.Long"/> |
|---|
| 63 | <field name="name" class="java.lang.String"/> |
|---|
| 64 | <field name="immediateCalloutCount" class="java.lang.Integer"/> |
|---|
| 65 | <field name="immediateCalloutTaskList" class="java.util.List"/> |
|---|
| 66 | <field name="downTime" class="java.lang.Integer"/> |
|---|
| 67 | <variable name="immediateCalloutSum" class="java.lang.Integer" calculation="Sum"> |
|---|
| 68 | <variableExpression><![CDATA[$F{immediateCalloutCount}]]></variableExpression> |
|---|
| 69 | </variable> |
|---|
| 70 | <group name="assetName"> |
|---|
| 71 | <groupExpression><![CDATA[$F{name}]]></groupExpression> |
|---|
| 72 | </group> |
|---|
| 73 | </subDataset> |
|---|
| 74 | <parameter name="reportTitle" class="java.lang.String"/> |
|---|
| 75 | <parameter name="currentUser" class="java.lang.String"/> |
|---|
| 76 | <parameter name="logoUrl" class="java.lang.String"/> |
|---|
| 77 | <parameter name="startDateString" class="java.lang.String"/> |
|---|
| 78 | <parameter name="endDateString" class="java.lang.String"/> |
|---|
| 79 | <queryString language="hql"> |
|---|
| 80 | <![CDATA[]]> |
|---|
| 81 | </queryString> |
|---|
| 82 | <field name="taskList" class="java.util.List"/> |
|---|
| 83 | <field name="summaryOfCalculationMethod" class="java.lang.String"/> |
|---|
| 84 | <field name="totalAssetsOnTasksCount" class="java.lang.String"/> |
|---|
| 85 | <field name="assetList" class="java.util.List"/> |
|---|
| 86 | <background> |
|---|
| 87 | <band splitType="Stretch"/> |
|---|
| 88 | </background> |
|---|
| 89 | <pageHeader> |
|---|
| 90 | <band height="121" splitType="Stretch"> |
|---|
| 91 | <textField> |
|---|
| 92 | <reportElement key="staticText-1" x="0" y="57" width="340" height="30"/> |
|---|
| 93 | <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> |
|---|
| 94 | <font size="20"/> |
|---|
| 95 | </textElement> |
|---|
| 96 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
|---|
| 97 | </textField> |
|---|
| 98 | <image> |
|---|
| 99 | <reportElement x="0" y="0" width="340" height="57"/> |
|---|
| 100 | <imageExpression class="java.net.URL"><![CDATA[new URL($P{logoUrl})]]></imageExpression> |
|---|
| 101 | </image> |
|---|
| 102 | <textField pattern="dd-MMM-yyyy" isBlankWhenNull="true"> |
|---|
| 103 | <reportElement x="0" y="87" width="340" height="20"/> |
|---|
| 104 | <textElement textAlignment="Center" verticalAlignment="Middle" markup="none"/> |
|---|
| 105 | <textFieldExpression class="java.lang.String"><![CDATA[$P{startDateString}+" to "+$P{endDateString}]]></textFieldExpression> |
|---|
| 106 | </textField> |
|---|
| 107 | </band> |
|---|
| 108 | </pageHeader> |
|---|
| 109 | <columnHeader> |
|---|
| 110 | <band splitType="Stretch"/> |
|---|
| 111 | </columnHeader> |
|---|
| 112 | <detail> |
|---|
| 113 | <band height="394" splitType="Stretch"> |
|---|
| 114 | <componentElement> |
|---|
| 115 | <reportElement key="table" style="table" x="0" y="0" width="377" height="394"/> |
|---|
| 116 | <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"> |
|---|
| 117 | <datasetRun subDataset="dataset1"> |
|---|
| 118 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{assetList})]]></dataSourceExpression> |
|---|
| 119 | </datasetRun> |
|---|
| 120 | <jr:column width="160"> |
|---|
| 121 | <jr:columnHeader style="table_CH" height="30" rowSpan="1"> |
|---|
| 122 | <textField> |
|---|
| 123 | <reportElement x="0" y="0" width="160" height="30"/> |
|---|
| 124 | <textElement verticalAlignment="Middle"> |
|---|
| 125 | <font fontName="Serif" size="12" isBold="true"/> |
|---|
| 126 | </textElement> |
|---|
| 127 | <textFieldExpression class="java.lang.String"><![CDATA["Asset"]]></textFieldExpression> |
|---|
| 128 | </textField> |
|---|
| 129 | </jr:columnHeader> |
|---|
| 130 | <jr:columnFooter style="table_CF" height="30" rowSpan="1"> |
|---|
| 131 | <textField> |
|---|
| 132 | <reportElement x="0" y="0" width="160" height="30"/> |
|---|
| 133 | <textElement verticalAlignment="Middle"> |
|---|
| 134 | <font fontName="Serif" size="12" isBold="true"/> |
|---|
| 135 | </textElement> |
|---|
| 136 | <textFieldExpression class="java.lang.String"><![CDATA["Total"]]></textFieldExpression> |
|---|
| 137 | </textField> |
|---|
| 138 | </jr:columnFooter> |
|---|
| 139 | <jr:detailCell style="table_TD" height="30" rowSpan="1"> |
|---|
| 140 | <textField> |
|---|
| 141 | <reportElement x="0" y="0" width="160" height="30"/> |
|---|
| 142 | <textElement verticalAlignment="Middle"> |
|---|
| 143 | <font fontName="Serif" isBold="false" isItalic="false"/> |
|---|
| 144 | </textElement> |
|---|
| 145 | <textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression> |
|---|
| 146 | </textField> |
|---|
| 147 | </jr:detailCell> |
|---|
| 148 | </jr:column> |
|---|
| 149 | <jr:column width="55"> |
|---|
| 150 | <jr:columnHeader height="30" rowSpan="1"> |
|---|
| 151 | <textField> |
|---|
| 152 | <reportElement x="0" y="0" width="55" height="30"/> |
|---|
| 153 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
|---|
| 154 | <font fontName="Serif" size="12" isBold="true"/> |
|---|
| 155 | </textElement> |
|---|
| 156 | <textFieldExpression class="java.lang.String"><![CDATA["Callouts"]]></textFieldExpression> |
|---|
| 157 | </textField> |
|---|
| 158 | </jr:columnHeader> |
|---|
| 159 | <jr:columnFooter style="table_CF" height="30" rowSpan="1"> |
|---|
| 160 | <textField> |
|---|
| 161 | <reportElement x="0" y="0" width="55" height="30"/> |
|---|
| 162 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
|---|
| 163 | <font fontName="Serif" size="12" isBold="true"/> |
|---|
| 164 | </textElement> |
|---|
| 165 | <textFieldExpression class="java.lang.Integer"><![CDATA[$V{immediateCalloutSum}]]></textFieldExpression> |
|---|
| 166 | </textField> |
|---|
| 167 | </jr:columnFooter> |
|---|
| 168 | <jr:detailCell style="table_TD" height="30" rowSpan="1"> |
|---|
| 169 | <textField> |
|---|
| 170 | <reportElement x="0" y="0" width="55" height="30"/> |
|---|
| 171 | <textElement textAlignment="Center" verticalAlignment="Middle"> |
|---|
| 172 | <font fontName="Serif" isBold="false"/> |
|---|
| 173 | </textElement> |
|---|
| 174 | <textFieldExpression class="java.lang.Integer"><![CDATA[$F{immediateCalloutCount}]]></textFieldExpression> |
|---|
| 175 | </textField> |
|---|
| 176 | </jr:detailCell> |
|---|
| 177 | </jr:column> |
|---|
| 178 | <jr:column width="159"> |
|---|
| 179 | <jr:columnHeader style="table_CH" height="30" rowSpan="1"> |
|---|
| 180 | <textField> |
|---|
| 181 | <reportElement x="0" y="0" width="159" height="30"/> |
|---|
| 182 | <textElement verticalAlignment="Middle"> |
|---|
| 183 | <font fontName="Serif" size="12" isBold="true"/> |
|---|
| 184 | </textElement> |
|---|
| 185 | <textFieldExpression class="java.lang.String"><![CDATA["Tasks"]]></textFieldExpression> |
|---|
| 186 | </textField> |
|---|
| 187 | </jr:columnHeader> |
|---|
| 188 | <jr:columnFooter style="table_CF" height="30" rowSpan="1"/> |
|---|
| 189 | <jr:detailCell style="table_TD" height="30" rowSpan="1"> |
|---|
| 190 | <textField> |
|---|
| 191 | <reportElement x="0" y="0" width="159" height="30"/> |
|---|
| 192 | <textElement verticalAlignment="Middle"> |
|---|
| 193 | <font fontName="Serif" size="10" isBold="false"/> |
|---|
| 194 | </textElement> |
|---|
| 195 | <textFieldExpression class="java.lang.String"><![CDATA[$F{immediateCalloutTaskList}]]></textFieldExpression> |
|---|
| 196 | </textField> |
|---|
| 197 | </jr:detailCell> |
|---|
| 198 | </jr:column> |
|---|
| 199 | </jr:table> |
|---|
| 200 | </componentElement> |
|---|
| 201 | <pie3DChart> |
|---|
| 202 | <chart> |
|---|
| 203 | <reportElement x="416" y="0" width="366" height="301"/> |
|---|
| 204 | <chartTitle/> |
|---|
| 205 | <chartSubtitle/> |
|---|
| 206 | <chartLegend/> |
|---|
| 207 | </chart> |
|---|
| 208 | <pieDataset> |
|---|
| 209 | <dataset> |
|---|
| 210 | <datasetRun subDataset="dataset1"> |
|---|
| 211 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{assetList})]]></dataSourceExpression> |
|---|
| 212 | </datasetRun> |
|---|
| 213 | </dataset> |
|---|
| 214 | <keyExpression><![CDATA[$F{name}]]></keyExpression> |
|---|
| 215 | <valueExpression><![CDATA[$F{immediateCalloutCount}]]></valueExpression> |
|---|
| 216 | </pieDataset> |
|---|
| 217 | <pie3DPlot depthFactor="0.1" isCircular="false" labelFormat="{2}"> |
|---|
| 218 | <plot/> |
|---|
| 219 | <itemLabel color="#000000" backgroundColor="#FFFFFF"/> |
|---|
| 220 | </pie3DPlot> |
|---|
| 221 | </pie3DChart> |
|---|
| 222 | </band> |
|---|
| 223 | <band height="394"> |
|---|
| 224 | <bar3DChart> |
|---|
| 225 | <chart> |
|---|
| 226 | <reportElement x="0" y="0" width="782" height="212"/> |
|---|
| 227 | <chartTitle/> |
|---|
| 228 | <chartSubtitle/> |
|---|
| 229 | <chartLegend/> |
|---|
| 230 | </chart> |
|---|
| 231 | <categoryDataset> |
|---|
| 232 | <dataset> |
|---|
| 233 | <datasetRun subDataset="dataset1"> |
|---|
| 234 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{assetList})]]></dataSourceExpression> |
|---|
| 235 | </datasetRun> |
|---|
| 236 | </dataset> |
|---|
| 237 | <categorySeries> |
|---|
| 238 | <seriesExpression><![CDATA["Immediate Callouts"]]></seriesExpression> |
|---|
| 239 | <categoryExpression><![CDATA[$F{name}]]></categoryExpression> |
|---|
| 240 | <valueExpression><![CDATA[$F{immediateCalloutCount}]]></valueExpression> |
|---|
| 241 | </categorySeries> |
|---|
| 242 | </categoryDataset> |
|---|
| 243 | <bar3DPlot isShowLabels="true"> |
|---|
| 244 | <plot labelRotation="-60.0"/> |
|---|
| 245 | <itemLabel color="#000000" backgroundColor="#FFFFFF"/> |
|---|
| 246 | <categoryAxisFormat labelRotation="-60.0"> |
|---|
| 247 | <axisFormat> |
|---|
| 248 | <labelFont/> |
|---|
| 249 | <tickLabelFont/> |
|---|
| 250 | </axisFormat> |
|---|
| 251 | </categoryAxisFormat> |
|---|
| 252 | <valueAxisFormat> |
|---|
| 253 | <axisFormat> |
|---|
| 254 | <labelFont/> |
|---|
| 255 | <tickLabelFont/> |
|---|
| 256 | </axisFormat> |
|---|
| 257 | </valueAxisFormat> |
|---|
| 258 | </bar3DPlot> |
|---|
| 259 | </bar3DChart> |
|---|
| 260 | <bar3DChart> |
|---|
| 261 | <chart> |
|---|
| 262 | <reportElement x="0" y="212" width="782" height="182"/> |
|---|
| 263 | <chartTitle/> |
|---|
| 264 | <chartSubtitle/> |
|---|
| 265 | <chartLegend/> |
|---|
| 266 | </chart> |
|---|
| 267 | <categoryDataset> |
|---|
| 268 | <dataset> |
|---|
| 269 | <datasetRun subDataset="dataset1"> |
|---|
| 270 | <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{assetList})]]></dataSourceExpression> |
|---|
| 271 | </datasetRun> |
|---|
| 272 | </dataset> |
|---|
| 273 | <categorySeries> |
|---|
| 274 | <seriesExpression><![CDATA["Down Time"]]></seriesExpression> |
|---|
| 275 | <categoryExpression><![CDATA[$F{name}]]></categoryExpression> |
|---|
| 276 | <valueExpression><![CDATA[$F{downTime}]]></valueExpression> |
|---|
| 277 | </categorySeries> |
|---|
| 278 | </categoryDataset> |
|---|
| 279 | <bar3DPlot isShowLabels="true"> |
|---|
| 280 | <plot labelRotation="-60.0"> |
|---|
| 281 | <seriesColor seriesOrder="0" color="#FF9900"/> |
|---|
| 282 | </plot> |
|---|
| 283 | <itemLabel color="#000000" backgroundColor="#FFFFFF"/> |
|---|
| 284 | <categoryAxisFormat labelRotation="-60.0"> |
|---|
| 285 | <axisFormat> |
|---|
| 286 | <labelFont/> |
|---|
| 287 | <tickLabelFont/> |
|---|
| 288 | </axisFormat> |
|---|
| 289 | </categoryAxisFormat> |
|---|
| 290 | <valueAxisFormat> |
|---|
| 291 | <axisFormat> |
|---|
| 292 | <labelFont/> |
|---|
| 293 | <tickLabelFont/> |
|---|
| 294 | </axisFormat> |
|---|
| 295 | </valueAxisFormat> |
|---|
| 296 | </bar3DPlot> |
|---|
| 297 | </bar3DChart> |
|---|
| 298 | </band> |
|---|
| 299 | </detail> |
|---|
| 300 | <columnFooter> |
|---|
| 301 | <band splitType="Stretch"/> |
|---|
| 302 | </columnFooter> |
|---|
| 303 | <pageFooter> |
|---|
| 304 | <band height="40" splitType="Stretch"> |
|---|
| 305 | <textField pattern="dd-MMM-yyyy"> |
|---|
| 306 | <reportElement x="82" y="0" width="200" height="20"/> |
|---|
| 307 | <textElement/> |
|---|
| 308 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
|---|
| 309 | </textField> |
|---|
| 310 | <textField> |
|---|
| 311 | <reportElement x="662" y="20" width="80" height="20"/> |
|---|
| 312 | <textElement textAlignment="Right"/> |
|---|
| 313 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
|---|
| 314 | </textField> |
|---|
| 315 | <textField evaluationTime="Report"> |
|---|
| 316 | <reportElement x="742" y="20" width="40" height="20"/> |
|---|
| 317 | <textElement/> |
|---|
| 318 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
|---|
| 319 | </textField> |
|---|
| 320 | <textField> |
|---|
| 321 | <reportElement x="0" y="0" width="82" height="20"/> |
|---|
| 322 | <textElement markup="none"/> |
|---|
| 323 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
|---|
| 324 | </textField> |
|---|
| 325 | <textField> |
|---|
| 326 | <reportElement x="82" y="20" width="200" height="20"/> |
|---|
| 327 | <textElement markup="none"/> |
|---|
| 328 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
|---|
| 329 | </textField> |
|---|
| 330 | <textField> |
|---|
| 331 | <reportElement x="0" y="20" width="82" height="20"/> |
|---|
| 332 | <textElement markup="none"/> |
|---|
| 333 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
|---|
| 334 | </textField> |
|---|
| 335 | </band> |
|---|
| 336 | </pageFooter> |
|---|
| 337 | <lastPageFooter> |
|---|
| 338 | <band height="40"> |
|---|
| 339 | <textField evaluationTime="Report"> |
|---|
| 340 | <reportElement x="742" y="20" width="40" height="20"/> |
|---|
| 341 | <textElement/> |
|---|
| 342 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
|---|
| 343 | </textField> |
|---|
| 344 | <textField pattern="dd-MMM-yyyy"> |
|---|
| 345 | <reportElement x="82" y="0" width="200" height="20"/> |
|---|
| 346 | <textElement/> |
|---|
| 347 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
|---|
| 348 | </textField> |
|---|
| 349 | <textField> |
|---|
| 350 | <reportElement x="0" y="0" width="82" height="20"/> |
|---|
| 351 | <textElement markup="none"/> |
|---|
| 352 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
|---|
| 353 | </textField> |
|---|
| 354 | <textField> |
|---|
| 355 | <reportElement x="0" y="20" width="82" height="20"/> |
|---|
| 356 | <textElement markup="none"/> |
|---|
| 357 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
|---|
| 358 | </textField> |
|---|
| 359 | <textField> |
|---|
| 360 | <reportElement x="82" y="20" width="200" height="20"/> |
|---|
| 361 | <textElement markup="none"/> |
|---|
| 362 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
|---|
| 363 | </textField> |
|---|
| 364 | <textField> |
|---|
| 365 | <reportElement x="662" y="20" width="80" height="20"/> |
|---|
| 366 | <textElement textAlignment="Right"/> |
|---|
| 367 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
|---|
| 368 | </textField> |
|---|
| 369 | </band> |
|---|
| 370 | </lastPageFooter> |
|---|
| 371 | <summary> |
|---|
| 372 | <band height="369"> |
|---|
| 373 | <textField> |
|---|
| 374 | <reportElement key="staticText-1" x="221" y="12" width="340" height="30"/> |
|---|
| 375 | <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> |
|---|
| 376 | <font size="20"/> |
|---|
| 377 | </textElement> |
|---|
| 378 | <textFieldExpression class="java.lang.String"><![CDATA["Summary of Calculation Method"]]></textFieldExpression> |
|---|
| 379 | </textField> |
|---|
| 380 | <textField> |
|---|
| 381 | <reportElement x="0" y="50" width="782" height="311"/> |
|---|
| 382 | <textElement/> |
|---|
| 383 | <textFieldExpression class="java.lang.String"><![CDATA[$F{summaryOfCalculationMethod}]]></textFieldExpression> |
|---|
| 384 | </textField> |
|---|
| 385 | </band> |
|---|
| 386 | </summary> |
|---|
| 387 | <noData> |
|---|
| 388 | <band height="85" splitType="Stretch"> |
|---|
| 389 | <textField> |
|---|
| 390 | <reportElement x="0" y="35" width="782" height="50"/> |
|---|
| 391 | <textElement textAlignment="Center" markup="none"> |
|---|
| 392 | <font size="14" isBold="true"/> |
|---|
| 393 | </textElement> |
|---|
| 394 | <textFieldExpression class="java.lang.String"><![CDATA["No data to display. \n"+ |
|---|
| 395 | "Please run report again."]]></textFieldExpression> |
|---|
| 396 | </textField> |
|---|
| 397 | <textField> |
|---|
| 398 | <reportElement key="staticText-1" x="0" y="0" width="782" height="35"/> |
|---|
| 399 | <textElement textAlignment="Center" markup="none"> |
|---|
| 400 | <font size="20"/> |
|---|
| 401 | </textElement> |
|---|
| 402 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
|---|
| 403 | </textField> |
|---|
| 404 | </band> |
|---|
| 405 | </noData> |
|---|
| 406 | </jasperReport> |
|---|