Changeset 653 for trunk/web-app/reports/assetDetail.jrxml
- Timestamp:
- Sep 20, 2010, 1:14:10 PM (15 years ago)
- File:
-
- 1 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"/>
Note: See TracChangeset
for help on using the changeset viewer.