📄 petreport.jrxml
字号:
<textField hyperlinkType="None"> <reportElement x="155" y="377" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{COLOR}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="394" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[BREEDER NAME: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="397" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{BREEDERNAME}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="414" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[FAVORITE FOODS: ]]></text> </staticText> <textField isStretchWithOverflow="true" hyperlinkType="None"> <reportElement x="155" y="417" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{FAVORITEFOOD}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="434" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[FAVORITE TOYS: ]]></text> </staticText> <textField isStretchWithOverflow="true" hyperlinkType="None"> <reportElement x="155" y="437" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{FAVORITETOY}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="454" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[LICENSE TAG NUMBER: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="457" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{LICENSETAGNUMBER}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="474" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[RABIES TAG NUMBER: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="477" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{RABIESTAGNUMBER}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="494" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[MICROCHIP ID: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="497" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{MICROCHIPID}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="514" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[FOOD BRANDS: ]]></text> </staticText> <textField isStretchWithOverflow="true" hyperlinkType="None"> <reportElement x="155" y="517" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{FOODBRAND}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="534" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[PORTION SIZE: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="537" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{PORTIONSIZE}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="554" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[SERVING TIMES: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="557" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$F{SERVINGTIMES}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="574" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[SNACKS: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="577" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{SNACKS}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="594" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[DIETARY EXCLUSIONS: ]]></text> </staticText> <textField isStretchWithOverflow="true" hyperlinkType="None"> <reportElement x="155" y="597" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{DIETARYEXCLUSIONS}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="614" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[FILE FOLDER: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="617" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{FILEFOLDER}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="634" width="155" height="23"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> </textElement> <text><![CDATA[PIC FILENAME: ]]></text> </staticText> <textField hyperlinkType="None"> <reportElement x="155" y="637" width="400" height="20"/> <textElement> <font size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{PICFILENAME}]]></textFieldExpression> </textField> <image scaleImage="RetainShape" isUsingCache="true" evaluationTime="Auto" hyperlinkType="None"> <reportElement x="155" y="10" width="320" height="240"/> <imageExpression class="java.lang.String"><![CDATA[$F{PICFILENAME}]]></imageExpression> </image> </band> </detail> <columnFooter> <band/> </columnFooter> <pageFooter> <band height="26"> <textField evaluationTime="Report" pattern="" isBlankWhenNull="false" hyperlinkType="None"> <reportElement key="textField" x="516" y="6" width="36" height="19" forecolor="#000000" backcolor="#FFFFFF"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement> <font size="10"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression> </textField> <textField pattern="" isBlankWhenNull="false" hyperlinkType="None"> <reportElement key="textField" x="342" y="6" width="170" height="19" forecolor="#000000" backcolor="#FFFFFF"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Right"> <font size="10"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression> </textField> <textField pattern="" isBlankWhenNull="false" hyperlinkType="None"> <reportElement key="textField" x="1" y="6" width="209" height="19" forecolor="#000000" backcolor="#FFFFFF"/> <box> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement> <font size="10"/> </textElement> <textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression> </textField> </band> </pageFooter> <summary> <band/> </summary></jasperReport>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -