JasperReport+iReport报表

[b]项目需要打印报表,选择了JasperReport来实现,部分效果如下图所示:[/b]


[img]http://dl.iteye.com/upload/picture/pic/136439/977b1352-493b-3e27-89f9-d10d395ac12e.jpg[/img]

[img]http://dl.iteye.com/upload/picture/pic/136441/a46b46ea-733d-3099-991e-b5bcaefb27e5.jpg[/img]

[b]jrxml文件:[/b]


<?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>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值