`
cuiyi.crazy
  • 浏览: 52321 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

苦不堪言,iReport + JasperReports项目中的历练

阅读更多
JasperReports 这个东西,是个好东西,iReport这个东西,也是个好东西;就是iReport这个东西,给我很多启示,关于sql组件,虽最终未必可行,目前处于验证进程。

话说使用iReport+JasperReports开发报表的曾经的尴尬,testing during development and testing on local machine, the report pdf displays well, so good job have done, but when demo in customer locale, a lot of fields cannot be displayed(不能显示了!)。

After a lot of time trying, almost every  options  supplied  have been tried in checked way and unchecked way, the well fields displayed accordingly, I have got some ideas:

1) cannot display(不能显示), but other field with same content can display , why?
    OK, the size is too small(把字符框的 大小设置大一些),then well done.、

2)some field cannot display
     process: I found these undisplayed is  in header,  then I copy them to footer,  what's the result? display well in footer, but no display in header.
     then I change the "evaluation time" from "now" to "column"
     well done!
    but be careful, fields valued $F cannot be column, for it cannot be displayed

3) some field cannot be display  corresponding to  2)
    why they cannot be displayed  in both  header and  footer?
    oh, I found most field have the "stretch with overflow" option checked, so I added, so cool

******************************************************
this problem I found explation when I solved on net

iReport stretch 选项的注意

Text Field有一选项为Stretch with overflow。 作用是动态的伸展文字所占的空间。
要注意一点是Stretch是跟据Font Name的体字像数为基准进行伸展的。所以当我们输出PDF格式时要注意PDF Font Name 与Font Name是否一致。如不一致在文字量多的时候会出现少了或多了显示空间的问题

iReport Band的[Split allowed]属性

Split allowed是允许分开的意思。以页为单位,被分离出去的是Band内的所有内容。如果剩下的页面空间不够显示Band的内容。那么Band的内容会显示在下一页。

ireport有时侯不能显示数据库中数据的解决方式:
  1)每一个element:设置:print when details overflow ;stretch overflow
  2)字段高度不够
******************************************************
all resolved, the boss smiled, and happy back from customer
    
   



crazycy 2007-07-27 12:19 发表评论
分享到:
评论
2 楼 villain001 2014-07-07  
楼上傻逼!!!
1 楼 axiang_2898 2008-02-22  
你好,我这里有这样一个模板,帮我看看,为什么不能正确显示呢?

就是字段不会全部显示?



<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="month_check_mx_ck"
		 columnCount="1"
		 printOrder="Horizontal"
		 orientation="Landscape"
		 pageWidth="842"
		 pageHeight="595"
		 columnWidth="782"
		 columnSpacing="0"
		 leftMargin="30"
		 rightMargin="30"
		 topMargin="20"
		 bottomMargin="20"
		 whenNoDataType="NoPages"
		 isFloatColumnFooter="true"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />

	<style 
		name="Arial_Bold"
		isDefault="false"
		fontName="宋体"
		fontSize="12"
		isBold="true"
		pdfFontName="STSong-Light"
		pdfEncoding="UniGB-UCS2-H"
		isPdfEmbedded="false"
	/>
	<style 
		name="Arial_Italic"
		isDefault="false"
		fontName="宋体"
		fontSize="12"
		isItalic="true"
		pdfFontName="STSong-Light"
		pdfEncoding="UniGB-UCS2-H"
		isPdfEmbedded="false"
	/>
	<style 
		name="Arial_Normal"
		isDefault="true"
		fontName="宋体"
		fontSize="12"
		pdfFontName="STSong-Light"
		pdfEncoding="UniGB-UCS2-H"
		isPdfEmbedded="false"
	/>

	<parameter name="str1" isForPrompting="true" class="java.lang.String"/>
	<parameter name="make_name_head" isForPrompting="true" class="java.lang.String"/>
	<parameter name="start_time_head" isForPrompting="true" class="java.lang.String"/>
	<parameter name="end_time_head" isForPrompting="true" class="java.lang.String"/>
	<parameter name="operator_name_footer" isForPrompting="true" class="java.lang.String"/>
	<parameter name="print_time_footer" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[select d.code as base_code,d.name as base_name,c.code as materiel_code,c.name as materiel_name,c.spec,(select name from all_unit where c.unit_group_code=group_code and is_main_unit='1') as main_unit_name,a.start_number,a.start_money,a.cg_in_number,a.cg_in_money,isnull(a.yddb_in_number,0) as yddb_in_number,isnull(a.yddb_in_money,0) as yddb_in_money,a.ly_out_number,a.ly_out_money,a.yddb_out_number,a.yddb_out_money,a.end_number,a.end_money from kc_month_check_list as a,kc_month_check as b,all_materiel as c,kc_base as d where a.order_code=b.code and a.materiel_code=c.code and a.base_code=d.code and b.check_month=1  $P!{str1} order by d.code]]></queryString>

	<field name="base_code" class="java.lang.String"/>
	<field name="base_name" class="java.lang.String"/>
	<field name="materiel_code" class="java.lang.String"/>
	<field name="materiel_name" class="java.lang.String"/>
	<field name="spec" class="java.lang.String"/>
	<field name="main_unit_name" class="java.lang.String"/>
	<field name="start_number" class="java.lang.Double"/>
	<field name="start_money" class="java.lang.Double"/>
	<field name="cg_in_number" class="java.lang.Double"/>
	<field name="cg_in_money" class="java.lang.Double"/>
	<field name="yddb_in_number" class="java.lang.Double"/>
	<field name="yddb_in_money" class="java.lang.Double"/>
	<field name="ly_out_number" class="java.lang.Double"/>
	<field name="ly_out_money" class="java.lang.Double"/>
	<field name="yddb_out_number" class="java.lang.Double"/>
	<field name="yddb_out_money" class="java.lang.Double"/>
	<field name="end_number" class="java.lang.Double"/>
	<field name="end_money" class="java.lang.Double"/>

		<background>
			<band height="0"  isSplitAllowed="false" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="false" >
			</band>
		</title>
		<pageHeader>
			<band height="18"  isSplitAllowed="false" >
				<rectangle>
					<reportElement
						mode="Opaque"
						x="-1"
						y="3"
						width="782"
						height="15"
						forecolor="#333333"
						backcolor="#333333"
						key="rectangle-1"
						stretchType="RelativeToTallestObject"/>
					<graphicElement stretchType="RelativeToTallestObject"/>
				</rectangle>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="-1"
						y="3"
						width="40"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-1"
						stretchType="RelativeToBandHeight"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[仓库编码]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="39"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-2"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[仓库名称]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="78"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-3"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[材料编码]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="117"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-4"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[材料名称]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="156"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-5"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[规格]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="195"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-6"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[主单位]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="234"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-7"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[上期库存数量]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="273"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-8"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[上期库存金额]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="312"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-9"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期入库数量]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="351"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-10"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期入库金额]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="390"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-11"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期调入数量]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="429"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-12"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期调入金额]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="468"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-13"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期出库数量]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="507"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-14"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期出库金额]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="546"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-15"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期调出数量]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="585"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-16"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期调出金额]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="624"
						y="3"
						width="39"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-17"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期库存数量]]></text>
				</staticText>
				<staticText>
					<reportElement
						style="Arial_Bold"
						mode="Opaque"
						x="663"
						y="3"
						width="119"
						height="15"
						forecolor="#FFFFFF"
						backcolor="#808080"
						key="staticText-18"
						stretchType="RelativeToBandHeight"
						isPrintWhenDetailOverflows="true"/>
					<box topBorder="1Point" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#000000" bottomBorder="1Point" bottomBorderColor="#000000"/>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[本期库存金额]]></text>
				</staticText>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="false" >
			</band>
		</columnHeader>
		<detail>
			<band height="15"  isSplitAllowed="false" >
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="0"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#808080" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{base_code}.replaceFirst($F{base_code}.substring(0,3),"")]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="39"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{base_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="78"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{materiel_code}.replaceFirst($F{materiel_code}.substring(0,3),"")]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="117"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{materiel_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="156"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{spec}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="195"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{main_unit_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="234"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{start_number}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="273"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{start_money}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="312"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{cg_in_number}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="351"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{cg_in_money}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="390"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{yddb_in_number}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="429"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{yddb_in_money}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="468"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{ly_out_number}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="507"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{ly_out_money}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="546"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{yddb_out_number}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="585"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{yddb_out_money}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="624"
						y="0"
						width="39"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{end_number}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Arial_Normal"
						x="663"
						y="0"
						width="119"
						height="15"
						key="textField"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="1Point" rightBorderColor="#808080" bottomBorder="1Point" bottomBorderColor="#808080"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.Double"><![CDATA[$F{end_money}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="false" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="0"  isSplitAllowed="false" >
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="false" >
			</band>
		</summary>
</jasperReport>

相关推荐

    iReport+Jasperreports中文教程集合

    这个“iReport+Jasperreports中文教程集合”提供了丰富的学习资源,旨在帮助初学者快速掌握这两个工具的使用。 1. **iReport简介**: iReport是一款开源的报表设计工具,它允许开发者通过图形化界面设计...

    iReport+jasperreports

    新手看,入门所用~喜欢就回复~!~~ 都是一些简单的东西

    ireport+jasperreports 项目实例

    ireport jasperreports 项目实例,导入myeclipse下,运行在tomcat上即可 导出pdf,doc,xls,html格式的文档,自己整理可用的,不忽悠你,算是比较完整的 不仅在servlet中导出,而且整合了struts2导出,非常实用,当然...

    iReport+jasperReports JAVA报表

    至于提供的资源"iReport+jasperReports 联合开发JAVA报表.pdf",这很可能是一份详细的教程或指南,介绍了如何结合使用这两个工具进行JAVA报表开发。而"分享家—数十万份试卷、资料、电子书下载.url"可能是相关学习...

    报表制作的详细流程(iReport+jasperReports)

    【报表制作的详细流程(iReport+jasperReports)】 在IT领域,报表系统是数据分析和决策支持的重要工具。本文将深入探讨使用iReport和jasperReports这两个开源工具来创建专业报表的详细步骤。这两个工具结合使用,...

    iReport+jasperReports 联合开发JAVA报表

    3. **《iReport+jasperReports 联合开发JAVA报表.pdf》**:这本书可能着重讲解了iReport和JasperReports的结合使用,包括两者之间的交互过程,以及如何在实际项目中部署和优化报表系统。 总之,通过iReport和...

    iReport+jasperReports制作WEB报表pdf

    ### iReport+jasperReports 制作 WEB 报表 PDF 格式详解 #### 第一部分:环境配置 在开始介绍 iReport+jasperReports 如何制作 WEB 报表 PDF 格式之前,我们需要首先确保开发环境已经正确搭建好。下面将详细介绍...

    iReport+JasperReports教程

    iReport和JasperReports是Java世界中用于生成报表的两款强大工具,它们为开发者提供了创建复杂、美观且数据丰富的报表的能力。在这个教程中,我们将深入理解这两款工具的核心概念、功能以及如何结合使用。 首先,...

    iReport+jasperReports中文教程.rar

    4. **表达式和变量**:理解JasperReports中的表达式语言JasperReports Expression Language (JEXL),以及如何使用变量和计算字段来处理动态数据。 5. ** JasperReports API**:了解JasperReports的核心类,如...

    博文附件:一步一步学iReport + JasperReports(二) :

    本文对应文章:一步一步学iReport + JasperReports(二) :JasperReport初级教程(2.0.3)图文详解(转) http://blog.csdn.net/trocp/article/details/6910745

    iReport+JasperReports报表开发入门

    《iReport+JasperReports报表开发入门详解》 iReport是一款强大的报表设计工具,主要用于创建和编辑JasperReports报表。对于初学者来说,掌握iReport的使用是进入报表开发领域的关键。本文将详细讲解iReport的安装...

    IReport+jasperReports实现flash报表查询功能

    在IReport和JasperReports中实现Flash报表,主要涉及以下步骤: 1. **设计报表模板**:在IReport中,你可以选择“Flash Chart”组件来添加图表,然后配置其数据源、类型、系列等属性。确保在设计时考虑到Flash的...

    iReport+jasperReports开发java Application报表

    JasperReports的强大之处在于它的可扩展性和灵活性,可以轻松地集成到任何Java项目中。 在使用iReport和JasperReports进行报表开发时,通常遵循以下步骤: 1. **设计报表模板**:在iReport中,你可以使用拖放功能...

    iReport+jasperreports生成各种格式的报表

    总之,iReport与JasperReports是Java开发环境中不可或缺的报表工具,它们的组合使用为企业带来了高效、灵活的报表解决方案。无论你是初学者还是经验丰富的开发者,都值得深入了解并熟练掌握这两个工具,提升你的项目...

    ireport+jasperreports的报表

    ### iReport与JasperReports报表开发详解 #### 一、简介 JasperReports是一个功能强大的报表制作工具,它允许用户根据特定的规则编写XML文件,从而生成多种格式的输出文件,例如PDF、HTML、XML、XLS等。iReport则是...

    iReport+jasperReports报表设计中文全套.rar

    iReport和JasperReports是Java世界中非常流行的报表设计工具,它们主要用于创建复杂的数据报告,广泛应用于企业级应用系统中。本套教程包含了从基础到高级的全方位学习内容,旨在帮助用户掌握这两款工具的使用技巧,...

    ireport+jasper中文手册 pdf版

    通过阅读这本《ireport+jasper中文手册》,开发者不仅可以掌握ireport和jasperReports的基本用法,还能了解到如何在实际项目中灵活运用这些工具,提升报表开发的效率和质量。无论是对于初学者还是有经验的开发者,这...

Global site tag (gtag.js) - Google Analytics