- 浏览: 50948 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
villain001:
楼上傻逼!!!
苦不堪言,iReport + JasperReports项目中的历练 -
soci:
异步吧,
大概流程这样
用户申请查看某报表,后台把这个任务放到 ...
请大家支招:关于大数据量的读取与处理 -
cuiyi.crazy:
谢谢 魔力猫咪报表总有时间段的,怎么能知道你要生成全部 还是生 ...
请大家支招:关于大数据量的读取与处理 -
魔力猫咪:
无论如何,需求都有个时效性问题。你到底需要报表实时生成吗?而且 ...
请大家支招:关于大数据量的读取与处理 -
cuiyi.crazy:
可是如果不重新计算,缓存的报表页面 或者 提前生成的PDF
...
请大家支招:关于大数据量的读取与处理
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有时侯不能显示数据库中数据的解决方式:
1)每一个element:设置:print when details overflow ;stretch overflow
2)字段高度不够
******************************************************
all resolved, the boss smiled, and happy back from customer
话说使用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
评论
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中文教程
详细说明iReport+JasperReports,以及例子代码,个人觉得不错~
iReport+jasperReports JAVA报表是款不错的java报表
iReport+jasperReports 制作WEB报表pdf格式,初学JAVA报表很有用
新手看,入门所用~喜欢就回复~!~~ 都是一些简单的东西
iReport+jasperReports开发java Application报表
iReport+jasperReports报表设计中文全套
ireport jasperreports 项目实例,导入myeclipse下,运行在tomcat上即可 导出pdf,doc,xls,html格式的文档,自己整理可用的,不忽悠你,算是比较完整的 不仅在servlet中导出,而且整合了struts2导出,非常实用,当然...
iReport+jasperReports实现flash报表查询和显示功能
本文对应文章:一步一步学iReport + JasperReports(二) :JasperReport初级教程(2.0.3)图文详解(转) http://blog.csdn.net/trocp/article/details/6910745
java ireport,ireport和jasperReports 制作web报表,
本人在网上看到的,觉得很适合初学者
近期项目ireport+jasperreports版本升级,整理出来的,包含iReport5.6,及项目需要引入的jar包,亲测有效。
Jasperreport是一个报表制作程序,用户需要按照它制定的规则编写一个XML文件, 然后得到用户需要输出的格式文件。它支持输出的文件格式包括... 而iReport就是一个制作Jasperreport的XML文件的可视化开发工具。 【引用】
NULL 博文链接:https://fiercelf.iteye.com/blog/571403
iReport的使用文档,入门者使用。。。。。。。。。。
NULL 博文链接:https://chengxibeauty.iteye.com/blog/1747020