roadinspection.jrxml
来自「Java的框架」· JRXML 代码 · 共 364 行 · 第 1/2 页
JRXML
364 行
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created using JasperAssistant (http://www.jasperassistant.com) -->
<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport name="RoadInspectionReport" language="java" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">
<property name="com.jasperassistant.designer.GridHeight" value="12"/>
<property name="com.jasperassistant.designer.GridWidth" value="12"/>
<property name="com.jasperassistant.designer.DataSource" value="prrmDS"/>
<property name="com.jasperassistant.designer.SnapToGrid" value="false"/>
<property name="ireport.scriptlethandling" value="0"/>
<property name="com.jasperassistant.designer.Grid" value="false"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<parameter name="roadinspectionid" class="java.lang.Integer">
<parameterDescription><![CDATA[The road inspection id.]]></parameterDescription>
</parameter>
<parameter name="picsubreport" class="net.sf.jasperreports.engine.JasperReport">
<parameterDescription><![CDATA[The picture sub report.]]></parameterDescription>
</parameter>
<parameter name="imagefile1" class="java.lang.String">
<parameterDescription><![CDATA[Server filepath of the image file 1.]]></parameterDescription>
</parameter>
<parameter name="imagefile2" class="java.lang.String">
<parameterDescription><![CDATA[Server filepath of the image file 2.]]></parameterDescription>
</parameter>
<parameter name="imagefile3" class="java.lang.String">
<parameterDescription><![CDATA[Server filepath of the image file 3.]]></parameterDescription>
</parameter>
<parameter name="imagefile4" class="java.lang.String">
<parameterDescription><![CDATA[Server filepath of the image file 4.]]></parameterDescription>
</parameter>
<parameter name="imagefile5" class="java.lang.String">
<parameterDescription><![CDATA[Server filepath of the image file 5.]]></parameterDescription>
</parameter>
<parameter name="imagefile6" class="java.lang.String">
<parameterDescription><![CDATA[Server filepath of the image file 6.]]></parameterDescription>
</parameter>
<parameter name="imagedir" class="java.lang.String">
<parameterDescription><![CDATA[The base directory for storing the images.]]></parameterDescription>
</parameter>
<queryString><![CDATA[select * from roadinspection where id = $P{roadinspectionid}]]></queryString>
<field name="CreationTime" class="java.sql.Timestamp">
</field>
<field name="DefectDetail" class="java.lang.String">
</field>
<field name="DefectType" class="java.lang.String">
</field>
<field name="ID" class="java.lang.Long">
</field>
<field name="LastModifiedTime" class="java.sql.Timestamp">
</field>
<field name="Location" class="java.lang.String">
</field>
<field name="RepairRequired" class="java.lang.Boolean">
</field>
<field name="RoadDefectID" class="java.lang.Long">
</field>
<field name="RoadName" class="java.lang.String">
</field>
<field name="Severity" class="java.lang.String">
</field>
<field name="Solution" class="java.lang.String">
</field>
<field name="Summary" class="java.lang.String">
</field>
<field name="TaskID" class="java.lang.Long">
</field>
<background>
<band>
</band>
</background>
<title>
<band>
</band>
</title>
<pageHeader>
<band>
</band>
</pageHeader>
<columnHeader>
<band>
</band>
</columnHeader>
<detail>
<band height="426">
<staticText>
<reportElement key="staticText" positionType="Float" x="12" y="52" 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="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Road Inspection ID :]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="12" y="73" 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="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Road Defect ID :]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="299" y="50" width="120" height="19"/>
<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="true" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Creation Time :]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="12" y="94" 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="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Task ID :]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="300" y="71" width="120" height="19"/>
<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="true" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
</textElement>
<text><![CDATA[Last Modified Time :]]></text>
</staticText>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="133" y="52" width="114" 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.Integer"><![CDATA[$P{roadinspectionid}]]></textFieldExpression>
</textField>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="133" y="73" width="114" 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.Long"><![CDATA[$F{RoadDefectID}]]></textFieldExpression>
</textField>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="133" y="94" width="113" 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.Long"><![CDATA[$F{TaskID}]]></textFieldExpression>
</textField>
<textField pattern="">
<reportElement key="textField" positionType="Float" x="422" y="71" width="127" 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.util.Date"><![CDATA[$F{LastModifiedTime}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText" positionType="Float" mode="Opaque" x="2" y="121" 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[Road Inspection Information]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="12" y="149" 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[Defect Type :]]></text>
</staticText>
<staticText>
<reportElement key="staticText" positionType="Float" x="12" y="169" 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[Defect Detail :]]></text>
</staticText>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?