⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 complexworksheet.jrxml

📁 报表,关于ireport报表的一些源码(转)
💻 JRXML
📖 第 1 页 / 共 3 页
字号:
					<reportElement						mode="Opaque"						x="188"						y="58"						width="0"						height="120"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-17"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="364"						y="58"						width="0"						height="120"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-19"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="432"						y="57"						width="0"						height="121"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-22"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="70"						y="57"						width="0"						height="121"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-55"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement						mode="Transparent"						x="0"						y="0"						width="557"						height="25"						forecolor="#000000"						backcolor="#FFFFFF"						key="textField-7"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体" size="13"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{维修工作单类型名}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement						mode="Transparent"						x="1"						y="60"						width="68"						height="17"						forecolor="#000000"						backcolor="#FFFFFF"						key="textField-8"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{报修人类型名}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="256"						y="59"						width="0"						height="119"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-56"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="559"						y="57"						width="0"						height="121"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-57"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<staticText>
					<reportElement						mode="Transparent"						x="2"						y="160"						width="66"						height="16"						forecolor="#000000"						backcolor="#FFFFFF"						key="staticText-33"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体"/>
					</textElement>
				<text><![CDATA[科长签字]]></text>
				</staticText>
			</band>
		</title>
		<pageHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</pageHeader>
		<columnHeader>
			<band height="23"  isSplitAllowed="true" >
				<staticText>
					<reportElement						mode="Transparent"						x="1"						y="0"						width="185"						height="23"						forecolor="#000000"						backcolor="#FFFFFF"						key="staticText-27"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体"/>
					</textElement>
				<text><![CDATA[维修用材名称]]></text>
				</staticText>
				<staticText>
					<reportElement						mode="Transparent"						x="191"						y="0"						width="239"						height="23"						forecolor="#000000"						backcolor="#FFFFFF"						key="staticText-28"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体"/>
					</textElement>
				<text><![CDATA[维修用材单价(元)]]></text>
				</staticText>
				<staticText>
					<reportElement						mode="Transparent"						x="435"						y="0"						width="122"						height="22"						forecolor="#000000"						backcolor="#FFFFFF"						key="staticText-29"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体"/>
					</textElement>
				<text><![CDATA[维修用材数量]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="0"						y="0"						width="0"						height="23"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-40"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="559"						y="0"						width="0"						height="23"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-43"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="432"						y="0"						width="0"						height="23"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-44"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="188"						y="0"						width="0"						height="23"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-45"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="0"						y="0"						width="559"						height="0"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-59"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
			</band>
		</columnHeader>
		<detail>
			<band height="25"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="0"						y="0"						width="0"						height="25"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-27"						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="Thin" fill="Solid" />
				</line>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement						mode="Transparent"						x="1"						y="3"						width="185"						height="19"						forecolor="#000000"						backcolor="#FFFFFF"						key="textField-2"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{用材名称}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement						mode="Transparent"						x="191"						y="3"						width="239"						height="19"						forecolor="#000000"						backcolor="#FFFFFF"						key="textField-3"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{用材单价}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement						mode="Transparent"						x="435"						y="3"						width="120"						height="20"						forecolor="#000000"						backcolor="#FFFFFF"						key="textField-4"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font reportFont="宋体"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{用材数量}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="559"						y="0"						width="0"						height="25"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-35"						stretchType="RelativeToBandHeight"						positionType="Float"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="188"						y="0"						width="0"						height="25"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-36"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="432"						y="0"						width="0"						height="25"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-37"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
				<line direction="TopDown">
					<reportElement						mode="Opaque"						x="0"						y="0"						width="559"						height="0"						forecolor="#000000"						backcolor="#FFFFFF"						key="line-38"/>
					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />
				</line>
			</band>
		</detail>
		<columnFooter>
			<band height="1"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="30"  isSplitAllowed="true" >
			</band>
		</pageFooter>
		<lastPageFooter>
			<band height="26"  isSplitAllowed="true" >
			</band>
		</lastPageFooter>
		<summary>
			<band height="18"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -