roadinspection.jrxml
来自「Java的框架」· JRXML 代码 · 共 364 行 · 第 1/2 页
JRXML
364 行
<staticText>
<reportElement key="staticText" positionType="Float" x="12" y="191" width="119" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Road Name :]]></text>
</staticText>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="422" y="50" width="127" height="20"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[$F{CreationTime}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText" positionType="Float" x="13" y="213" width="119" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Location :]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="13" y="234" width="119" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Severity :]]></text>
</staticText>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="143" y="149" width="311" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{DefectType}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="">
<reportElement key="textField" positionType="Float" x="144" y="170" width="408" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{DefectDetail}]]></textFieldExpression>
</textField>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="144" y="191" width="409" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{RoadName}]]></textFieldExpression>
</textField>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="144" y="214" width="409" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{Location}]]></textFieldExpression>
</textField>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="144" y="235" width="311" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{Severity}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText" positionType="Float" mode="Opaque" x="3" y="285" width="554" height="19" backcolor="#fcfbc9"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Summary]]></text>
</staticText>
<textField isStretchWithOverflow="true" pattern="">
<reportElement key="textField" positionType="Float" x="5" y="307" width="550" height="29"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{Summary}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText" positionType="Float" mode="Opaque" x="3" y="346" width="554" height="19" backcolor="#fcfbc9"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Proposed Solution]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="4" y="370" width="116" height="19"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="11" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Repair Required :]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="123" y="370" width="34" height="18" forecolor="#ff0000">
<printWhenExpression><![CDATA[new Boolean($F{RepairRequired} == Boolean.TRUE)]]></printWhenExpression>
</reportElement>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[YES]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="123" y="370" width="34" height="18" forecolor="#8080">
<printWhenExpression><![CDATA[new Boolean($F{RepairRequired} == Boolean.FALSE)]]></printWhenExpression>
</reportElement>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[NO]]></text>
</staticText>
<textField isStretchWithOverflow="true" pattern="">
<reportElement key="textField" positionType="Float" x="3" y="390" width="553" height="34"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement>
<font fontName="Arial" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{Solution}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText" positionType="Float" x="154" y="3" width="249" height="27" forecolor="#ff"/>
<box topBorder="None" topBorderColor="#0" leftBorder="None" leftBorderColor="#0" bottomBorder="None" bottomBorderColor="#0" rightBorder="None" rightBorderColor="#0"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Arial" size="16" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Road Inspection Report]]></text>
</staticText>
<subreport>
<reportElement key="subreport" mode="Opaque" x="-19" y="264" width="593" height="20"/>
<subreportParameter name="imagefile3">
<subreportParameterExpression><![CDATA[$P{imagefile3}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="imagefile5">
<subreportParameterExpression><![CDATA[$P{imagefile5}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="imagefile1">
<subreportParameterExpression><![CDATA[$P{imagefile1}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="imagedir">
<subreportParameterExpression><![CDATA[$P{imagedir}+"\\" +$P{roadinspectionid}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="imagefile2">
<subreportParameterExpression><![CDATA[$P{imagefile2}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="imagefile6">
<subreportParameterExpression><![CDATA[$P{imagefile6}]]></subreportParameterExpression>
</subreportParameter>
<subreportParameter name="imagefile4">
<subreportParameterExpression><![CDATA[$P{imagefile4}]]></subreportParameterExpression>
</subreportParameter>
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
<subreportExpression class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{picsubreport}]]></subreportExpression>
</subreport>
</band>
</detail>
<columnFooter>
<band>
</band>
</columnFooter>
<pageFooter>
<band>
</band>
</pageFooter>
<summary>
<band>
</band>
</summary>
</jasperReport>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?