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