Changeset 654 for trunk/web-app/reports/equipmentRegister.jrxml
- Timestamp:
- Sep 23, 2010, 5:01:46 AM (14 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/reports/equipmentRegister.jrxml
r653 r654 4 4 <property name="ireport.encoding" value="UTF-8"/> 5 5 <property name="ireport.zoom" value="1.5"/> 6 <property name="ireport.x" value=" 15"/>7 <property name="ireport.y" value=" 0"/>6 <property name="ireport.x" value="31"/> 7 <property name="ireport.y" value="672"/> 8 8 <import value="net.sf.jasperreports.engine.*"/> 9 9 <import value="java.util.*"/> … … 50 50 <field name="Registration Required" class="java.lang.String"/> 51 51 <field name="Registration Expiry Date" class="java.lang.String"/> 52 <field name="assetName" class="java.lang.String"/> 52 53 <group name="assetName"> 53 <groupExpression><![CDATA[$F{ name}]]></groupExpression>54 <groupExpression><![CDATA[$F{assetName}]]></groupExpression> 54 55 </group> 55 56 </subDataset> … … 65 66 </queryString> 66 67 <field name="dataList" class="java.util.List"/> 67 <field name="attribTypes" class="java.util.List"/> 68 <field name="attribTypes" class="java.lang.String"/> 69 <field name="assetsWithoutEquipment" class="java.lang.String"/> 68 70 <background> 69 71 <band splitType="Stretch"/> … … 103 105 </datasetRun> 104 106 <jr:column width="100"> 105 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 106 <staticText> 107 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="96" height="32" isPrintWhenDetailOverflows="true"/> 108 <textElement textAlignment="Center" verticalAlignment="Middle"> 109 <font fontName="Serif" size="8"/> 107 <jr:groupHeader groupName="assetName"> 108 <jr:cell height="20" rowSpan="1"> 109 <textField isStretchWithOverflow="true"> 110 <reportElement stretchType="RelativeToTallestObject" x="2" y="2" width="96" height="16" isPrintWhenDetailOverflows="true"/> 111 <textElement verticalAlignment="Middle"> 112 <font fontName="Serif" size="10"/> 113 </textElement> 114 <textFieldExpression class="java.lang.String"><![CDATA[$F{assetName}]]></textFieldExpression> 115 </textField> 116 </jr:cell> 117 </jr:groupHeader> 118 <jr:columnHeader style="table_CH" height="32" rowSpan="1"> 119 <staticText> 120 <reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="96" height="16" isPrintWhenDetailOverflows="true"/> 121 <textElement verticalAlignment="Middle"> 122 <font fontName="Serif"/> 110 123 </textElement> 111 124 <text><![CDATA[Asset]]></text> 125 </staticText> 126 <staticText> 127 <reportElement x="2" y="16" width="96" height="16"/> 128 <textElement textAlignment="Center"/> 129 <text><![CDATA[Equipment]]></text> 112 130 </staticText> 113 131 </jr:columnHeader> … … 457 475 <summary> 458 476 <band height="369"> 459 <textField >460 <reportElement x="0" y="30" width="824" height="91"/>477 <textField isStretchWithOverflow="true"> 478 <reportElement stretchType="RelativeToTallestObject" x="13" y="36" width="824" height="25" isPrintWhenDetailOverflows="true"/> 461 479 <textElement> 462 480 <font fontName="Serif"/> 463 481 </textElement> 464 <textFieldExpression class="java.lang.String"><![CDATA["Asset Extended Attributes: \n"+$F{attribTypes}]]></textFieldExpression> 482 <textFieldExpression class="java.lang.String"><![CDATA["AssetSubItem Extended Attributes: \n"+$F{attribTypes}]]></textFieldExpression> 483 </textField> 484 <textField> 485 <reportElement key="staticText-1" x="242" y="0" width="340" height="30"/> 486 <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> 487 <font size="20"/> 488 </textElement> 489 <textFieldExpression class="java.lang.String"><![CDATA["Summary"]]></textFieldExpression> 490 </textField> 491 <textField isStretchWithOverflow="true"> 492 <reportElement stretchType="RelativeToTallestObject" x="13" y="85" width="824" height="26" isPrintWhenDetailOverflows="true"/> 493 <textElement> 494 <font fontName="Serif"/> 495 </textElement> 496 <textFieldExpression class="java.lang.String"><![CDATA[$F{assetsWithoutEquipment}]]></textFieldExpression> 497 </textField> 498 <textField> 499 <reportElement x="13" y="66" width="824" height="19" forecolor="#FF0033"> 500 <printWhenExpression><![CDATA[$F{assetsWithoutEquipment}]]></printWhenExpression> 501 </reportElement> 502 <textElement> 503 <font fontName="Serif"/> 504 </textElement> 505 <textFieldExpression class="java.lang.String"><![CDATA["The following assets have no sub items (equipment) and therefore are not listed in the equipment table: \n"+$F{assetsWithoutEquipment}]]></textFieldExpression> 465 506 </textField> 466 507 </band>
Note: See TracChangeset
for help on using the changeset viewer.