Why is element not printed on some pages? - jasper-reports

I have created a basic element which contains a static text and text field in a band. I have set 8 pieces of them after each other like rows of a table in a band and put them on one detail. The problem is that on the first page all elements are get filled and printed correctly. On the second page the 2 last elements wont printed. On the last page the last element wont be printed! I have no idea why it faces such a problem.
<?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="direktRechrDV" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="d12b4217-cf22-4ec4-857b-9cb1b2b406a8">
<property name="net.sf.jasperreports.print.create.bookmarks" value="true"/>
<group name="id" isStartNewPage="true" isReprintHeaderOnEachPage="true" keepTogether="true">
<groupExpression><![CDATA[$F{KN_Id}]]></groupExpression>
<groupHeader>
<band/>
</groupHeader>
<groupFooter>
<band splitType="Immediate">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</band>
</groupFooter>
</group>
<group name="LBgroup" isStartNewPage="true" isReprintHeaderOnEachPage="true" keepTogether="true">
<groupExpression><![CDATA[$F{LB_ID}]]></groupExpression>
<groupHeader>
<band/>
</groupHeader>
<groupFooter>
<band splitType="Immediate"/>
</groupFooter>
</group>
<pageHeader>
<band height="62" splitType="Stretch">
<staticText>
<reportElement x="8" y="2" width="409" height="26" uuid="37a242c0-b352-42e1-b287-42350a5e2090"/>
<textElement markup="html"/>
<text><![CDATA[Statistische Basisprüfung - Auffälligkeitskriterien: Verstetigung und Vollzähligkeit 2015<br>]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="7" y="16" width="322" height="19" uuid="f28c3fc0-6d00-4437-a185-febccf94e91f"/>
<textElement markup="none"/>
<textFieldExpression><![CDATA[$F{idLb} +" - "+ $F{LB_LangBezeichnung}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="8" y="32" width="321" height="20" uuid="705007c1-4bfa-483a-a113-887cf7fd6488"/>
<textFieldExpression><![CDATA[$F{KN_Id}+": "+$F{KN_BezeichnungAlleinstehendKurz}]]></textFieldExpression>
</textField>
<image hAlign="Center">
<reportElement x="480" y="6" width="50" height="50" uuid="3f5fe998-e94e-4280-af71-7f7163878156">
<printWhenExpression><![CDATA[$F{IMG_ID} == 1]]></printWhenExpression>
</reportElement>
<imageExpression><![CDATA[$F{Image}]]></imageExpression>
</image>
</band>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="345">
<printWhenExpression><![CDATA[new Boolean($V{id_COUNT}.intValue()==1)]]></printWhenExpression>
<frame>
<reportElement positionType="Float" stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="8" y="40" width="501" height="270" uuid="55ca2869-dd02-48a5-a9bf-90b538ea22a6"/>
<frame>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="0" width="280" height="21" printWhenGroupChanges="id" uuid="255952d3-ed97-4615-926f-e7e89560d64a"/>
<textField isStretchWithOverflow="true">
<reportElement key="" positionType="Float" isPrintRepeatedValues="false" x="99" y="0" width="181" height="21" printWhenGroupChanges="id" uuid="83851dcf-a0b2-44df-9117-0c5487b16260">
<property name="net.sf.jasperreports.export.json.path" value="AK.id"/>
<property name="net.sf.jasperreports.export.json.repeat.value" value="true"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{KN_Id}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" mode="Opaque" x="0" y="0" width="99" height="21" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="168d731e-09c0-4b1e-ac6f-c86168fe1286">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[AK_ID]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="21" width="280" height="21" printWhenGroupChanges="id" uuid="0879346c-a263-431d-8e2d-8d2a1cd0e67c"/>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" mode="Opaque" x="0" y="0" width="99" height="21" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="75c8f9aa-47d6-4869-b8b2-a16ca58e11db"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Präfix]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement key="" positionType="Float" isPrintRepeatedValues="false" x="99" y="0" width="181" height="21" printWhenGroupChanges="id" uuid="f38998f8-8dc7-4ccc-8066-0cfe5e7ab876">
<property name="net.sf.jasperreports.export.json.path" value="qi.praefix"/>
<property name="net.sf.jasperreports.export.json.repeat.value" value="true"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{QI_Praefix}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="42" width="280" height="30" printWhenGroupChanges="id" uuid="92186cbd-4a98-4c6e-9b51-0dfe52d5ff21"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" isPrintRepeatedValues="false" x="99" y="0" width="181" height="30" printWhenGroupChanges="id" uuid="4818fc44-cde3-40ed-8d77-a6dd71b89f79">
<property name="net.sf.jasperreports.export.json.path" value="begruendung.relevanz"/>
<property name="net.sf.jasperreports.export.json.repeat.value" value="true"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement markup="html">
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA["<b>Relevanz</b><br>" +($F{KN_Zusatzinfo_DV_Relevanz} !=null ? $F{KN_Zusatzinfo_DV_Relevanz} : "-")+"<br><b>Hypothese</b><br>" + ($F{KN_Zusatzinfo_DV_Hypothese} !=null ? $F{KN_Zusatzinfo_DV_Hypothese}: "-")]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" mode="Opaque" x="0" y="0" width="99" height="30" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="a93eb1cf-015c-442a-afac-68c7f9a30cb5">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Begründung für die Auswahl]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="72" width="280" height="27" printWhenGroupChanges="id" uuid="91d6b54a-bcd4-4737-8208-7dcd9e388ea4">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" isPrintRepeatedValues="false" x="99" y="0" width="181" height="27" printWhenGroupChanges="id" uuid="883db6cf-5cc6-4e32-a4cd-54bdf86b97df">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement rotation="None">
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[($F{KN_Zusatzinfo_DV_Indikatorbezug} !=null ? $F{KN_Zusatzinfo_DV_Indikatorbezug} : "-")]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" mode="Opaque" x="0" y="-1" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="61373b56-22c7-4097-8da1-ebcd702bc410">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Bezug zu anderen Indikatoren]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="99" width="280" height="27" printWhenGroupChanges="id" uuid="be213a60-4cd9-4f4a-972b-edfbf7b408c9"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" isPrintRepeatedValues="false" x="99" y="0" width="181" height="27" printWhenGroupChanges="id" uuid="261644b6-bbdb-4528-9f25-7fb23e98bf99">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{bewertungsArtTypNameKurz}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" mode="Opaque" x="0" y="0" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="d338843f-2f88-4d1b-b355-e7757acacf8e">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Bewertungsart]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="127" width="280" height="27" printWhenGroupChanges="id" uuid="626fe004-8942-4655-8c64-4022728e65e9"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" isPrintRepeatedValues="false" x="99" y="0" width="181" height="27" printWhenGroupChanges="id" uuid="3ea786ed-6ce2-4ce7-84af-b4b7d29cc3b7">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{mindesanzahlZaeler}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" mode="Opaque" x="0" y="-1" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="284779f8-692b-45b1-a535-62f1a4ce124b">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Mindestanzahl Zähler]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="154" width="280" height="27" uuid="f2f30758-914b-4990-b508-644cabb06f3f"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" isPrintRepeatedValues="false" x="99" y="0" width="181" height="27" printWhenGroupChanges="id" uuid="77c50b2a-a9ec-4225-8361-4daa6dc9d97e">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{KN_Vergleichbarkeit_Vorjahr}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" mode="Opaque" x="0" y="0" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="4f5650a6-9330-444b-bfec-0c1cd03d254f">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Vergleichbarkeit mit Vorjahr]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="182" width="280" height="27" uuid="3a70786a-ab1b-4193-8087-bcf9f363116a"/>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement positionType="Float" isPrintRepeatedValues="false" x="99" y="-1" width="181" height="27" printWhenGroupChanges="id" uuid="0d48b38a-07e8-42e7-89e8-e0580651028e">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{mindesanzahlNenner}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" mode="Opaque" x="0" y="-1" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="fc8232c6-dfb5-482a-9fef-a9ac1f75861a">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Mindestanzahl Nenner]]></text>
</staticText>
</frame>
</frame>
<textField isStretchWithOverflow="true" hyperlinkType="" hyperlinkTarget="" bookmarkLevel="1">
<reportElement isPrintRepeatedValues="false" mode="Transparent" x="0" y="4" width="340" height="6" printWhenGroupChanges="id" uuid="56a6e5f3-fd57-436e-8acb-8dbc1acbb220">
<printWhenExpression><![CDATA[1==0]]></printWhenExpression>
</reportElement>
<textElement markup="html"/>
<textFieldExpression><![CDATA[$F{KN_Id}+":"+$F{nameAlleinstehend}]]></textFieldExpression>
<anchorNameExpression><![CDATA[$F{KN_Id}+":"+$F{nameAlleinstehend}]]></anchorNameExpression>
<hyperlinkReferenceExpression><![CDATA[]]></hyperlinkReferenceExpression>
</textField>
<staticText>
<reportElement x="11" y="14" width="78" height="16" uuid="17d269d4-d7fa-44ef-8b00-d1abe0ecb92c"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Berechnung]]></text>
</staticText>
</band>
</detail>
<columnFooter>
<band splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</band>
</columnFooter>
<pageFooter>
<band height="54" splitType="Stretch">
<staticText>
<reportElement x="0" y="20" width="410" height="20" uuid="0744ba3c-69d3-4220-b201-72dabdeb5038"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[ins]]></text>
</staticText>
<textField evaluationTime="Master">
<reportElement x="481" y="18" width="69" height="24" uuid="5789c6a7-2ca2-4ba9-bd13-1b56ddcb7091"/>
<textFieldExpression><![CDATA["Seite "+$V{MASTER_CURRENT_PAGE}+" von"+$V{MASTER_TOTAL_PAGES}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
<summary>
<band height="52" splitType="Stretch"/>
</summary>
</jasperReport>

You probably have same data in previous record and this attribute on reportElement
isPrintRepeatedValues="false"
tells jasper to not print if field value is the same as on previous record.
Set
isPrintRepeatedValues="true"
isPrintRepeatedValues, sets whether or not repeating values (same
values, equals) should be printed or not, its mostly used (set to
false) in table layout where you do not like to see same value again
in the following rows, you like only to display it when it changes.

Related

Jasper list of lists contents. How to make frames borders with textFields to be stretched correctly on next page

I am using jasperreports 6.6.0. In the report i have a jsonqldatasource with list of lists and i need to print the values in a table structure. In detail band there are few "columns" of frames(with borders) that are printed correctly on one page. But when one of columns is stretched to the next page than only that column borders are stretched along with text. What i need is printing borders of all "columns" if one of them is stretched to the next page.
I will attach jrxml and some screenshots(https://imgur.com/a/SNa2Ckw) to better explain the question. I've highlighted missing borders with green colour on second image
<detail>
<band height="70" splitType="Stretch">
<frame>
<reportElement positionType="Float" x="38" y="10" width="505" height="60" uuid="41dea29f-7812-4ee4-a523-05ff19d28142">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<frame>
<reportElement positionType="Float" x="-3" y="30" width="499" height="31" uuid="eda5c6aa-fa84-4531-b8cb-8f3e6824be58">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<box leftPadding="0" bottomPadding="0" rightPadding="0"/>
<frame>
<reportElement x="0" y="0" width="80" height="30" uuid="188be56c-2c0e-40bb-9c79-9d9767c06c95"/>
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField>
<reportElement positionType="Float" x="3" y="0" width="77" height="30" uuid="6f72763f-f3ad-43ca-abac-bbeaf2d8f2e6">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$P{documentTitle}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="80" y="0" width="60" height="30" uuid="90b690e7-b9c1-47a6-a55e-3d0f90eb9f80"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField>
<reportElement positionType="Float" x="4" y="0" width="56" height="30" uuid="eb3e7b8d-ef93-40ba-988a-f4f647441ae0">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$P{dateTitle}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="140" y="0" width="134" height="30" uuid="c9d19eb6-a488-4fbe-b477-cd554f76d93d"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField>
<reportElement positionType="Float" x="3" y="0" width="131" height="30" uuid="17aef305-9bdb-4b90-8333-e100c125b0cd">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$P{corespondentTitle}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="274" y="0" width="40" height="30" uuid="2154fc22-c2c0-49e4-b3d0-3f4328577e49"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField>
<reportElement positionType="Float" x="0" y="0" width="40" height="30" uuid="8f838cba-7ea2-49d8-a212-a27e7388049a">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$P{oborotDtTitle}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="314" y="0" width="40" height="30" uuid="3b1b29ca-b0f9-49d8-b4ea-585682ffe1dd"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField>
<reportElement positionType="Float" x="0" y="0" width="40" height="30" uuid="649f0ba5-35f3-473d-9953-3cb6b5cf40c3">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$P{oborotKtTitle}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="354" y="0" width="145" height="30" uuid="ea45a53d-5f82-46f0-b5b8-040a4b03dba4"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField>
<reportElement positionType="Float" x="3" y="0" width="135" height="30" uuid="92ce4c0a-af9b-4f73-bce2-bc3ade6843e3">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$P{purposeTitle}]]></textFieldExpression>
</textField>
</frame>
</frame>
</frame>
</band>
<band height="120">
<property name="com.jaspersoft.studio.layout"/>
<printWhenExpression><![CDATA[$F{accountNumber}!=null]]></printWhenExpression>
<frame>
<reportElement positionType="Float" stretchType="ContainerHeight" mode="Transparent" x="35" y="0" width="499" height="100" isRemoveLineWhenBlank="true" uuid="7209f70f-f728-4e6c-a904-b8af7ec3c470">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
<property name="ShowOutOfBoundContent" value="true"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</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>
<componentElement>
<reportElement stretchType="ContainerBottom" mode="Transparent" x="0" y="0" width="499" height="100" isRemoveLineWhenBlank="true" uuid="22033e7e-bcfa-4636-9ee9-0d5657a11fd7">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<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" ignoreWidth="false">
<datasetRun subDataset="TransactionInfoDataset" uuid="09f940cf-bcc1-4997-af19-470c1e210390">
<dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JsonQLDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("content.transactionsInfo")]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="100" width="499">
<frame borderSplitType="DrawBorders">
<reportElement stretchType="ElementGroupHeight" x="0" y="60" width="499" height="40" uuid="dbbb9bb0-b7e8-4b7f-933b-bb424934432e"/>
<box>
<topPen lineStyle="Solid" lineColor="#000000"/>
<leftPen lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineStyle="Solid" lineColor="#000000"/>
<rightPen lineStyle="Solid" lineColor="#000000"/>
</box>
<componentElement>
<reportElement stretchType="ElementGroupHeight" x="0" y="0" width="499" height="40" isRemoveLineWhenBlank="true" uuid="1a9c9a78-443f-4fb2-9e50-e4764b3bbd84">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<jr:list printOrder="Vertical" ignoreWidth="true">
<datasetRun subDataset="TransactionDataset" uuid="3af1a5b8-e298-4fd3-bc5a-856082e2fab8">
<dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JsonQLDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("transactions")]]></dataSourceExpression>
</datasetRun>
<jr:listContents height="40" width="499">
<frame borderSplitType="DrawBorders">
<reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="499" height="40" uuid="8230fd0b-2e3d-4dfc-b1af-338a150c995c">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<box leftPadding="0" bottomPadding="0" rightPadding="0"/>
<frame>
<reportElement stretchType="ElementGroupHeight" x="0" y="0" width="80" height="40" uuid="44a98fd7-e9fb-4ad0-ab91-1061a4946c4c"/>
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="ElementGroupHeight" x="3" y="0" width="77" height="30" uuid="94aa871f-31eb-4e73-8bd3-b7bb81d00dd9">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$F{orderName} +" № " + $F{orderNumber} +" \nот " +$F{orderDate}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement stretchType="ElementGroupHeight" x="80" y="0" width="60" height="40" uuid="b2e673ca-a3ee-476c-9f5f-619bad0c38f0"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="ElementGroupHeight" x="2" y="0" width="58" height="30" uuid="72bef5d8-674b-46fb-994b-3057a1988a7e">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$F{orderDate}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement stretchType="ElementGroupHeight" x="140" y="0" width="134" height="40" uuid="7bcaf153-ec36-47a5-adee-8c041a6ac2f6"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="ElementGroupHeight" x="3" y="0" width="129" height="30" uuid="62e0404d-7d0f-4f3f-b432-d2ee19f10de3">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$F{payeeOwner} + ", счет № " + $F{payeeAccountNumber} + ", " +$F{payeeBankName}+ ", БИК " + $F{payeeBic}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement stretchType="ElementGroupHeight" x="274" y="0" width="40" height="40" uuid="bf3039f9-52f6-4624-929d-e8937ef0311b"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="40" height="30" uuid="dac65ed4-11a8-4ad1-8a61-3c6cc05c8226">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$F{debitAmount}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement stretchType="ElementGroupHeight" x="314" y="0" width="40" height="40" uuid="1303ec83-077b-4b38-888b-e99de6e3f4b6"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="40" height="30" uuid="d2783913-bb9d-4d9a-87bb-08bb46dbc740">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$F{creditAmount}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement stretchType="ElementGroupHeight" x="354" y="0" width="145" height="40" uuid="0abcb132-9c01-4f50-8e24-c804cf022938"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" stretchType="ElementGroupHeight" x="4" y="0" width="136" height="30" isPrintWhenDetailOverflows="true" uuid="e2976bec-f09f-44ee-b4f6-2a34414d0a1e">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$F{purpose}]]></textFieldExpression>
</textField>
</frame>
</frame>
</jr:listContents>
</jr:list>
</componentElement>
</frame>
<frame borderSplitType="DrawBorders">
<reportElement x="0" y="0" width="499" height="60" uuid="a90a6869-35f1-4efd-83cf-acdc2f69ecf3"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<frame>
<reportElement x="0" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="1f8ccece-16e7-4059-bb08-82f27a51d038">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<pen lineColor="#2318F0"/>
<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>
<textField>
<reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="a18919eb-db17-4cfa-9e26-5588c74405a7">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
<property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<box>
<pen lineColor="#38C241"/>
<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" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="100" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="aa836dd4-0a46-4ddf-aa11-a0fbb2250cc4">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineColor="#2318F0"/>
<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>
<textField>
<reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="3300f017-3d51-430e-a687-d70406080c76">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
<property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<box>
<pen lineColor="#38C241"/>
<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" verticalAlignment="Top">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA["Вх.\nостаток\n\n" + $F{incomingBalance}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="200" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="58db761a-82fb-48d1-bff2-9d23776dbaff">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineColor="#2318F0"/>
<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>
<textField>
<reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="dffa0a44-0367-4083-99b3-4f613fd9d59f">
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
<property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<box>
<pen lineColor="#38C241"/>
<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" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA["Оборот\nДт\n\n" + $F{debit}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="300" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="a0000b92-5dc9-415a-9872-0742b4e1767c">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineColor="#2318F0"/>
<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>
<textField>
<reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="87d6d309-dd99-4b4a-98ce-ae830040f25e">
</reportElement>
<box>
<pen lineColor="#38C241"/>
<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" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA["Оборот\nКт\n\n" + $F{credit}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement x="400" y="0" width="99" height="60" isRemoveLineWhenBlank="true" uuid="ed2ef71e-09d8-4735-8bf9-fe1776cdf87a">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<box>
<pen lineColor="#2318F0"/>
<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>
<textField>
<reportElement key="" positionType="Float" x="0" y="0" width="99" height="60" uuid="54efcd3e-1ea4-48e9-91f5-648055807cab">
</reportElement>
<box>
<pen lineColor="#38C241"/>
<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" verticalAlignment="Middle">
<font fontName="Times New Roman" size="12"/>
<paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
</textElement>
<textFieldExpression><![CDATA["Исх.\nостаток\n\n" + $F{outgoingBalance}]]></textFieldExpression>
</textField>
</frame>
</frame>
</jr:listContents>
</jr:list>
</componentElement>
</frame>
</band>
</detail>

Dynamically Changing cell Colour in jasper Excel reports

I am using TIBCO jasper studio for generating an Excel report. I am not able to change the back color of a cell based on a condition. I have given the same condition in PDF, its working fine but for Excel colur is not displaying. Can anyone help me?
Given below is the condition given:
<style name="highlight1">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet1").equals(new java.lang.Integer(1))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight2">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet2").equals(new java.lang.Integer(2))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
Here I am getting a values from a HashMap (associateDetectors) (Key is string and value is integer)
Following is my entire jrxml:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.2.2.final using JasperReports Library version 6.2.2 -->
<!-- 2018-12-13T11:59:19 -->
<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="DetectorStatusReport" pageWidth="992" pageHeight="595" orientation="Landscape" columnWidth="952" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="ced95029-b569-4027-895c-af2843a4e088">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.unit." value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
<property name="net.sf.jasperreports.export.xls.create.custom.palette" value="true"/>
<property name="net.sf.jasperreports.export.xls.detect.cell.type" value="true"/>
<property name="net.sf.jasperreports.export.xls.ignore.cell.background" value="false"/>
<style name="Title" fontSize="50" isBold="true"/>
<style name="SubTitle" forecolor="#666666" fontName="Arial" fontSize="12" isBold="true"/>
<style name="Column header" forecolor="#666666" fontName="Arial" fontSize="30" isBold="true"/>
<style name="Detail" fontName="Arial" fontSize="12"/>
<style name="highlight1">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet1").equals(new java.lang.Integer(1))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight2">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet2").equals(new java.lang.Integer(2))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight3">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet3").equals(new java.lang.Integer(3))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight4">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet4").equals(new java.lang.Integer(4))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight5">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet5").equals(new java.lang.Integer(5))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight6">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet6").equals(new java.lang.Integer(6))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight7">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet7").equals(new java.lang.Integer(7))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight8">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet8").equals(new java.lang.Integer(8))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight9">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet9").equals(new java.lang.Integer(9))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<style name="highlight10">
<conditionalStyle>
<conditionExpression><![CDATA[$F{associateDetectors}.get("assoDet10").equals(new java.lang.Integer(10))]]></conditionExpression>
<style mode="Opaque" backcolor="#FFFF00"/>
</conditionalStyle>
</style>
<parameter name="junctionName" class="java.lang.String">
<parameterDescription><![CDATA[]]></parameterDescription>
</parameter>
<parameter name="frm_date" class="java.lang.String"/>
<parameter name="to_date" class="java.lang.String"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="rtc" class="java.sql.Timestamp">
<fieldDescription><![CDATA[rtc]]></fieldDescription>
</field>
<field name="health" class="java.lang.String">
<fieldDescription><![CDATA[health]]></fieldDescription>
</field>
<field name="planNo" class="java.lang.Integer">
<fieldDescription><![CDATA[planNo]]></fieldDescription>
</field>
<field name="phaseTime" class="java.lang.Integer">
<fieldDescription><![CDATA[phaseTime]]></fieldDescription>
</field>
<field name="phaseNo" class="java.lang.Integer">
<fieldDescription><![CDATA[phaseNo]]></fieldDescription>
</field>
<field name="phaseColour" class="java.lang.String">
<fieldDescription><![CDATA[phaseColour]]></fieldDescription>
</field>
<field name="cycleTime" class="java.lang.Integer">
<fieldDescription><![CDATA[cycleTime]]></fieldDescription>
</field>
<field name="totalVehicleCount" class="java.lang.String">
<fieldDescription><![CDATA[totalVehicleCount]]></fieldDescription>
</field>
<field name="detectorStatusVal" class="java.util.HashMap">
<fieldDescription><![CDATA[detectorStatusVal]]></fieldDescription>
</field>
<field name="associateDetectors" class="java.util.HashMap">
<fieldDescription><![CDATA[associateDetectors]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="97" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<frame>
<reportElement mode="Opaque" x="-10" y="-30" width="862" height="50" forecolor="#9C6444" uuid="b87c1b65-3be3-42ce-885f-21b7d1f29a17">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#0F0B0B"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#0F0B0B"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#0F0B0B"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#0F0B0B"/>
</box>
<staticText>
<reportElement style="Title" positionType="Float" mode="Opaque" x="130" y="11" width="231" height="30" forecolor="#0F0B0B" backcolor="#FFFFFF" uuid="bbd2692e-1dc1-49c7-b2a1-632af2ef9f16">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
<box>
<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="Left" verticalAlignment="Middle">
<font fontName="Times New Roman" size="16" isItalic="false" isUnderline="false"/>
</textElement>
<text><![CDATA[Detector Status Report of ]]></text>
</staticText>
<textField>
<reportElement style="Title" x="365" y="11" width="263" height="30" forecolor="#0A0100" uuid="dcb43670-d7cf-4f90-86a7-c309c36f294a">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
<box>
<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 verticalAlignment="Middle">
<font fontName="Times New Roman" size="16"/>
</textElement>
<textFieldExpression><![CDATA[$P{junctionName}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="641" y="1" width="36" height="21" forecolor="#1A0606" uuid="ba7b5931-84f5-450e-aac8-9df1a0284ea0"/>
<box>
<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="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<text><![CDATA[From: ]]></text>
</staticText>
<staticText>
<reportElement x="641" y="26" width="37" height="21" forecolor="#1C0606" uuid="255a4119-bc96-4b89-ad3f-5bdec46a0d12"/>
<box>
<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="Right" verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<text><![CDATA[To: ]]></text>
</staticText>
<textField>
<reportElement x="681" y="1" width="176" height="20" forecolor="#0F0404" uuid="fd0e002e-6e43-429e-aca3-a55ed00b3ec3"/>
<box>
<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 verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression><![CDATA[$P{frm_date}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="682" y="25" width="176" height="22" forecolor="#140403" uuid="03165034-543c-4a51-bc54-004105ecc771"/>
<box>
<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 verticalAlignment="Middle">
<font fontName="Times New Roman"/>
</textElement>
<textFieldExpression><![CDATA[$P{to_date}]]></textFieldExpression>
</textField>
<image>
<reportElement x="10" y="1" width="100" height="40" uuid="6f12bfe4-d88f-4d55-838d-d8831093e18e"/>
<imageExpression><![CDATA["jasper-image/cms_logo_report.png"]]></imageExpression>
</image>
</frame>
<staticText>
<reportElement style="SubTitle" mode="Opaque" x="230" y="47" width="612" height="23" forecolor="#736343" uuid="1d03c566-7b02-4426-8a43-d8982c8f0c09">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement>
<font size="9"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[ Vehicle Counts in associated detectors D1 to D24]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="-10" y="47" width="60" height="47" forecolor="#736343" uuid="1efdf153-1c41-4210-b107-3f0e99414553"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[RTC]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="50" y="47" width="60" height="47" forecolor="#736343" uuid="9208779c-c577-4c54-813d-a18ed0c2adca"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[Health status]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="35" splitType="Stretch">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
<frame>
<reportElement x="0" y="10" width="960" height="17" uuid="8c3a60a6-57fa-48a1-9109-985db3a2e591"/>
<box>
<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>
<staticText>
<reportElement style="Column header" x="140" y="-60" width="30" height="47" forecolor="#736343" uuid="d0d08877-0cf0-4d59-a4d0-ea9f1d0a453a"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[Ph]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="170" y="-60" width="30" height="47" forecolor="#736343" uuid="baafc3c5-6c6a-4d4a-89e0-b88b092bf587"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[Ph Time]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="230" y="-36" width="20" height="23" forecolor="#736343" backcolor="#FFFFFF" uuid="fdcef03f-006c-4d0d-9832-9ac5ae2435ed"/>
<box>
< some deleted in edit as oversize >
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[D1]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="250" y="-36" width="20" height="23" forecolor="#736343" uuid="b7f27902-1822-4b8c-97ff-1950ffd20e2b"/>
<box>
< some deleted in edit as oversize >
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[D2]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="290" y="-36" width="20" height="23" forecolor="#736343" uuid="8dc2acaa-41ae-4bf3-812b-8faca40d1a5e"/>
<box>
< some deleted in edit as oversize >
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[D4]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="270" y="-36" width="20" height="23" forecolor="#736343" uuid="77ee6179-60e7-4650-9457-ad5e42dc8fb1"/>
<box>
< some deleted in edit as oversize >
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[D3]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="310" y="-36" width="20" height="23" forecolor="#736343" uuid="e1d52452-653d-4c1f-a57a-917b584e430b"/>
<box>
< some deleted in edit as oversize >
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[D5]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="330" y="-36" width="20" height="23" forecolor="#736343" uuid="b30c88bf-476d-42f0-84fb-01a8cb9e4361"/>
<box>
< some deleted in edit as oversize >
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[D6]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="350" y="-36" width="20" height="23" forecolor="#736343" uuid="53ac3ac3-0d06-43bb-a926-6bbd03a2eeaf"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[D7]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="390" y="-36" width="20" height="23" forecolor="#736343" uuid="70ed7e49-44d6-4993-ad19-cd538fbfa8d3"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9" isBold="true"/>
</textElement>
<text><![CDATA[D9]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="370" y="-36" width="20" height="23" forecolor="#736343" uuid="7485dd94-1a68-4b36-8d7b-9f53d3134b2c"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9" isBold="true"/>
</textElement>
<text><![CDATA[D8]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="410" y="-36" width="30" height="23" forecolor="#736343" uuid="1688d564-e5ad-4932-b47e-53945aebdc47"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9" isBold="true"/>
</textElement>
<text><![CDATA[D10]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="200" y="-60" width="30" height="47" forecolor="#736343" uuid="45aefc4a-25fc-4a9b-a485-1f21a8561b60"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[Total Count]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="110" y="-60" width="30" height="47" forecolor="#736343" uuid="7000449c-8ee3-4f51-809d-e1d152be4907"/>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#666666"/>
</box>
<textElement textAlignment="Center">
<font size="9"/>
</textElement>
<text><![CDATA[Pl]]></text>
</staticText>
</frame>
</band>
</columnHeader>
<detail>
<band height="30" splitType="Stretch">
<frame>
<reportElement mode="Opaque" x="0" y="0" width="880" height="30" uuid="a98495d8-3c8d-4fa0-81f5-30c3efc2f766"/>
<textField>
<reportElement x="50" y="0" width="60" height="30" uuid="be06dc78-bda6-4cdc-9c51-df4f7674e9b9">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="0.1" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.1" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.1" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.1" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{health}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="110" y="0" width="30" height="30" uuid="62f70610-dcef-428a-9178-6f63338cc343">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{planNo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="140" y="0" width="30" height="30" uuid="5baf4df3-1679-4957-99ce-3a8670d0e2c5">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{phaseNo}]]></textFieldExpression>
</textField>
<textFieldExpression><![CDATA[$F{phaseTime}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="-10" y="0" width="60" height="30" uuid="fbb602fd-2ed8-4f8f-80e0-5980741a94f1">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{rtc}.toString()]]></textFieldExpression>
</textField>
<textField>
<reportElement style="highlight1" x="230" y="0" width="20" height="30" uuid="c3f6b5dc-6652-4d8f-8fb1-7120817e0efa">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
< some deleted in edit as oversize >
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{detectorStatusVal}.get("D1")]]></textFieldExpression>
</textField>
<textField>
<reportElement style="highlight2" x="250" y="0" width="20" height="30" uuid="4f90c811-1b09-4399-aaca-6dc89564e055">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
< some deleted in edit as oversize >
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Times New Roman" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{detectorStatusVal}.get("D2")]]></textFieldExpression>
</textField>
<textField>
<reportElement style="highlight3" x="270" y="0" width="20" height="30" uuid="c5a9cdca-e6a8-4e95-be49-4a9670feaad2">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
< some deleted in edit as oversize >
</box>
</frame>
</band>
</detail>
</jasperReport>

why is my report broken from JasperReports 6.2.2+?

I have some report that has been used for 10+ years in some application.
When upgrading to any JaseperReports library version >= 6.2.2, the vertical alignment is badly broken (most of the times, not always).
6.2.1:
6.2.2:
Here is the relevant part of my report source:
<group name="invoiceIdGroup" isStartNewPage="true">
<groupExpression><![CDATA[$F{id}]]></groupExpression>
<groupHeader>
<band height="184" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement key="textField" x="0" y="137" width="505" height="30" uuid="0d38b823-8fc5-4a5d-b49c-fc193e073874"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement key="textField" x="126" y="54" width="148" height="18" uuid="5e6904a9-46c9-4f2e-85a0-643246c93b11"/>
<box topPadding="2" leftPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="1.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textFieldExpression><![CDATA[$F{invoiceDate}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement key="textField" x="126" y="72" width="148" height="18" uuid="f35901b0-c118-4f69-aa00-770505271ab8"/>
<box topPadding="2" leftPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="1.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textFieldExpression><![CDATA[$F{echeance}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement key="textField" x="126" y="108" width="148" height="18" uuid="02715d59-826b-4599-9cba-1838c7e963d5"/>
<box topPadding="2" leftPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="1.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textFieldExpression><![CDATA[$F{customer}.getNom()]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText-2" x="6" y="54" width="120" height="18" uuid="c6974521-97dc-465c-87d3-d45be2b18f22"/>
<box topPadding="2" leftPadding="4" rightPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="1.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right"/>
<text><![CDATA[Date document]]></text>
</staticText>
<staticText>
<reportElement key="staticText-3" x="6" y="72" width="120" height="18" uuid="dd9a6787-86cf-4619-a7f4-39b4c3f57bf9"/>
<box topPadding="2" leftPadding="4" rightPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="1.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right"/>
<text><![CDATA[Date échéance]]></text>
</staticText>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement key="textField-4" x="126" y="90" width="148" height="18" uuid="9533a2e6-1c91-49eb-8007-ab77faa3b9dc"/>
<box topPadding="2" leftPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="1.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textFieldExpression><![CDATA[$F{numero}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText-4" x="6" y="108" width="120" height="18" uuid="bf604c85-83e4-4653-a495-154960474a87"/>
<box topPadding="2" leftPadding="4" rightPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="1.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right"/>
<text><![CDATA[Réf. customer]]></text>
</staticText>
<staticText>
<reportElement key="staticText-5" x="6" y="90" width="120" height="18" uuid="a39ef932-26ae-4788-b312-b0407f8bafbe"/>
<box topPadding="2" leftPadding="4" rightPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="1.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right"/>
<text><![CDATA[N° document]]></text>
</staticText>
<textField isBlankWhenNull="false">
<reportElement key="textField-5" x="315" y="0" width="179" height="36" uuid="e9ee7f81-5b04-4da9-9f7b-3026f19528a9"/>
<box leftPadding="4"/>
<textElement verticalAlignment="Bottom"/>
<textFieldExpression><![CDATA[$F{customer}.getNom()]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-6" x="315" y="36" width="179" height="14" uuid="760c796b-2c2c-4266-83e0-c342a92c2b4e"/>
<box leftPadding="4"/>
<textFieldExpression><![CDATA[$F{customer}.getAdresse()]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-7" x="315" y="50" width="179" height="14" uuid="f87a0c2b-1b5f-4640-8cd3-ed90ef4b78d5"/>
<box leftPadding="4"/>
<textFieldExpression><![CDATA[$F{customer}.getCodePostal() + " " + $F{customer}.getLocalite()]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-8" x="315" y="76" width="179" height="14" uuid="60cf1420-102f-4a8d-b247-109a3f34b67f"/>
<box leftPadding="4"/>
<textFieldExpression><![CDATA["TVA : " + $F{customer}.getNumeroTVA()]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-9" x="6" y="24" width="268" height="30" uuid="b500a578-e63e-449e-b4be-7324550ea3b4"/>
<box leftPadding="4">
<pen lineWidth="1.0"/>
<topPen lineWidth="0.0" lineStyle="Double"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="0.0" lineStyle="Double"/>
<rightPen lineWidth="0.0" lineStyle="Double"/>
</box>
<textElement>
<font size="18"/>
</textElement>
<textFieldExpression><![CDATA[$F{creditNote} ? "Note de crédit" : "Facture"]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-7" x="315" y="64" width="179" height="14" uuid="3d76053d-71af-4b87-92c0-eb7c1011dda2">
<printWhenExpression><![CDATA[!$F{customer}.getCountry().equals($F{customer}.getTrustee().getCountry())]]></printWhenExpression>
</reportElement>
<box leftPadding="4"/>
<textFieldExpression><![CDATA[$F{customer}.getCountry().getNameFr()]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="textField" x="0" y="167" width="505" height="17" isRemoveLineWhenBlank="true" uuid="831804e4-c455-4c27-b689-cccb152bffc8">
<printWhenExpression><![CDATA[$F{intraVat}]]></printWhenExpression>
</reportElement>
<textElement markup="none">
<font size="10"/>
</textElement>
<text><![CDATA[AUTOLIQUIDATION]]></text>
</staticText>
</band>
</groupHeader>
<groupFooter>
<band height="119" splitType="Stretch">
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement key="textField" stretchType="RelativeToTallestObject" x="0" y="48" width="505" height="18" uuid="41123314-1928-4c4e-9e59-23fb0e09b423"/>
<textFieldExpression><![CDATA[$F{remarque}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement key="textField-3" positionType="FixRelativeToBottom" x="0" y="66" width="505" height="35" uuid="11439e87-82bc-4003-a7a2-b2a4ad02072e">
<printWhenExpression><![CDATA[!$F{creditNote}]]></printWhenExpression>
</reportElement>
<textElement markup="html">
<font isBold="true" isItalic="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[($F{compte} != null ? "Veuillez payer sur le compte <i> IBAN " + $F{compte}.getIban() + ($F{compte}.getBic() != null ? " - " + $F{compte}.getBic() : "" ) + "</i> avec la référence " : "Référence payement : ") + "<i>" + $F{communication} + "</i> pour le " + new SimpleDateFormat("dd/MM/yyyy").format($F{echeance}) + "."]]></textFieldExpression>
</textField>
<elementGroup>
<textField pattern="##0.00 €" isBlankWhenNull="false">
<reportElement key="textField" positionType="FixRelativeToBottom" x="425" y="20" width="80" height="20" uuid="2285d046-8901-4393-9e19-ab05af954579"/>
<box topPadding="2" rightPadding="4">
<pen lineWidth="1.0" lineStyle="Solid"/>
<topPen lineWidth="0.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{tvac}]]></textFieldExpression>
</textField>
<textField pattern="##0.00 €" isBlankWhenNull="false">
<reportElement key="textField" positionType="FixRelativeToBottom" x="265" y="20" width="80" height="20" uuid="fdac7982-8977-4a44-bc1d-e3d8451917ce"/>
<box topPadding="2" rightPadding="4">
<pen lineWidth="1.0" lineStyle="Solid"/>
<topPen lineWidth="0.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{htva}]]></textFieldExpression>
</textField>
<textField pattern="##0.00 €" isBlankWhenNull="false">
<reportElement key="textField-1" positionType="FixRelativeToBottom" x="345" y="20" width="80" height="20" uuid="3768a45d-b758-4bc7-958d-5b7723ab840c"/>
<box topPadding="2" rightPadding="4">
<pen lineWidth="1.0" lineStyle="Solid"/>
<topPen lineWidth="0.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Right">
<font isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{tvac}.subtract($F{htva})]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText-9" positionType="FixRelativeToBottom" x="265" y="0" width="80" height="20" uuid="ded844bf-73aa-4013-a3d9-2136e587cb07"/>
<box>
<pen lineWidth="1.0" lineStyle="Solid"/>
<topPen lineWidth="0.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Center">
<font size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Total HTVA]]></text>
</staticText>
<staticText>
<reportElement key="staticText-10" positionType="FixRelativeToBottom" x="345" y="0" width="80" height="20" uuid="45b20ae0-bbb7-43d9-9d17-9c1c5965af65"/>
<box>
<pen lineWidth="1.0" lineStyle="Solid"/>
<topPen lineWidth="0.0" lineStyle="Solid"/>
<leftPen lineWidth="1.0" lineStyle="Solid"/>
<bottomPen lineWidth="1.0" lineStyle="Solid"/>
<rightPen lineWidth="1.0" lineStyle="Solid"/>
</box>
<textElement textAlignment="Center">
<font size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[TVA]]></text>
</staticText>
<textField>
<reportElement key="staticText-11" positionType="FixRelativeToBottom" x="425" y="0" width="80" height="20" uuid="567f7831-4fdc-4c93-8f16-b8ca447cf1a7"/>
<box>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{creditNote} ? "À recevoir" : "À payer"]]></textFieldExpression>
</textField>
</elementGroup>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement key="textField" x="6" y="2" width="148" height="18" forecolor="#FFFFFF" uuid="db4de445-082b-4150-9f63-e544cb857df7"/>
<box leftPadding="4">
<pen lineWidth="0.25" lineStyle="Solid"/>
<topPen lineWidth="0.25" lineStyle="Solid"/>
<leftPen lineWidth="0.25" lineStyle="Solid"/>
<bottomPen lineWidth="0.25" lineStyle="Solid"/>
<rightPen lineWidth="0.25" lineStyle="Solid"/>
</box>
<textFieldExpression><![CDATA[$F{echeance}]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="textField" stretchType="RelativeToTallestObject" x="0" y="101" width="505" height="18" isRemoveLineWhenBlank="true" forecolor="#FF3333" uuid="50a622ed-c935-4a3c-a80d-38aaadfc2ad6">
<printWhenExpression><![CDATA[$F{directDebit}]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
<text><![CDATA[Cette facture sera encaissée par domiciliation.]]></text>
</staticText>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band height="68" splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="20" splitType="Stretch">
<printWhenExpression><![CDATA[!$F{tasks}.isEmpty()]]></printWhenExpression>
<subreport isUsingCache="true">
<reportElement key="subreport-1" stretchType="RelativeToBandHeight" x="0" y="0" width="505" height="20" isPrintWhenDetailOverflows="true" uuid="27c37e34-0af8-4de7-b46b-508651dcc209"/>
<dataSourceExpression><![CDATA[new JRBeanCollectionDataSource($F{tasks})]]></dataSourceExpression>
<subreportExpression><![CDATA[$P{taskReport}]]></subreportExpression>
</subreport>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>

Duplicate data in jasper

I have very simple select query in my dataset and Query dialog. When I run this query I get 2 times more data fields as there are in the database! And my report book has more pages than the report itself, which I guess happens because of the redundant data. The same query delivers 3 data fields even without distinct and in Jaspersoft 6 data fields!
select distinct *
from KennzahlReferenz2015_QIBericht, Images
where LB_ID = 62
and KN_OffiziellGruppe =3
and IMG_ID = 1
And here is the source code of report:
<?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="direktRechrDV" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="d12b4217-cf22-4ec4-857b-9cb1b2b406a8">
<property name="net.sf.jasperreports.print.create.bookmarks" value="true"/>
<scriptlet name="moveTOC" class="testProjektIman.toc.MoveTOC">
<scriptletDescription><![CDATA[moves toc to first page]]> </scriptletDescription>
</scriptlet>
<parameter name="LB_ID" class="java.lang.Integer">
<parameterDescription><![CDATA[ID des Leistungsbereiches]]> </parameterDescription>
<defaultValueExpression><![CDATA[62]]></defaultValueExpression>
</parameter>
<parameter name="KN_OffeziellGruppe" class="java.lang.Integer">
<defaultValueExpression><![CDATA[3]]></defaultValueExpression>
</parameter>
<parameter name="toc" class="java.lang.StringBuilder" isForPrompting="false">
<defaultValueExpression><![CDATA[new StringBuilder()]]></defaultValueExpression>
</parameter>
<parameter name="idName" class="java.lang.String" isForPrompting="false"/>
<queryString>
<![CDATA[select distinct *
from KennzahlReferenz2015_QIBericht, Images
where
LB_ID = $P{LB_ID}
and
KN_OffiziellGruppe =$P{KN_OffeziellGruppe}
and IMG_ID = 1]]>
</queryString>
<field name="QI_Praefix" class="java.lang.String"/>
<!--
.
.other fields
. -->
<field name="Image" class="java.awt.Image"/>
<variable name="someVar" class="java.lang.String">
<variableExpression><![CDATA[$V{someVar}]]></variableExpression>
</variable>
<variable name="tocVar" class="java.lang.String">
<variableExpression><![CDATA[$V{tocVar}]]></variableExpression>
</variable>
<group name="id" isStartNewPage="true" isReprintHeaderOnEachPage="true" keepTogether="true">
<groupExpression><![CDATA[$F{KN_Id}]]></groupExpression>
<groupFooter>
<band splitType="Immediate">
</band>
</groupFooter>
</group>
<group name="LBgroup" isReprintHeaderOnEachPage="true" keepTogether="true">
<groupExpression><![CDATA[$F{LB_ID}]]></groupExpression>
<groupFooter>
<band splitType="Immediate"/>
</groupFooter>
</group>
<pageHeader>
<band height="62" splitType="Stretch">
<staticText>
<reportElement x="8" y="2" width="409" height="26" uuid="37a242c0-b352-42e1-b287-42350a5e2090"/>
<textElement markup="html"/>
<text><![CDATA[Statistische Basisprüfung - Auffälligkeitskriterien: Verstetigung und Vollzähligkeit 2015<br>]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="7" y="16" width="322" height="19" uuid="f28c3fc0-6d00-4437-a185-febccf94e91f"/>
<textElement markup="none"/>
<textFieldExpression><![CDATA[$F{idLb} +" - "+ $F{LB_LangBezeichnung}]]></textFieldExpression>
</textField>
<textField bookmarkLevel="1">
<reportElement x="8" y="32" width="321" height="20" uuid="705007c1-4bfa-483a-a113-887cf7fd6488"/>
<textFieldExpression><![CDATA[$F{KN_Id}+": "+$F{KN_BezeichnungAlleinstehendKurz}]]></textFieldExpression>
<anchorNameExpression><![CDATA[$F{KN_Id}+":"+$F{nameAlleinstehend}]]></anchorNameExpression>
</textField>
<image hAlign="Center">
<reportElement x="480" y="6" width="50" height="50" uuid="3f5fe998-e94e-4280-af71-7f7163878156">
<printWhenExpression><![CDATA[$F{IMG_ID} == 1]]></printWhenExpression>
</reportElement>
<imageExpression><![CDATA[$F{Image}]]></imageExpression>
</image>
</band>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="345">
<printWhenExpression><![CDATA[new Boolean($V{id_COUNT}.intValue()==1)]]></printWhenExpression>
<frame>
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="8" y="40" width="292" height="220" uuid="55ca2869-dd02-48a5-a9bf-90b538ea22a6"/>
<frame>
<reportElement positionType="Float" x="0" y="0" width="280" height="21" printWhenGroupChanges="id" uuid="255952d3-ed97-4615-926f-e7e89560d64a"/>
<textField isStretchWithOverflow="true">
<reportElement key="" positionType="Float" x="99" y="0" width="181" height="21" printWhenGroupChanges="id" uuid="83851dcf-a0b2-44df-9117-0c5487b16260">
<property name="net.sf.jasperreports.export.json.path" value="AK.id"/>
<property name="net.sf.jasperreports.export.json.repeat.value" value="true"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{KN_Id}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="99" height="21" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="168d731e-09c0-4b1e-ac6f-c86168fe1286">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[AK_ID]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="21" width="280" height="21" printWhenGroupChanges="id" uuid="0879346c-a263-431d-8e2d-8d2a1cd0e67c"/>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="99" height="21" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="75c8f9aa-47d6-4869-b8b2-a16ca58e11db"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Präfix]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement key="" positionType="Float" x="99" y="0" width="181" height="21" printWhenGroupChanges="id" uuid="f38998f8-8dc7-4ccc-8066-0cfe5e7ab876">
<property name="net.sf.jasperreports.export.json.path" value="qi.praefix"/>
<property name="net.sf.jasperreports.export.json.repeat.value" value="true"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{QI_Praefix}]]></textFieldExpression>
</textField>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="42" width="280" height="30" printWhenGroupChanges="id" uuid="92186cbd-4a98-4c6e-9b51-0dfe52d5ff21"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="99" y="0" width="181" height="30" printWhenGroupChanges="id" uuid="4818fc44-cde3-40ed-8d77-a6dd71b89f79">
<property name="net.sf.jasperreports.export.json.path" value="begruendung.relevanz"/>
<property name="net.sf.jasperreports.export.json.repeat.value" value="true"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement markup="html">
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA["<b>Relevanz</b><br>" +($F{KN_Zusatzinfo_DV_Relevanz} !=null ? $F{KN_Zusatzinfo_DV_Relevanz} : "-")+"<br><b>Hypothese</b><br>" + ($F{KN_Zusatzinfo_DV_Hypothese} !=null ? $F{KN_Zusatzinfo_DV_Hypothese}: "-")]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="99" height="30" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="a93eb1cf-015c-442a-afac-68c7f9a30cb5">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Begründung für die Auswahl]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="72" width="280" height="27" printWhenGroupChanges="id" uuid="91d6b54a-bcd4-4737-8208-7dcd9e388ea4">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="99" y="0" width="181" height="27" printWhenGroupChanges="id" uuid="883db6cf-5cc6-4e32-a4cd-54bdf86b97df">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement rotation="None">
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[($F{KN_Zusatzinfo_DV_Indikatorbezug} !=null ? $F{KN_Zusatzinfo_DV_Indikatorbezug} : "-")]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="-1" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="61373b56-22c7-4097-8da1-ebcd702bc410">
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Bezug zu anderen Indikatoren]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="99" width="280" height="27" printWhenGroupChanges="id" uuid="be213a60-4cd9-4f4a-972b-edfbf7b408c9"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="99" y="0" width="181" height="27" printWhenGroupChanges="id" uuid="261644b6-bbdb-4528-9f25-7fb23e98bf99">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{bewertungsArtTypNameKurz}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="d338843f-2f88-4d1b-b355-e7757acacf8e">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Bewertungsart]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="127" width="280" height="27" printWhenGroupChanges="id" uuid="626fe004-8942-4655-8c64-4022728e65e9"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="99" y="0" width="181" height="27" printWhenGroupChanges="id" uuid="3ea786ed-6ce2-4ce7-84af-b4b7d29cc3b7">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{mindesanzahlZaeler}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="-1" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="284779f8-692b-45b1-a535-62f1a4ce124b">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Mindestanzahl Zähler]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="154" width="280" height="27" uuid="f2f30758-914b-4990-b508-644cabb06f3f"/>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="99" y="0" width="181" height="27" printWhenGroupChanges="id" uuid="77c50b2a-a9ec-4225-8361-4daa6dc9d97e">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{KN_Vergleichbarkeit_Vorjahr}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="4f5650a6-9330-444b-bfec-0c1cd03d254f">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Vergleichbarkeit mit Vorjahr]]></text>
</staticText>
</frame>
<frame>
<reportElement positionType="Float" x="0" y="182" width="280" height="27" uuid="3a70786a-ab1b-4193-8087-bcf9f363116a"/>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement positionType="Float" x="99" y="-1" width="181" height="27" printWhenGroupChanges="id" uuid="0d48b38a-07e8-42e7-89e8-e0580651028e">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement>
<paragraph leftIndent="1"/>
</textElement>
<textFieldExpression><![CDATA[$F{mindesanzahlNenner}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="-1" width="99" height="27" printWhenGroupChanges="id" forecolor="#FFFFFF" backcolor="#005051" uuid="fc8232c6-dfb5-482a-9fef-a9ac1f75861a">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
</reportElement>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Mindestanzahl Nenner]]></text>
</staticText>
</frame>
</frame>
<textField isStretchWithOverflow="true" hyperlinkType="" hyperlinkTarget="">
<reportElement mode="Transparent" x="0" y="4" width="340" height="6" printWhenGroupChanges="id" uuid="56a6e5f3-fd57-436e-8acb-8dbc1acbb220">
<printWhenExpression><![CDATA[1==0]]></printWhenExpression>
</reportElement>
<textElement markup="html"/>
<textFieldExpression><![CDATA[$F{KN_Id}+":"+$F{nameAlleinstehend}]]></textFieldExpression>
<hyperlinkReferenceExpression><![CDATA[]]></hyperlinkReferenceExpression>
</textField>
<staticText>
<reportElement x="11" y="14" width="78" height="16" uuid="17d269d4-d7fa-44ef-8b00-d1abe0ecb92c"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Berechnung]]></text>
</staticText>
</band>
</detail>
<columnFooter>
<band splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</band>
</columnFooter>
<pageFooter>
<band height="54" splitType="Stretch">
<staticText>
<reportElement x="0" y="20" width="410" height="20" uuid="0744ba3c-69d3-4220-b201-72dabdeb5038"/>
<textElement>
<font size="8"/>
</textElement>
<text><![CDATA[ins]]></text>
</staticText>
<textField evaluationTime="Master">
<reportElement x="481" y="18" width="69" height="24" uuid="5789c6a7-2ca2-4ba9-bd13-1b56ddcb7091"/>
<textFieldExpression><![CDATA["Seite "+$V{MASTER_CURRENT_PAGE}+" von"+$V{MASTER_TOTAL_PAGES}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>
And here is the report book:
<?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="qidbReport" pageWidth="595" pageHeight="842" sectionType="Part" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30" uuid="d2716064-8ae4-40cf-a575-33afba400e3a">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="KennzahlReferenz2015_QIBericht"/>
<property name="net.sf.jasperreports.print.create.bookmarks" value="true"/>
<property name="com.jaspersoft.studio.book.group.cover.header" value="Cover and Table of Contents"/>
<property name="com.jaspersoft.studio.book.group.cover.footer" value="Backcover"/>
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<queryString>
<![CDATA[select distinct KN_Id , "KennzahlReferenz2015_QIBericht"."nameAlleinstehend" , Image from "KennzahlReferenz2015_QIBericht", Images where LB_ID = 62
and "KN_OffiziellGruppe" =3 and IMG_ID = 1]]>
</queryString>
<field name="KN_Id" class="java.lang.Integer"/>
<field name="nameAlleinstehend" class="java.lang.String"/>
<field name="Image" class="java.awt.Image"/>
<group name="cover">
<groupHeader>
<part uuid="7aed05b9-1301-4a53-b47e-34289560bc0c">
<p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd">
<subreportExpression><![CDATA["qidbReport_cover.jasper"]]></subreportExpression>
</p:subreportPart>
</part>
<part evaluationTime="Report" uuid="56ab525c-754f-4f48-a52c-7cc23934be3d">
<property name="net.sf.jasperreports.bookmarks.data.source.parameter" value="REPORT_DATA_SOURCE"/>
<p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd">
<subreportExpression><![CDATA["qidbReport_toc.jasper"]]></subreportExpression>
</p:subreportPart>
</part>
</groupHeader>
<groupFooter>
<part uuid="88decbbe-63ad-45cc-9e03-5dadc50004d5">
<p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd">
<subreportExpression><![CDATA["qidbReport_backcover.jasper"]]></subreportExpression>
</p:subreportPart>
</part>
</groupFooter>
</group>
<detail>
<part uuid="fbf811eb-2c43-48b9-a88b-ae94453264df">
<p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd">
<subreportParameter name="REPORT_CONNECTION">
<subreportParameterExpression><![CDATA[$P{REPORT_CONNECTION}]]></subreportParameterExpression>
</subreportParameter>
<subreportExpression><![CDATA["direktRechrDV.jasper"]]></subreportExpression>
</p:subreportPart>
</part>
</detail>
</jasperReport>
These are the outputs from JR and DB:
Jasper:
DB:
The problem is not because of the driver or source code. It happens when I add a report books. Then the wave book asks for a data source and query. When I write a query there, jasper adds those results to the ones from main report.

Jasper report export to RTF not working correctly

I am using jrxml to export to RTF format.
When number of columns are 12 it is working fine otherwise if we increase number of columns view seems distorted.
When I exported with 10 columns it looks perfectly fine.
I am new to this could anyone help me in this case.
jrxml template used:
<?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="PSDefaultPointAndClick" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20">
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.4641000000000006"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
<import value="net.sf.jasperreports.engine.data.*"/>
<parameter name="system.REPORT_NAME" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["Default Report"]]></defaultValueExpression>
</parameter>
<parameter name="config.SUPPORTED_FORMATS" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["HTML,PDF,EXCEL,EXCEL_2007,RTF,CSV,POWERPOINT_2007"]]></defaultValueExpression>
</parameter>
<parameter name="config.FOR_INTERNAL_USE" class="java.lang.String" isForPrompting="false"/>
<parameter name="system.REPORT_FOOTER" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["Copyright (c) 2007,"]]></defaultValueExpression>
</parameter>
<parameter name="config.DATASOURCE" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["PointAndClick"]]></defaultValueExpression>
</parameter>
<parameter name="system.RUN_BY_AND_ON_INFO" class="java.lang.String" isForPrompting="false"/>
<parameter name="system.GENERATION_DATE" class="java.lang.String" isForPrompting="false"/>
<parameter name="system.USER_NAME" class="java.lang.String" isForPrompting="false"/>
<parameter name="system.PAGE" class="java.lang.String" isForPrompting="false"/>
<parameter name="system.EXPORT_FORMAT" class="java.lang.String" isForPrompting="false"/>
<field name="work_id" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="owner" class="java.lang.String"/>
<field name="owner_id" class="java.lang.String"/>
<field name="status_current" class="java.lang.String"/>
<field name="active_gate" class="java.lang.String"/>
<field name="active_gate_id" class="java.lang.String"/>
<group name="level1">
<groupExpression><![CDATA[]]></groupExpression>
<groupHeader>
<band height="16" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-12" stretchType="RelativeToBandHeight" mode="Opaque" x="54" y="0" width="341" height="16" backcolor="#EBEBEB"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Group Level 1 "]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band height="20" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-22" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="395" height="16" backcolor="#FFFFFF"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement>
<font fontName="Arial" isBold="true" isItalic="false" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Summary Level 1 "]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
<group name="level2">
<groupExpression><![CDATA[]]></groupExpression>
<groupHeader>
<band height="16" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-13" stretchType="RelativeToBandHeight" mode="Opaque" x="99" y="0" width="296" height="16" backcolor="#EBEBEB"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Group Level 2 "]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band height="20" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-21" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="395" height="16" backcolor="#FFFFFF"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement>
<font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Summary Level 2 "]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
<group name="level3">
<groupExpression><![CDATA[]]></groupExpression>
<groupHeader>
<band height="16" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-14" stretchType="RelativeToBandHeight" mode="Opaque" x="158" y="0" width="237" height="16" backcolor="#EBEBEB"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Group Level 3 "]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band height="20" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-20" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="395" height="16"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement>
<font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Summary Level 3 "]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="16" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-4" stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="0" width="395" height="16" backcolor="#E7EFF7"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="1.0" lineColor="#FFFFFF"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="1.0" lineColor="#FFFFFF"/>
</box>
<textElement verticalAlignment="Bottom">
<font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["ColumnTitle"]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="16" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-11" stretchType="RelativeToBandHeight" mode="Opaque" x="235" y="0" width="160" height="16"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2"/>
<textElement>
<font fontName="Arial" isBold="false" pdfFontName="Helvetica" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Even_Row"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-16" stretchType="RelativeToBandHeight" mode="Opaque" x="395" y="0" width="140" height="16" backcolor="#FCFAF6"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2"/>
<textElement>
<font fontName="Arial" isBold="false" pdfFontName="Helvetica" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Odd_Row"]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="20" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-17" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="395" height="16"/>
<box topPadding="1" leftPadding="2" bottomPadding="1" rightPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<leftPen lineWidth="0.0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<rightPen lineWidth="0.0"/>
</box>
<textElement>
<font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Column Summary"]]></textFieldExpression>
</textField>
</band>
</columnFooter>
<pageFooter>
<band height="42" splitType="Prevent">
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement key="textField-26" mode="Opaque" x="0" y="6" width="58" height="36" backcolor="#F5F5F5"/>
<box topPadding="3" bottomPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Arial" pdfFontName="Helvetica" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{system.PAGE} + " " + $V{PAGE_NUMBER} + " /"]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" isBlankWhenNull="false">
<reportElement key="textField-27" mode="Opaque" x="58" y="6" width="59" height="36" backcolor="#F5F5F5"/>
<box topPadding="3" bottomPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement verticalAlignment="Middle">
<font fontName="Arial" pdfFontName="Helvetica" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-28" mode="Opaque" x="117" y="6" width="418" height="36" backcolor="#F5F5F5"/>
<box topPadding="3" bottomPadding="2" rightPadding="9">
<pen lineWidth="0.0"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Arial" pdfFontName="Helvetica" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{system.REPORT_FOOTER}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
<lastPageFooter>
<band height="38" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement key="textField-23" mode="Opaque" x="0" y="2" width="58" height="36" backcolor="#F5F5F5"/>
<box topPadding="3" bottomPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Arial" pdfFontName="Helvetica" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{system.PAGE} + " " + $V{PAGE_NUMBER} + " /"]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" isBlankWhenNull="false">
<reportElement key="textField-24" mode="Opaque" x="58" y="2" width="59" height="36" backcolor="#F5F5F5"/>
<box topPadding="3" bottomPadding="2">
<pen lineWidth="0.0"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement verticalAlignment="Middle">
<font fontName="Arial" pdfFontName="Helvetica" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="false">
<reportElement key="textField-25" mode="Opaque" x="117" y="2" width="418" height="36" backcolor="#F5F5F5"/>
<box topPadding="3" bottomPadding="2" rightPadding="9">
<pen lineWidth="0.0"/>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Arial" pdfFontName="Helvetica" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{system.REPORT_FOOTER}]]></textFieldExpression>
</textField>
</band>
</lastPageFooter>
<summary>
<band height="16" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement key="textField-18" stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="535" height="16"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#FFFFFF"/>
</box>
<textElement>
<font fontName="Arial" isBold="true" pdfFontName="Helvetica-Bold" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Root Summary"]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
JRXML file:
https://www.dropbox.com/s/l866uv4z7sccf2c/12columns.jrxml?dl=0
You cannot create an RTF document with a page size larger than 22 inch.
Your report template has a width of 23.11 inches.
The best explanation I could find is here.