- 浏览: 262368 次
- 性别:
- 来自: 南通
文章分类
最新评论
-
u011684694:
方便提供一源码?初学者
jBPM(三):Spring 集成 jBPM4.3 (jBPM4+Hibernate4) -
backtracker:
niubility
MongoDB基础 -
lijiejava:
<?xml version="1.0&qu ...
MongoDB基础 -
u010214546:
握着橄榄枝的人 写道在一对多关联中,在多的一方设置invers ...
Hibernate中inverse="true"的理解 -
ycy1003757:
请教一下,在BlobStrategyBlob类中session ...
jBPM(三):Spring 集成 jBPM4.3 (jBPM4+Hibernate4)
JasperReport+iReport报表
项目需要打印报表,选择了JasperReport来实现,部分效果如下图所示:
jrxml文件:
jrxml文件:
<?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="p83" language="groovy" pageWidth="623" pageHeight="842" columnWidth="538" leftMargin="55" rightMargin="30" topMargin="0" bottomMargin="0" uuid="509625b5-9b3b-4016-a564-c34e0fe0a811"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <subDataset name="geneTestListDS" uuid="513f385e-e1cb-4733-bbe9-78531fba7723"> <queryString> <![CDATA[]]> </queryString> <field name="name" class="java.lang.String"> <fieldDescription><![CDATA[name]]></fieldDescription> </field> <field name="percent" class="java.lang.String"> <fieldDescription><![CDATA[percent]]></fieldDescription> </field> <field name="position" class="java.lang.String"> <fieldDescription><![CDATA[position]]></fieldDescription> </field> <field name="myGene" class="java.lang.String"> <fieldDescription><![CDATA[myGene]]></fieldDescription> </field> </subDataset> <subDataset name="fxChartDS" uuid="e68b8825-40bf-4a4e-b1ec-63b69e0da870"> <field name="chartLabel" class="java.lang.String"/> <field name="chartValue" class="java.lang.Float"/> <field name="chartSeries" class="java.lang.String"/> </subDataset> <subDataset name="hbChartDS" uuid="2bb837cd-e10e-4867-b77e-96c11eb04c07"> <field name="chartLabel" class="java.lang.String"/> <field name="chartValue" class="java.lang.Float"/> <field name="chartSeries" class="java.lang.String"/> </subDataset> <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA["/Users/lijie/Documents/genen/API/"]]></defaultValueExpression> </parameter> <field name="sickEnglishName" class="java.lang.String"/> <field name="sickChineseName" class="java.lang.String"/> <field name="sickIntro" class="java.lang.String"/> <field name="sicknessPercent" class="java.lang.String"/> <field name="hundredLessAmount" class="java.lang.String"/> <field name="hundredSameAmount" class="java.lang.String"/> <field name="hundredMoreAmount" class="java.lang.String"/> <field name="lifetimePrevalence" class="java.lang.String"/> <field name="globalAmount" class="java.lang.String"/> <field name="chinaAmount" class="java.lang.String"/> <field name="geneTestList" class="java.lang.Object"/> <field name="objawyList" class="java.lang.Object"/> <field name="diseaseDiagnosisList" class="java.lang.Object"/> <field name="refrenencesList" class="java.lang.Object"/> <field name="hundredAmountInfo" class="java.lang.String"/> <field name="fxChartDataList" class="java.lang.Object"/> <field name="hbChartDataList" class="java.lang.Object"/> <field name="hbTip1" class="java.lang.String"/> <field name="hbTip2" class="java.lang.String"/> <field name="fxTip1" class="java.lang.String"/> <field name="fxTip2" class="java.lang.String"/> <field name="objawy" class="java.lang.String"/> <field name="diseaseDiagnosis" class="java.lang.String"/> <field name="refrenences" class="java.lang.String"/> <group name="sickGroup" isStartNewPage="true"> <groupExpression><![CDATA[$F{sickEnglishName}]]></groupExpression> <groupHeader> <band/> </groupHeader> <groupFooter> <band/> </groupFooter> </group> <background> <band splitType="Stretch"/> </background> <pageHeader> <band height="35"> <line> <reportElement x="0" y="5" width="538" height="1" forecolor="#FF9900" uuid="d3b0d82c-0c11-4105-ba00-2483cbf3985c"/> <graphicElement> <pen lineWidth="15.0"/> </graphicElement> </line> </band> </pageHeader> <detail> <band height="641" splitType="Stretch"> <rectangle radius="10"> <reportElement x="248" y="371" width="233" height="20" forecolor="#2B6EB5" uuid="ab27b93f-f43a-497a-bf25-2a7b094379b0"/> </rectangle> <rectangle> <reportElement x="194" y="299" width="345" height="51" uuid="452dbf03-94d2-42d1-a1d1-7b40a85c9fe3"/> </rectangle> <rectangle radius="10"> <reportElement x="248" y="95" width="233" height="20" forecolor="#2B6EB5" uuid="c1fa5b02-5bc5-403a-a00c-0beecb19724d"/> </rectangle> <staticText> <reportElement x="0" y="95" width="137" height="15" uuid="d4d1a2d7-1fb1-43a0-bc56-92fd467b8858"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[您的患病风险]]></text> </staticText> <staticText> <reportElement x="0" y="110" width="137" height="13" uuid="c56588ad-d38f-4fea-a4a5-9acca3cd6bf1"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <text><![CDATA[Your prevalence]]></text> </staticText> <textField> <reportElement x="287" y="99" width="162" height="15" uuid="8a165469-ddd5-48cb-9009-a815ea06c5a9"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{sicknessPercent}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement x="194" y="271" width="345" height="16" uuid="662aeaab-b555-40a5-93bc-d518c837b029"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{hundredAmountInfo}]]></textFieldExpression> </textField> <textField> <reportElement x="227" y="303" width="306" height="15" uuid="710779df-9351-4b2e-87dd-6ea6d7184486"/> <textElement> <font size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{hundredLessAmount}]]></textFieldExpression> </textField> <textField> <reportElement x="226" y="318" width="306" height="16" forecolor="#2B6EB5" uuid="934dc37b-253c-4406-b956-ba3ea0d65672"/> <textElement> <font size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{hundredSameAmount}]]></textFieldExpression> </textField> <textField> <reportElement x="226" y="334" width="306" height="15" uuid="de0aa58b-e408-43f2-a281-b3609c198e29"/> <textElement> <font size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{hundredMoreAmount}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="371" width="137" height="15" uuid="1878a8e8-f086-472d-8c6d-9cf27a66b2f8"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[您的终生患病率]]></text> </staticText> <staticText> <reportElement x="0" y="386" width="137" height="13" uuid="25821800-4675-4aca-a1cf-8739cfb8eb6c"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <text><![CDATA[Life-time prevalence]]></text> </staticText> <textField> <reportElement x="317" y="376" width="177" height="15" uuid="3113bfdb-4098-4b93-ba2e-3ff87442df94"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{lifetimePrevalence}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="530" width="137" height="15" uuid="8e2289e6-e527-4b06-94cd-80f0ce321086"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[检测位点]]></text> </staticText> <staticText> <reportElement x="227" y="537" width="43" height="12" uuid="3ff27748-965a-432a-9f92-3daa535311b4"/> <textElement> <font fontName="Serif" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[检测基因]]></text> </staticText> <staticText> <reportElement x="304" y="535" width="49" height="12" uuid="78693e89-eaec-4f60-a94d-0c003bf0f26b"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[检测位点]]></text> </staticText> <staticText> <reportElement x="464" y="535" width="53" height="12" uuid="43350d8e-7d1b-4b87-bf38-3386cfe38f98"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[患病倍数]]></text> </staticText> <staticText> <reportElement x="385" y="535" width="41" height="12" uuid="cbc17fb6-8bd7-4018-ac8e-4cee137c5d1d"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[我的基因]]></text> </staticText> <line> <reportElement x="196" y="550" width="343" height="1" uuid="25242a54-af51-4c8e-9914-e0b967428266"/> <graphicElement> <pen lineWidth="2.0" lineColor="#999999"/> </graphicElement> </line> <componentElement> <reportElement x="217" y="555" width="312" height="19" uuid="27ae8082-fe0b-4db6-bc7a-5db3d7c759b6"/> <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> <datasetRun subDataset="geneTestListDS" uuid="dc8a5e2c-9986-4d42-a35b-692f2ebbc797"> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{geneTestList})]]></dataSourceExpression> </datasetRun> <jr:listContents height="19" width="312"> <textField> <reportElement x="10" y="2" width="61" height="14" uuid="3b2a0afe-6e3f-443b-9cc8-6222deab1939"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{name}]]></textFieldExpression> </textField> <textField> <reportElement x="252" y="2" width="56" height="14" uuid="0d664f43-e251-4e15-bea5-2f7d21ac2862"/> <textElement> <font fontName="PT Sans Caption" size="9"/> </textElement> <textFieldExpression><![CDATA[$F{percent}]]></textFieldExpression> </textField> <textField> <reportElement x="85" y="2" width="62" height="14" uuid="d9379c1a-efa6-4057-ae1b-9f463f364150"/> <textElement> <font fontName="PT Sans Caption" size="9"/> </textElement> <textFieldExpression><![CDATA[$F{position}]]></textFieldExpression> </textField> <textField> <reportElement x="173" y="0" width="60" height="16" uuid="95b17956-c63d-4b47-8f4f-ac63c2fe5dd7"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{myGene}]]></textFieldExpression> </textField> </jr:listContents> </jr:list> </componentElement> <staticText> <reportElement x="0" y="544" width="137" height="13" uuid="716cee60-bc59-406d-85d7-4fb46a398082"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <text><![CDATA[Gene tested]]></text> </staticText> <staticText> <reportElement x="0" y="601" width="137" height="15" uuid="69fdb09f-e976-41d9-8b39-1490b691e4dd"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[患病人数]]></text> </staticText> <staticText> <reportElement x="0" y="616" width="137" height="13" uuid="0a52d539-7b24-44e6-9d07-d444519dec54"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <text><![CDATA[Number of Patients]]></text> </staticText> <textField> <reportElement x="194" y="601" width="313" height="15" uuid="43774b66-29f3-4540-94c1-5586d41ad5a5"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{chinaAmount}]]></textFieldExpression> </textField> <textField> <reportElement x="194" y="615" width="313" height="13" uuid="e2fe2615-1465-46d8-aff8-d9f92389a3cf"/> <textElement> <font fontName="PT Sans Caption" size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{globalAmount}]]></textFieldExpression> </textField> <line> <reportElement x="196" y="574" width="343" height="1" uuid="7c5eb925-132e-46f1-901c-a1dbf29ba8e0"/> </line> <line> <reportElement x="196" y="530" width="343" height="1" uuid="37cf3928-3b7e-4b60-8d36-7e146221f4a2"/> <graphicElement> <pen lineWidth="2.0" lineColor="#999999"/> </graphicElement> </line> <barChart> <chart isShowLegend="false" customizerClass="com.newjetsoft.util.HbBarChartCustomizer"> <reportElement x="194" y="409" width="345" height="86" uuid="69de21a0-ec9b-465d-8566-e1db0bade3d1"/> <chartTitle/> <chartSubtitle/> <chartLegend/> </chart> <categoryDataset> <dataset> <datasetRun subDataset="hbChartDS" uuid="14bb7b8b-776e-48c3-a82c-7c03c7b0d0b7"> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{hbChartDataList})]]></dataSourceExpression> </datasetRun> </dataset> <categorySeries> <seriesExpression><![CDATA[$F{chartSeries}]]></seriesExpression> <categoryExpression><![CDATA[""]]></categoryExpression> <valueExpression><![CDATA[$F{chartValue}]]></valueExpression> <labelExpression><![CDATA[$F{chartLabel}]]></labelExpression> </categorySeries> </categoryDataset> <barPlot> <plot/> <itemLabel/> <categoryAxisFormat> <axisFormat/> </categoryAxisFormat> <valueAxisFormat> <axisFormat/> </valueAxisFormat> </barPlot> </barChart> <textField> <reportElement x="242" y="491" width="148" height="15" uuid="990762e8-f097-44af-8f35-6603e1226a1a"/> <textElement textAlignment="Center"> <font pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{hbTip1}]]></textFieldExpression> </textField> <textField> <reportElement x="396" y="491" width="138" height="14" uuid="f1ad464d-cf26-4ad0-8055-6330a4f0dca3"/> <textElement> <font pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{hbTip2}]]></textFieldExpression> </textField> <barChart> <chart isShowLegend="false" customizerClass="com.newjetsoft.util.BarChartCustomizer"> <reportElement x="194" y="127" width="344" height="100" uuid="9d4ea590-8971-4f18-8fad-e3db6e8ce58d"/> <chartTitle/> <chartSubtitle/> <chartLegend/> </chart> <categoryDataset> <dataset> <datasetRun subDataset="fxChartDS" uuid="040f3db6-6c0a-4140-b7cd-71aa09be0b11"> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{fxChartDataList})]]></dataSourceExpression> </datasetRun> </dataset> <categorySeries> <seriesExpression><![CDATA[$F{chartSeries}]]></seriesExpression> <categoryExpression><![CDATA[""]]></categoryExpression> <valueExpression><![CDATA[$F{chartValue}]]></valueExpression> <labelExpression><![CDATA[$F{chartLabel}]]></labelExpression> </categorySeries> </categoryDataset> <barPlot> <plot/> <itemLabel/> <categoryAxisFormat> <axisFormat/> </categoryAxisFormat> <valueAxisFormat> <axisFormat/> </valueAxisFormat> </barPlot> </barChart> <textField> <reportElement x="260" y="223" width="136" height="14" uuid="737b5bb5-3c84-449c-b450-be9a920a04f3"/> <textElement> <font pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{fxTip1}]]></textFieldExpression> </textField> <textField> <reportElement x="396" y="223" width="119" height="14" uuid="4863ea82-3dc9-4fc8-b25f-9006654a03bd"/> <textElement textAlignment="Right"> <font pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{fxTip2}]]></textFieldExpression> </textField> <staticText> <reportElement x="194" y="243" width="345" height="15" forecolor="#999999" uuid="2a59f8d5-6865-44e4-840d-718db059f160"/> <textElement> <font size="8" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[ * 横轴为患病倍数,纵轴为对应的患病人数比例,蓝色为您的患病信息]]></text> </staticText> <textField> <reportElement x="0" y="0" width="156" height="20" uuid="bdbfdd07-97b4-446e-a99e-c5b3c1f24cf4"/> <textElement> <font fontName="PT Sans Caption" size="14" isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{sickEnglishName}]]></textFieldExpression> </textField> <textField> <reportElement x="0" y="20" width="156" height="20" uuid="744c9462-13a8-40e6-97f5-7c9bdb382659"/> <textElement> <font fontName="PT Sans Caption" size="14" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{sickChineseName}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement x="186" y="0" width="352" height="20" uuid="eae81b11-6081-44ba-afd8-360a4ae8b540"/> <textElement markup="html"> <font pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{sickIntro}]]></textFieldExpression> </textField> </band> <band height="50"> <textField isStretchWithOverflow="true"> <reportElement x="196" y="10" width="336" height="15" uuid="df323987-d4f2-4b18-ab7e-8deff016f3c8"/> <textElement markup="html"> <font pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{objawy}]]></textFieldExpression> </textField> <staticText> <reportElement x="0" y="10" width="137" height="15" uuid="687d9b05-88d0-4f7a-9254-08b5e59faae8"/> <textElement> <font size="9"/> </textElement> <text><![CDATA[患病症状]]></text> </staticText> <staticText> <reportElement x="0" y="25" width="137" height="14" uuid="0eec7557-850a-4bd6-b859-1b9de3f0a686"/> <textElement> <font size="9" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <text><![CDATA[Objawy Chorobowe]]></text> </staticText> </band> <band height="50"> <staticText> <reportElement x="0" y="10" width="137" height="15" uuid="176c7567-5fcb-4052-b5aa-730b3787d026"/> <textElement> <font size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[患病诊断]]></text> </staticText> <staticText> <reportElement x="0" y="25" width="137" height="13" uuid="41516bbc-edc9-4254-a394-f9911e5af0cd"/> <textElement> <font pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <text><![CDATA[Disease diagnosis]]></text> </staticText> <textField isStretchWithOverflow="true"> <reportElement x="196" y="10" width="336" height="15" uuid="bc64ed39-6d31-4a9b-97ec-ee0e4924afe6"/> <textElement markup="html"> <font pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{diseaseDiagnosis}]]></textFieldExpression> </textField> </band> <band height="50"> <staticText> <reportElement x="0" y="10" width="137" height="15" uuid="67462c5c-1ecb-475d-93d8-238a2df3c130"/> <textElement> <font size="9" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/> </textElement> <text><![CDATA[参考文献]]></text> </staticText> <staticText> <reportElement x="0" y="25" width="137" height="13" uuid="28e436c7-46fa-41f6-a020-0e56cac4885a"/> <textElement> <font size="9" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <text><![CDATA[References]]></text> </staticText> <textField isStretchWithOverflow="true"> <reportElement x="194" y="10" width="338" height="15" uuid="0bb4d94f-e2fe-46c5-b81d-b23e732574ff"/> <textElement> <font pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[$F{refrenences}]]></textFieldExpression> </textField> </band> </detail> <pageFooter> <band height="40"> <staticText> <reportElement x="214" y="15" width="150" height="12" forecolor="#999999" uuid="bbb3fbc8-e85f-47ed-996f-3fce7bde1909"/> <textElement> <font size="6"/> </textElement> <text><![CDATA[健康风险 HEALTH RISK]]></text> </staticText> </band> </pageFooter> </jasperReport>
相关推荐
### JasperReport+iReport 报表开发手册核心知识点详解 #### 一、JasperReport与iReport概述 **JasperReport** 是一款强大的、灵活的报表生成工具,它能够展示丰富的页面内容,并支持将这些内容转换为PDF、HTML或...
它有一个相关的开源工程--IReport,这是一个图形化的辅 助工具,主要用于数据报表设计。JasperReports 完全是由 Java 写成,可以应用于 Java 的应用 程序,包括 J2EE,Web 应用程序中生成动态内容,它主要目的是辅助...
通过以上内容的总结,我们可以了解到JasperReport+iReport报表工具的详细开发手册主要涉及了报表工具的安装配置、报表设计与编辑、数据源配置、SQL语句使用、报表元素应用、Java编程接口使用以及报表在Web环境中的...
### JasperReport+iReport 报表工具详细开发手册 #### 1. 简介 JasperReport是一款功能强大的报表引擎,适用于Java应用环境。它能够根据预设的模板生成多种格式的报表,如PDF、HTML、Excel等。iReport则是...
### JasperReport+iReport 报表学习资料知识点梳理 #### 一、JasperReport与iReport简介 - **JasperReport**:是一款强大的报表生成工具,主要用于解析特定的`.jasper`文件并将其转换为用户友好的报表界面。该工具...
### JasperReport+iReport 报表工具详细开发手册 #### 一、简介 JasperReport是一款强大的报表引擎,它能够解析`.jasper`报表定义文件,并最终生成用户友好的报表界面。iReport则是一款可视化的报表模板设计工具,...
JasperReport和iReport的结合使用,为开发者提供了一种高效、灵活的方式来设计和生成复杂的报表。本文将深入探讨如何利用这两个工具进行WEB开发。 JasperReport是一款开源的Java报表库,它支持多种数据源,如数据库...
IReport是JasperReport的配套设计工具,它提供了一个图形化用户界面,使得开发者可以方便地设计和编辑报表模板。通过IReport,你可以直观地拖放元素,设置样式,以及预览报表效果,大大简化了报表开发过程。 【报表...
JasperReport和iReport是Java世界中常用的报表生成工具,它们可以帮助开发者轻松创建复杂的报表,并在Web应用程序中集成。在JasperReport 2.0.2和iReport 2.0.2版本中,我们可以实现多种功能,包括字段、变量、参数...
JasperReport和iReport是Java平台下用于生成报表的工具,它们在企业应用开发中扮演着重要的角色,尤其是在报表的生成、展现和打印方面。JasperReport是一种报表引擎,它能够解析.jasper文件并将其呈现到用户界面中,...
### JasperReport与iReport复合报表深度解析 #### 引言 在报表开发领域,JasperReport因其强大的功能和灵活性而受到广泛青睐。结合iReport工具,开发者能够更加便捷地设计和生成复杂报表。本文旨在深入解析...
Struts2.0+JasperReport+IReport+Oracle 报表开发 整个项目打包上传,用MyEclipse导入即可调试使用 含报表文件、数据库表结构及测试数据,项目中解决了PDF中文不显示问题
Struts2.0+JasperReport+IReport+Oracle 报表开发 整个项目打包上传,用MyEclipse导入即可调试使用 含报表文件、数据库表结构及测试数据,项目中解决了PDF中文不显示问题
jasperreport+ireport+jfreechart文档及代码2 jasperreport+ireport+jfreechart文档及代码2 jasperreport+ireport+jfreechart文档及代码2
7. **jasperreport+ireport开发java报表入门级教程.pdf**:专门针对Java开发者的入门教程,详细解释如何使用JasperReport和IReport构建报表。 8. **jasperReport.pdf**:可能是一个JasperReport的官方文档或者第三方...
【JasperReport+iReport 高级报表设计实战】 在IT领域,报表系统是许多企业级应用的核心部分,用于展示和分析数据。JasperReport是一款强大的开源报表生成工具,而iReport则是它的可视化设计界面,降低了报表设计的...
Struts2.0+JasperReport+IReport+Oracle 报表开发整个项目打包上传,用MyEclipse导入即可调试使用含报表文件、数据库表结构及测试数据,项目中解决了PDF中文
### jasperreport+ireport开发java报表入门级教程(完整版) #### 一、简介:什么是iReport? iReport系统是一种在线系统,用于报告工作场所安全与健康(WSHA)事件报告条例下的事故、危险事件及职业病。雇主、占用...