Changeset 653
- Timestamp:
- Sep 20, 2010, 1:14:10 PM (14 years ago)
- Location:
- trunk/web-app/reports
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/reports/assetDetail.jrxml
r652 r653 56 56 <band height="52"> 57 57 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 58 <reportElement x="9" y="24" width="331" height="20"/>58 <reportElement stretchType="RelativeToTallestObject" x="9" y="24" width="331" height="20" isPrintWhenDetailOverflows="true"/> 59 59 <textElement> 60 60 <font fontName="Serif" size="8"/> … … 63 63 </textField> 64 64 <textField isStretchWithOverflow="true"> 65 <reportElement mode="Opaque" x="9" y="4" width="331" height="20" backcolor="#FFFF33"/>65 <reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="9" y="4" width="331" height="20" isPrintWhenDetailOverflows="true" backcolor="#FFFF33"/> 66 66 <textElement> 67 67 <font fontName="Serif" size="10" isBold="true"/> … … 70 70 </textField> 71 71 <textField isStretchWithOverflow="true"> 72 <reportElement x="352" y="12" width="203" height="40"/>72 <reportElement stretchType="RelativeToTallestObject" x="352" y="12" width="203" height="40" isPrintWhenDetailOverflows="true"/> 73 73 <textElement> 74 74 <font fontName="Serif" size="8"/> … … 87 87 <pageHeader> 88 88 <band height="93" splitType="Stretch"> 89 <textField >90 <reportElement key="staticText-1" x="0" y="57" width="340" height="20"/>89 <textField isStretchWithOverflow="true"> 90 <reportElement key="staticText-1" stretchType="RelativeToTallestObject" x="0" y="57" width="340" height="20" isPrintWhenDetailOverflows="true"/> 91 91 <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> 92 92 <font fontName="Serif" size="14"/> … … 98 98 <imageExpression class="java.net.URL"><![CDATA[new URL($P{logoUrl})]]></imageExpression> 99 99 </image> 100 <textField >101 <reportElement x="0" y="77" width="340" height="12">100 <textField isStretchWithOverflow="true"> 101 <reportElement stretchType="RelativeToTallestObject" x="0" y="77" width="340" height="12" isPrintWhenDetailOverflows="true"> 102 102 <printWhenExpression><![CDATA[$P{asset}.equals( "All" )]]></printWhenExpression> 103 103 </reportElement> 104 104 <textElement textAlignment="Center" verticalAlignment="Middle"> 105 <font fontName="Serif" />105 <font fontName="Serif" size="8"/> 106 106 </textElement> 107 107 <textFieldExpression class="java.lang.String"><![CDATA["For All Assets"]]></textFieldExpression> … … 117 117 <elementGroup> 118 118 <textField isStretchWithOverflow="true"> 119 <reportElement style="DetailBorder" x="138" y="2" width="288" height="20"/>119 <reportElement style="DetailBorder" stretchType="RelativeToTallestObject" x="138" y="2" width="288" height="20" isPrintWhenDetailOverflows="true"/> 120 120 <textElement textAlignment="Center" verticalAlignment="Middle"> 121 121 <font fontName="Serif" size="8"/> … … 124 124 </textField> 125 125 <textField isStretchWithOverflow="true"> 126 <reportElement x="9" y="2" width="129" height="20"/>126 <reportElement stretchType="RelativeToTallestObject" x="9" y="2" width="129" height="20" isPrintWhenDetailOverflows="true"/> 127 127 <textElement> 128 128 <font fontName="Serif" size="8" isBold="true" isUnderline="false"/> … … 138 138 <pageFooter> 139 139 <band height="28" splitType="Stretch"> 140 <textField pattern="dd-MMM-yyyy">141 <reportElement x="50" y="2" width="200" height="12"/>140 <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy"> 141 <reportElement stretchType="RelativeToTallestObject" x="50" y="2" width="200" height="12" isPrintWhenDetailOverflows="true"/> 142 142 <textElement> 143 143 <font fontName="Serif" size="8"/> … … 145 145 <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> 146 146 </textField> 147 <textField evaluationTime="Report">148 <reportElement x="537" y="14" width="40" height="12"/>147 <textField isStretchWithOverflow="true" evaluationTime="Report"> 148 <reportElement stretchType="RelativeToTallestObject" x="537" y="14" width="40" height="12" isPrintWhenDetailOverflows="true"/> 149 149 <textElement> 150 150 <font fontName="Serif" size="8"/> … … 152 152 <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> 153 153 </textField> 154 <textField >155 <reportElement x="0" y="2" width="50" height="12"/>154 <textField isStretchWithOverflow="true"> 155 <reportElement stretchType="RelativeToTallestObject" x="0" y="2" width="50" height="12" isPrintWhenDetailOverflows="true"/> 156 156 <textElement markup="none"> 157 157 <font fontName="Serif" size="8"/> … … 159 159 <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> 160 160 </textField> 161 <textField >162 <reportElement x="50" y="14" width="200" height="12"/>161 <textField isStretchWithOverflow="true"> 162 <reportElement stretchType="RelativeToTallestObject" x="50" y="14" width="200" height="12" isPrintWhenDetailOverflows="true"/> 163 163 <textElement markup="none"> 164 164 <font fontName="Serif" size="8"/> … … 166 166 <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> 167 167 </textField> 168 <textField >169 <reportElement x="0" y="14" width="50" height="12"/>168 <textField isStretchWithOverflow="true"> 169 <reportElement stretchType="RelativeToTallestObject" x="0" y="14" width="50" height="12" isPrintWhenDetailOverflows="true"/> 170 170 <textElement markup="none"> 171 171 <font fontName="Serif" size="8"/> … … 173 173 <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> 174 174 </textField> 175 <textField >176 <reportElement x="457" y="14" width="80" height="12"/>175 <textField isStretchWithOverflow="true"> 176 <reportElement stretchType="RelativeToTallestObject" x="457" y="14" width="80" height="12" isPrintWhenDetailOverflows="true"/> 177 177 <textElement textAlignment="Right"> 178 178 <font fontName="Serif" size="8"/> … … 184 184 <lastPageFooter> 185 185 <band height="28"> 186 <textField evaluationTime="Report">187 <reportElement x="537" y="14" width="40" height="12"/>186 <textField isStretchWithOverflow="true" evaluationTime="Report"> 187 <reportElement stretchType="RelativeToTallestObject" x="537" y="14" width="40" height="12" isPrintWhenDetailOverflows="true"/> 188 188 <textElement> 189 189 <font fontName="Serif" size="8"/> … … 191 191 <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> 192 192 </textField> 193 <textField pattern="dd-MMM-yyyy">194 <reportElement x="50" y="2" width="200" height="12"/>193 <textField isStretchWithOverflow="true" pattern="dd-MMM-yyyy"> 194 <reportElement stretchType="RelativeToTallestObject" x="50" y="2" width="200" height="12" isPrintWhenDetailOverflows="true"/> 195 195 <textElement> 196 196 <font fontName="Serif" size="8"/> … … 198 198 <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> 199 199 </textField> 200 <textField >201 <reportElement x="0" y="2" width="50" height="12"/>200 <textField isStretchWithOverflow="true"> 201 <reportElement stretchType="RelativeToTallestObject" x="0" y="2" width="50" height="12" isPrintWhenDetailOverflows="true"/> 202 202 <textElement markup="none"> 203 203 <font fontName="Serif" size="8"/> … … 205 205 <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> 206 206 </textField> 207 <textField >208 <reportElement x="0" y="14" width="50" height="12"/>207 <textField isStretchWithOverflow="true"> 208 <reportElement stretchType="RelativeToTallestObject" x="0" y="14" width="50" height="12" isPrintWhenDetailOverflows="true"/> 209 209 <textElement markup="none"> 210 210 <font fontName="Serif" size="8"/> … … 212 212 <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> 213 213 </textField> 214 <textField >215 <reportElement x="50" y="14" width="200" height="12"/>214 <textField isStretchWithOverflow="true"> 215 <reportElement stretchType="RelativeToTallestObject" x="50" y="14" width="200" height="12" isPrintWhenDetailOverflows="true"/> 216 216 <textElement markup="none"> 217 217 <font fontName="Serif" size="8"/> … … 219 219 <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> 220 220 </textField> 221 <textField >222 <reportElement x="457" y="14" width="80" height="12"/>221 <textField isStretchWithOverflow="true"> 222 <reportElement stretchType="RelativeToTallestObject" x="457" y="14" width="80" height="12" isPrintWhenDetailOverflows="true"/> 223 223 <textElement textAlignment="Right"> 224 224 <font fontName="Serif" size="8"/> -
trunk/web-app/reports/assetRegister.jrxml
r652 r653 5 5 <property name="ireport.zoom" value="1.5"/> 6 6 <property name="ireport.x" value="15"/> 7 <property name="ireport.y" value=" 480"/>7 <property name="ireport.y" value="0"/> 8 8 <import value="net.sf.jasperreports.engine.*"/> 9 9 <import value="java.util.*"/> … … 85 85 <reportElement x="398" y="34" width="340" height="12"/> 86 86 <textElement textAlignment="Center"> 87 <font fontName="Serif" />87 <font fontName="Serif" size="8"/> 88 88 </textElement> 89 89 <textFieldExpression class="java.lang.String"><![CDATA["Section: "+$P{section}]]></textFieldExpression> … … 105 105 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 106 106 <staticText> 107 <reportElement x="2" y="0" width="96" height="32"/>107 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="96" height="32" isPrintWhenDetailOverflows="true"/> 108 108 <textElement textAlignment="Center" verticalAlignment="Middle"> 109 109 <font fontName="Serif" size="8"/> … … 112 112 </staticText> 113 113 </jr:columnHeader> 114 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 115 <textField isStretchWithOverflow="true"> 116 <reportElement mode="Opaque" x="2" y="0" width="96" height="20" backcolor="#D2EFF7"/> 114 <jr:columnFooter height="2" rowSpan="1"> 115 <staticText> 116 <reportElement x="0" y="0" width="100" height="2"/> 117 <textElement/> 118 <text><![CDATA[]]></text> 119 </staticText> 120 </jr:columnFooter> 121 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 122 <textField isStretchWithOverflow="true"> 123 <reportElement positionType="Float" stretchType="RelativeToTallestObject" mode="Opaque" x="2" y="0" width="96" height="20" isPrintWhenDetailOverflows="true" backcolor="#D2EFF7"/> 117 124 <textElement textAlignment="Center" verticalAlignment="Middle"> 118 125 <font fontName="Serif" size="10" isBold="true"/> … … 121 128 </textField> 122 129 <textField isStretchWithOverflow="true"> 123 <reportElement x="2" y="20" width="96" height="15"/>130 <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="2" y="20" width="96" height="15" isPrintWhenDetailOverflows="true"/> 124 131 <textElement textAlignment="Center" verticalAlignment="Middle"> 125 132 <font fontName="Serif" size="8"/> … … 132 139 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 133 140 <staticText> 134 <reportElement x="2" y="0" width="86" height="32"/>141 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="86" height="32" isPrintWhenDetailOverflows="true"/> 135 142 <textElement textAlignment="Center" verticalAlignment="Middle"> 136 143 <font fontName="Serif" size="8"/> … … 141 148 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 142 149 <textField isStretchWithOverflow="true"> 143 <reportElement x="2" y="0" width="86" height="35"/>150 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="86" height="35" isPrintWhenDetailOverflows="true"/> 144 151 <textElement textAlignment="Center" verticalAlignment="Middle"> 145 152 <font fontName="Serif" size="8"/> … … 152 159 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 153 160 <staticText> 154 <reportElement x="2" y="0" width="71" height="32"/>161 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="71" height="32" isPrintWhenDetailOverflows="true"/> 155 162 <textElement textAlignment="Center" verticalAlignment="Middle"> 156 163 <font fontName="Serif" size="8"/> … … 161 168 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 162 169 <textField isStretchWithOverflow="true"> 163 <reportElement x="2" y="0" width="71" height="35"/>170 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="71" height="35" isPrintWhenDetailOverflows="true"/> 164 171 <textElement textAlignment="Center" verticalAlignment="Middle"> 165 172 <font fontName="Serif" size="8"/> … … 172 179 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 173 180 <staticText> 174 <reportElement x="2" y="16" width="68" height="16"/>181 <reportElement stretchType="RelativeToTallestObject" x="2" y="16" width="68" height="16" isPrintWhenDetailOverflows="true"/> 175 182 <textElement textAlignment="Center" verticalAlignment="Middle"> 176 183 <font fontName="Serif" size="8"/> … … 179 186 </staticText> 180 187 <staticText> 181 <reportElement x="2" y="0" width="68" height="15"/>188 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="68" height="15" isPrintWhenDetailOverflows="true"/> 182 189 <textElement textAlignment="Center" verticalAlignment="Middle"> 183 190 <font fontName="Serif" size="8"/> … … 191 198 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 192 199 <textField isStretchWithOverflow="true"> 193 <reportElement x="2" y="17" width="68" height="17"/>200 <reportElement stretchType="RelativeToTallestObject" x="2" y="17" width="68" height="17" isPrintWhenDetailOverflows="true"/> 194 201 <textElement textAlignment="Center" verticalAlignment="Middle"> 195 202 <font fontName="Serif" size="8"/> … … 198 205 </textField> 199 206 <textField isStretchWithOverflow="true"> 200 <reportElement x="2" y="0" width="68" height="17"/>207 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="68" height="17" isPrintWhenDetailOverflows="true"/> 201 208 <textElement textAlignment="Center" verticalAlignment="Middle"> 202 209 <font fontName="Serif" size="8"/> … … 212 219 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 213 220 <staticText> 214 <reportElement x="2" y="0" width="59" height="32"/>221 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="59" height="32" isPrintWhenDetailOverflows="true"/> 215 222 <textElement textAlignment="Center" verticalAlignment="Middle"> 216 223 <font fontName="Serif" size="8"/> … … 221 228 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 222 229 <textField isStretchWithOverflow="true"> 223 <reportElement x="2" y="0" width="59" height="35"/>230 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="59" height="35" isPrintWhenDetailOverflows="true"/> 224 231 <textElement textAlignment="Center" verticalAlignment="Middle"> 225 232 <font fontName="Serif" size="8"/> … … 232 239 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 233 240 <staticText> 234 <reportElement x="2" y="0" width="56" height="32"/>241 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="32" isPrintWhenDetailOverflows="true"/> 235 242 <textElement textAlignment="Center" verticalAlignment="Middle"> 236 243 <font fontName="Serif" size="8"/> … … 241 248 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 242 249 <textField isStretchWithOverflow="true"> 243 <reportElement x="2" y="0" width="56" height="35"/>250 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="35" isPrintWhenDetailOverflows="true"/> 244 251 <textElement textAlignment="Center" verticalAlignment="Middle"> 245 252 <font fontName="Serif" size="8"/> … … 252 259 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 253 260 <staticText> 254 <reportElement x="2" y="0" width="56" height="32"/>261 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="32" isPrintWhenDetailOverflows="true"/> 255 262 <textElement textAlignment="Center" verticalAlignment="Middle"> 256 263 <font fontName="Serif" size="8"/> … … 261 268 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 262 269 <textField isStretchWithOverflow="true"> 263 <reportElement x="2" y="0" width="56" height="35"/>270 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="35" isPrintWhenDetailOverflows="true"/> 264 271 <textElement textAlignment="Center" verticalAlignment="Middle"> 265 272 <font fontName="Serif" size="8"/> … … 272 279 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 273 280 <staticText> 274 <reportElement x="2" y="0" width="71" height="32"/>281 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="71" height="32" isPrintWhenDetailOverflows="true"/> 275 282 <textElement textAlignment="Center" verticalAlignment="Middle"> 276 283 <font fontName="Serif" size="8"/> … … 281 288 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 282 289 <textField isStretchWithOverflow="true"> 283 <reportElement x="2" y="0" width="71" height="35"/>290 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="71" height="35" isPrintWhenDetailOverflows="true"/> 284 291 <textElement textAlignment="Center" verticalAlignment="Middle"> 285 292 <font fontName="Serif" size="8"/> … … 292 299 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 293 300 <staticText> 294 <reportElement x="2" y="0" width="66" height="32"/>301 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="66" height="32" isPrintWhenDetailOverflows="true"/> 295 302 <textElement textAlignment="Center" verticalAlignment="Middle"> 296 303 <font fontName="Serif" size="8"/> … … 301 308 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 302 309 <textField isStretchWithOverflow="true"> 303 <reportElement x="2" y="0" width="66" height="35"/>310 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="66" height="35" isPrintWhenDetailOverflows="true"/> 304 311 <textElement textAlignment="Center" verticalAlignment="Middle"> 305 312 <font fontName="Serif" size="8"/> … … 312 319 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 313 320 <staticText> 314 <reportElement x="2" y="0" width="56" height="32"/>321 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="32" isPrintWhenDetailOverflows="true"/> 315 322 <textElement textAlignment="Center" verticalAlignment="Middle"> 316 323 <font fontName="Serif" size="8"/> … … 321 328 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 322 329 <textField isStretchWithOverflow="true"> 323 <reportElement x="2" y="0" width="56" height="35"/>330 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="56" height="35" isPrintWhenDetailOverflows="true"/> 324 331 <textElement textAlignment="Center" verticalAlignment="Middle"> 325 332 <font fontName="Serif" size="8"/> … … 332 339 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 333 340 <staticText> 334 <reportElement x="2" y="0" width="66" height="32"/>341 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="66" height="32" isPrintWhenDetailOverflows="true"/> 335 342 <textElement textAlignment="Center" verticalAlignment="Middle"> 336 343 <font fontName="Serif" size="8"/> … … 341 348 <jr:detailCell style="table_TD" height="36" rowSpan="1"> 342 349 <textField isStretchWithOverflow="true"> 343 <reportElement x="2" y="0" width="66" height="35"/>350 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="66" height="35" isPrintWhenDetailOverflows="true"/> 344 351 <textElement textAlignment="Center" verticalAlignment="Middle"> 345 352 <font fontName="Serif" size="8"/>
Note: See TracChangeset
for help on using the changeset viewer.