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