Jasper reports jasper中的静态文本或文本(动态)字段是否可以跨越两页?

Jasper reports jasper中的静态文本或文本(动态)字段是否可以跨越两页?,jasper-reports,Jasper Reports,我正在创建一个pdf报告,可以是4-5页长。我正在使用jasper studio设计pdf文档。我创建了一个A4大小的文件,每面有20像素的边距。我使用的是细节带,删除了所有其他带。细节栏1包含页面1的内容,细节栏2包含页面2,依此类推。以下是我想澄清的事情 我的方法正确吗?因为我只使用细节栏来保存内容?做 你认为排除所有其他乐队有什么问题吗 我遇到了一个空白的问题:细节栏1保留第1页, 这条带子的高度为802px,可容纳3人 节,帧1(400像素)帧2(300像素)和帧3(192像素)。在我的

我正在创建一个pdf报告,可以是4-5页长。我正在使用jasper studio设计pdf文档。我创建了一个A4大小的文件,每面有20像素的边距。我使用的是细节带,删除了所有其他带。细节栏1包含页面1的内容,细节栏2包含页面2,依此类推。以下是我想澄清的事情

  • 我的方法正确吗?因为我只使用细节栏来保存内容?做 你认为排除所有其他乐队有什么问题吗

  • 我遇到了一个空白的问题:细节栏1保留第1页, 这条带子的高度为802px,可容纳3人 节,帧1(400像素)帧2(300像素)和帧3(192像素)。在我的 案例框架2的内容会根据具体情况动态拉伸 数据。如果Frame2拉伸到350px,现在我只有52 px 左在第一个波段,我的Frame3是192像素,结果是jasper 正在将此框架推到下一页。留下52px的空白空间 第1页看起来很尴尬。有没有办法配置jasper来显示 第1页第3帧的52像素和第2页的其余140像素,这样在任何给定时间pdf中都不会显示空白

  • 我尝试在frame元素上使用StretchType属性,但似乎没有帮助,有人对此有任何意见吗?提前谢谢

    示例jrxml说明了我的问题:

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Created with Jaspersoft Studio version 6.3.1.final using JasperReports Library version 6.3.1  -->
    <!-- 2017-03-24T14:43:38 -->
    <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="newIAA" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="8de39cec-dd1f-418f-8ba0-9735f2f410ba">
        <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
        <detail>
            <band height="802">
                <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                <frame>
                    <reportElement x="0" y="0" width="555" height="190" uuid="eb437bb0-bc94-43e5-8d78-a19c7b2a6b4e">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                    </reportElement>
                    <staticText>
                        <reportElement x="119" y="0" width="289" height="30" uuid="f2530fdd-884d-43cd-b504-f21e09c9db47">
                            <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        </reportElement>
                        <box>
                            <pen lineWidth="1.0"/>
                            <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                            <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                            <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                            <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                        </box>
                        <textElement textAlignment="Center">
                            <font size="22" isBold="true" isUnderline="true"/>
                        </textElement>
                        <text><![CDATA[Customer Invoice ]]></text>
                    </staticText>
                    <staticText>
                        <reportElement x="0" y="80" width="553" height="110" uuid="565fea21-e609-4fae-abdb-640f7c2d322d">
                            <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        </reportElement>
                        <textElement markup="styled">
                            <font fontName="SansSerif" size="16"/>
                        </textElement>
                        <text><![CDATA[<b>Details : </b><br/><li>one</li><li>two</li><li>three</li><li>four</li>]]></text>
                    </staticText>
                </frame>
                <frame>
                    <reportElement positionType="Float" x="0" y="190" width="555" height="120" uuid="a28f4d54-6499-4a69-b23f-caf5bbe7d126">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                    </reportElement>
                    <staticText>
                        <reportElement x="0" y="30" width="555" height="190" uuid="5758f399-38cf-4f98-beda-ee25a9ae785f"/>
                        <textElement markup="styled"/>
                        <text><![CDATA[<b>Shipping Information </b><li>one</li><li>two</li><li>three</li><li>four</li><li>five</li><li>six</li><li>seven</li><li>eight</li><li>nine</li><li>ten</li><li>eleven</li><li>tweleve</li><li>thirteen</li><li>fourteen</li><li>fifteen</li>]]></text>
                    </staticText>
                </frame>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="440" width="555" height="280" uuid="ed31eefd-ccc2-419f-b29e-d1f33a855b6a">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12"/>
                    </textElement>
                    <text><![CDATA[<b>Address:</b><br/><li>one</li><li>two</li><li>three</li><li>four</li><li>five</li><li>six</li><li>seven</li><li>eight</li><li>nine</li><li>ten</li><li>eleven</li><li>tweleve</li><li>thirteen</li><li>fourteen</li><li>fifteen</li><li>sixteen</li><li>seventeen</li><li>eighteen</li><li>nineteen</li>]]></text>
                </staticText>
            </band>
        </detail>
    </jasperReport>
    
    
    详情:
  • 一个
  • 两个三个四个]> 航运信息:一、二、三、四、六、七、八、十、十一、十五 地址:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 13
  • 14
  • 十五
  • 十六
  • 十七
  • 文本字段可以跨两页延伸吗

    答案是肯定的,如果您将文本字段元素的属性stretch with overflow设置为TRUE,则该元素可以在两个页面上拉伸。不过,我不确定静态文本元素。我从来没有必要这么做。我尝试过使用一个静态文本元素,但我没有看到一个选项可以使它在两个页面上延伸。也许,顾名思义,它是用来与静态文本一起使用的,这些文本总是相同的,因此您可以事先知道它在报告中所占的大小,即使它的位置可能会因其上方放置的其他动态元素而改变

    至于排除其他乐队,如果你不需要的话,我认为这没有任何问题。但是,根据您的数据和您想要实现的最终结果,它可能有助于创建其他波段

    详细信息波段最适用于多行数据集。如果您有一个动态增长的部分,我建议您将其放在一个单独的详细信息带中。将标注栏的高度精确设置为文本字段的高度(足以容纳正在显示的文本),然后它将根据需要动态跨越任意多个页面。每当您希望将某个内容(无条件)放在单独的页面上时,可以添加Break元素,并将Type属性设置为page

    在您的示例中,我看到您将所有数据放在一个文本字段中,这不是一个好的做法。如果您显示的数据是固定的(当我说固定时,我指的是一行,而不是多行),请将每个值放在单独的文本字段中,它不会在第一页留下空白。它会在第一页上放上任何可以放进去的东西,其余的会移到第二页上

    这是你的例子,我稍微修改了一下。在这里,地址部分跨越两页

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Created with Jaspersoft Studio version 6.3.0.final using JasperReports Library version 6.3.0  -->
    <!-- 2017-03-26T14:03:51 -->
    <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="newIAA" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="8de39cec-dd1f-418f-8ba0-9735f2f410ba">
        <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
        <detail>
            <band height="197">
                <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                <frame>
                    <reportElement x="0" y="0" width="555" height="190" uuid="eb437bb0-bc94-43e5-8d78-a19c7b2a6b4e">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                    </reportElement>
                    <staticText>
                        <reportElement x="119" y="0" width="289" height="30" uuid="f2530fdd-884d-43cd-b504-f21e09c9db47">
                            <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        </reportElement>
                        <box>
                            <pen lineWidth="1.0"/>
                            <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                            <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                            <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                            <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                        </box>
                        <textElement textAlignment="Center">
                            <font size="22" isBold="true" isUnderline="true"/>
                        </textElement>
                        <text><![CDATA[Customer Invoice ]]></text>
                    </staticText>
                    <staticText>
                        <reportElement x="0" y="80" width="553" height="110" uuid="565fea21-e609-4fae-abdb-640f7c2d322d">
                            <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        </reportElement>
                        <textElement markup="styled">
                            <font fontName="SansSerif" size="16"/>
                        </textElement>
                        <text><![CDATA[<b>Details : </b><br/><li>one</li><li>two</li><li>three</li><li>four</li>]]></text>
                    </staticText>
                </frame>
            </band>
            <band height="214">
                <staticText>
                    <reportElement x="0" y="10" width="555" height="190" uuid="5758f399-38cf-4f98-beda-ee25a9ae785f"/>
                    <textElement markup="styled"/>
                    <text><![CDATA[<b>Shipping Information </b><li>one</li><li>two</li><li>three</li><li>four</li><li>five</li><li>six</li><li>seven</li><li>eight</li><li>nine</li><li>ten</li><li>eleven</li><li>tweleve</li><li>thirteen</li><li>fourteen</li><li>fifteen</li>]]></text>
                </staticText>
            </band>
            <band height="470">
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="10" width="555" height="20" uuid="462f317f-f89a-44ed-8e77-ad07a7b386e6">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Address]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="30" width="555" height="20" uuid="64991fde-9a85-45f7-8061-8b418642e457">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[One]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="50" width="555" height="20" uuid="d5498a2b-1f41-4aa6-b0fd-82ca38f4fc75">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Two]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="70" width="555" height="20" uuid="92617678-99dc-489e-be27-d10ed00da863">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Three]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="90" width="555" height="20" uuid="e63ef22e-1f45-4841-b1c2-d17530ccde8c">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Four]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="110" width="555" height="20" uuid="c355db54-18b6-4fce-9086-e9c0c02d94b6">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Five]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="130" width="555" height="20" uuid="0b81eb8d-c240-4adf-acb8-882fab11666c">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Six]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="150" width="555" height="20" uuid="e50850a3-a9b8-4320-a002-a8fcae766b81">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Seve]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="210" width="555" height="20" uuid="0ad5cd07-2e6a-4a28-90f6-3d12169b8f65">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Ten]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="270" width="555" height="20" uuid="e0dc3fab-9f99-4f75-a420-434562a942f5">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Thirteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="230" width="555" height="20" uuid="dafe0207-10f8-4a97-8f87-2774822d5bed">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Eleven]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="190" width="555" height="20" uuid="4d3d50c6-ace9-4b1c-8ed8-e66ad7d21b60">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Nite]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="170" width="555" height="20" uuid="1f56f519-df14-438d-bd2b-3af7e6e6eaa0">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Eight]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="290" width="555" height="20" uuid="0dffe48d-65b8-4ce3-841f-9d9c85d69ad6">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Fourteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="250" width="555" height="20" uuid="09c6d28b-2eb1-401a-98ae-7aac905d54df">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Twelve]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="330" width="555" height="20" uuid="600b4b76-9244-4152-aa23-edd23c08d313">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Fourteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="310" width="555" height="20" uuid="1d7ed52c-a57b-4e70-b645-f259087ec47a">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Thirteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="350" width="555" height="20" uuid="da33f8f6-6269-4da3-9e86-b87037b1e543">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Fourteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="410" width="555" height="20" uuid="5353b3a4-e9f4-4424-b054-b4158db1f4a8">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Thirteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="390" width="555" height="20" uuid="1e4c1aa6-1a9a-4764-a176-ebb498a99218">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Fourteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="370" width="555" height="20" uuid="3f8c3dcd-e08d-40ee-8eae-afcfdfbbc14f">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Thirteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="430" width="555" height="20" uuid="f7b1d764-97fa-45bd-99f1-2cd24e889709">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Fourteen]]></text>
                </staticText>
                <staticText>
                    <reportElement positionType="Float" stretchType="ContainerBottom" x="0" y="450" width="555" height="20" uuid="9fadb409-fb15-41ed-9f39-ef6a7b86eaf5">
                        <property name="com.jaspersoft.studio.unit.x" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.width" value="pixel"/>
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement textAlignment="Left" markup="styled">
                        <font size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Fourteen]]></text>
                </staticText>
            </band>
        </detail>
    </jasperReport>
    
    
    详情:
  • 一个
  • 两个三个四个]> 希皮
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Created with Jaspersoft Studio version 6.3.1.final using JasperReports Library version 6.3.1  -->
    <!-- 2017-03-28T08:17:44 -->
    <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="test" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="012f65ad-c3b4-411c-81e1-947ff7200100">
        <property name="com.jaspersoft.studio.data.sql.tables" value=""/>
        <property name="com.jaspersoft.studio.data.defaultdataadapter" value="CRK_DATADAPTER.xml"/>
        <queryString language="SQL">
            <![CDATA[usp_test]]>
        </queryString>
        <field name="Text" class="java.lang.String"/>
        <background>
            <band splitType="Stretch"/>
        </background>
        <title>
            <band height="66" splitType="Stretch">
                <staticText>
                    <reportElement x="0" y="20" width="550" height="30" uuid="058b5b66-2862-4130-91a2-7e5817ac10fa"/>
                    <textElement textAlignment="Center">
                        <font size="18" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Title]]></text>
                </staticText>
            </band>
        </title>
        <detail>
            <band height="138" splitType="Stretch">
                <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                <staticText>
                    <reportElement x="0" y="0" width="550" height="130" uuid="9d0688b2-a0b4-4ae9-be83-dabc35a3321d"/>
                    <textElement markup="html"/>
                    <text><![CDATA[Some text goes here:
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>
    <li>ka hsdlfkashdfkashdfkasjd fhkashdf </li>]]></text>
                </staticText>
            </band>
            <band height="20">
                <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                <textField isStretchWithOverflow="true">
                    <reportElement x="100" y="0" width="450" height="20" uuid="7fd5b2f7-5044-465b-b2c3-a68a8263eb7a"/>
                    <textElement markup="html"/>
                    <textFieldExpression><![CDATA["Lorem ipsum dolor sit amet, insolens tincidunt ea vix. In eos minim detraxit, nibh expetenda pro ex. Iudicabit patrioque mel in. Sumo eligendi eloquentiam eam ei. Iisque bonorum meliore eum te, no viris conceptam his, eu nulla tation fabellas eos. Sea verear laoreet no.<br>Id odio dicant ius, tritani erroribus cum ne. Pri nominavi copiosae eu, est eirmod aliquando moderatius ut, latine commodo labitur ut duo. Dicit dicunt nonumes his te, solet graecis pertinacia ius cu. Mea ne modo deseruisse. Iriure commune tacimates ne sea, qui explicari definitiones cu. Eu salutandi appellantur consequuntur mei, nec te dico nemore.<br>Qui et utamur tacimates honestatis, sea iuvaret fabellas percipitur cu, no vim autem recteque. Vis fugit mundi convenire et, ut sed doming epicuri salutatus. No eius idque ponderum nec. Cum fugit facete ut, an vero saepe inciderint mel.<br>Viris nemore ei nam, qui graece recteque id, nam vero elit ridens ea. Labitur placerat mnesarchum ius an, ad est sonet nonumes. Dicit dicunt labitur nam id, corrumpit torquatos ei nec. Affert consetetur mediocritatem ne nam, inani efficiantur cu duo, civibus contentiones eos et.<br>Definiebas vituperata vis cu, unum fierent an cum. Et enim elitr cum, ex hinc aperiri has, sea in maiorum tibique. Cum iudico detracto cu, choro veniam consul vim et. Qui graeco commodo in, per at eirmod omittam, ut pro sale placerat.<br>Iudico forensibus his ut, no eros facete qualisque qui. Ne dolor facilisis complectitur ius, at cum sale etiam pertinacia, his regione dolorum cu. Ea sale facer usu, wisi paulo simul at duo, tritani dolorum urbanitas et eam. Liber blandit inciderint has cu. Usu an quodsi tibique interesset, at nam movet latine periculis. Mollis copiosae efficiantur vix no, te sit idque accumsan. Pro illud error saepe id, ius ut meliore inermis.<br>Sed ne quaeque aliquam inciderint, an utroque lucilius intellegam per, ius aperiri nonumes adipiscing ea. Vidit virtute his at, cu sit constituam definitionem concludaturque. Fugit fastidii liberavisse per cu. Vim suas omnium ei, et inani sadipscing mel, vis ei expetenda molestiae definiebas.<br>Lorem ipsum dolor sit amet, insolens tincidunt ea vix. In eos minim detraxit, nibh expetenda pro ex. Iudicabit patrioque mel in. Sumo eligendi eloquentiam eam ei. Iisque bonorum meliore eum te, no viris conceptam his, eu nulla tation fabellas eos. Sea verear laoreet no.<br>Id odio dicant ius, tritani erroribus cum ne. Pri nominavi copiosae eu, est eirmod aliquando moderatius ut, latine commodo labitur ut duo. Dicit dicunt nonumes his te, solet graecis pertinacia ius cu. Mea ne modo deseruisse. Iriure commune tacimates ne sea, qui explicari definitiones cu. Eu salutandi appellantur consequuntur mei, nec te dico nemore.<br>Qui et utamur tacimates honestatis, sea iuvaret fabellas percipitur cu, no vim autem recteque. Vis fugit mundi convenire et, ut sed doming epicuri salutatus. No eius idque ponderum nec. Cum fugit facete ut, an vero saepe inciderint mel."]]></textFieldExpression>
                </textField>
                <staticText>
                    <reportElement x="0" y="0" width="100" height="20" uuid="21b54d29-9d8c-4c3a-82bb-f2aeb2256941">
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <text><![CDATA[Text]]></text>
                </staticText>
            </band>
            <band height="20">
                <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                <textField isStretchWithOverflow="true" isBlankWhenNull="true">
                    <reportElement x="-5" y="0" width="550" height="20" uuid="cff4e917-c84e-42a6-ae07-5aa19ae0b70f">
                        <property name="com.jaspersoft.studio.unit.height" value="pixel"/>
                    </reportElement>
                    <textElement markup="html"/>
                    <textFieldExpression><![CDATA["Lorem ipsum dolor sit amet, insolens tincidunt ea vix. In eos minim detraxit, nibh expetenda pro ex. Iudicabit patrioque mel in. Sumo eligendi eloquentiam eam ei. Iisque bonorum meliore eum te, no viris conceptam his, eu nulla tation fabellas eos. Sea verear laoreet no.<br>Id odio dicant ius, tritani erroribus cum ne. Pri nominavi copiosae eu, est eirmod aliquando moderatius ut, latine commodo labitur ut duo. Dicit dicunt nonumes his te, solet graecis pertinacia ius cu. Mea ne modo deseruisse. Iriure commune tacimates ne sea, qui explicari definitiones cu. Eu salutandi appellantur consequuntur mei, nec te dico nemore.<br>Qui et utamur tacimates honestatis, sea iuvaret fabellas percipitur cu, no vim autem recteque. Vis fugit mundi convenire et, ut sed doming epicuri salutatus. No eius idque ponderum nec. Cum fugit facete ut, an vero saepe inciderint mel.<br>Viris nemore ei nam, qui graece recteque id, nam vero elit ridens ea. Labitur placerat mnesarchum ius an, ad est sonet nonumes. Dicit dicunt labitur nam id, corrumpit torquatos ei nec. Affert consetetur mediocritatem ne nam, inani efficiantur cu duo, civibus contentiones eos et.<br>Definiebas vituperata vis cu, unum fierent an cum. Et enim elitr cum, ex hinc aperiri has, sea in maiorum tibique. Cum iudico detracto cu, choro veniam consul vim et. Qui graeco commodo in, per at eirmod omittam, ut pro sale placerat.<br>Iudico forensibus his ut, no eros facete qualisque qui. Ne dolor facilisis complectitur ius, at cum sale etiam pertinacia, his regione dolorum cu. Ea sale facer usu, wisi paulo simul at duo, tritani dolorum urbanitas et eam. Liber blandit inciderint has cu. Usu an quodsi tibique interesset, at nam movet latine periculis. Mollis copiosae efficiantur vix no, te sit idque accumsan. Pro illud error saepe id, ius ut meliore inermis.<br>Sed ne quaeque aliquam inciderint, an utroque lucilius intellegam per, ius aperiri nonumes adipiscing ea. Vidit virtute his at, cu sit constituam definitionem concludaturque. Fugit fastidii liberavisse per cu. Vim suas omnium ei, et inani sadipscing mel, vis ei expetenda molestiae definiebas.<br>Lorem ipsum dolor sit amet, insolens tincidunt ea vix. In eos minim detraxit, nibh expetenda pro ex. Iudicabit patrioque mel in. Sumo eligendi eloquentiam eam ei. Iisque bonorum meliore eum te, no viris conceptam his, eu nulla tation fabellas eos. Sea verear laoreet no.<br>Id odio dicant ius, tritani erroribus cum ne. Pri nominavi copiosae eu, est eirmod aliquando moderatius ut, latine commodo labitur ut duo. Dicit dicunt nonumes his te, solet graecis pertinacia ius cu. Mea ne modo deseruisse. Iriure commune tacimates ne sea, qui explicari definitiones cu. Eu salutandi appellantur consequuntur mei, nec te dico nemore.<br>Qui et utamur tacimates honestatis, sea iuvaret fabellas percipitur cu, no vim autem recteque. Vis fugit mundi convenire et, ut sed doming epicuri salutatus. No eius idque ponderum nec. Cum fugit facete ut, an vero saepe inciderint mel."]]></textFieldExpression>
                </textField>
            </band>
        </detail>
    </jasperReport>