xavier.sudan Posted June 18, 2018 Share Posted June 18, 2018 Hi,I would like to print on invoices 2 bars (- -) or 3 bars ( - - -). The 2 bars indicate that there is more pages and the 3 bars indicate that it's the end of the invoice.Sample :Invoice 1 (page 1/2) : - -Invoice 1 (page 2/2) : - - -Invoice 2 (page 1/1) : - - -...I do it with 2 variables (One get the $V{PAGE_NUMBER} with resetType=Page and the other with resetType=Group). All is working well, except when the footer begin in a new page. In this case, my variables get :Invoice 3 (page 1/2) : VarPage = 1, VarPageTot = 1Invoice 3 (page 2/2) : VarPage = 1, VarPageTot = 1I would like to get :Invoice 3 (page 1/2) : VarPage = 1, VarPageTot = 2Invoice 3 (page 2/2) : VarPage = 2, VarPageTot = 2Can somebody tell me what is wrong in my code ?VarPage :<variable name="VarPage" class="java.lang.Integer" resetType="Page"> <variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression> <initialValueExpression><![CDATA[1]]></initialValueExpression></variable>[/code]VarPageTot :<variable name="VarPageTot" class="java.lang.Integer" resetType="Group" resetGroup="faktura"> <variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression> <initialValueExpression><![CDATA[1]]></initialValueExpression></variable>[/code]Field to print bars :<textField evaluationTime="Auto" pattern="" isBlankWhenNull="false"> ... <textFieldExpression><![CDATA["_____"+'r'+ (EQUALS($V{VarPage},$V{VarPageTot})?"_____":"")+ 'r'+"_____"]]></textFieldExpression></textField>[/code]PDF result : (see problem in page 4-5, bars are up right) : https://ufile.io/ynpbj (available until 18.07.2018)(same result with jaspersoft 6.1 and 6.6)All source code : <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.1.0.final using JasperReports Library version 6.1.0 --><!-- 2018-06-18T15:59:59 --><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="faktura_esr" pageWidth="595" pageHeight="842" columnWidth="449" leftMargin="14" rightMargin="14" topMargin="20" bottomMargin="28" uuid="5e557aea-c6a2-43be-a01d-e15e940ba262"> <property name="ireport.scriptlethandling" value="0"/> <property name="ireport.encoding" value="UTF-8"/> <import value="net.sf.jasperreports.engine.*"/> <import value="java.util.*"/> <import value="net.sf.jasperreports.engine.data.*"/> <style name="comic" fontName="Comic Sans MS" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="" pdfEncoding="Cp1250" isPdfEmbedded="true"/> <style name="ocrb" fontName="OCR-B-10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="" isPdfEmbedded="true"/> <parameter name="subReport" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA[null]]></defaultValueExpression> </parameter> <parameter name="trag_id" class="java.lang.Integer" isForPrompting="false"> <defaultValueExpression><![CDATA[null]]></defaultValueExpression> </parameter> ... <parameter name="sPPText" class="java.lang.String"/> <queryString> <![CDATA[select * from spr_rap_faktura_esr($P{trag_id},$P{journalid},$P{fakturaid}, $P{forSelectedFaks}, $P{fakIdsSelected},$P{mahnlaufid},$P{perid},$P{zahlung},$P{ausgabeart}, $P{ignoreAusgabeart})]]> </queryString> ... <field name="FAPOPREIS" class="java.math.BigDecimal"/> <variable name="UEBERTRAG" class="java.math.BigDecimal" resetType="Group" resetGroup="faktura" calculation="Sum"> <variableExpression><![CDATA[($F{POSTYPE}.doubleValue() == 0?$F{FAPOPREIS}:new BigDecimal("0"))]]></variableExpression> </variable> <variable name="PAGETOTAL" class="java.lang.Integer" resetType="Group" resetGroup="faktura" calculation="Highest"> <variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression> </variable> <variable name="DSCOUNT" class="java.lang.Integer" resetType="Group" resetGroup="faktura"> <variableExpression><![CDATA[$V{REPORT_COUNT}]]></variableExpression> </variable> <variable name="DSPAGECOUNT" class="java.lang.Integer" resetType="Page" calculation="Count"> <variableExpression><![CDATA[$V{REPORT_COUNT}]]></variableExpression> </variable> <variable name="BETRAGTOTAL" class="java.math.BigDecimal" resetType="Group" resetGroup="faktura" calculation="Sum"> <variableExpression><![CDATA[$F{FAPOPREIS}]]></variableExpression> </variable> <variable name="BETRAGRUND" class="java.lang.Double" resetType="Group" resetGroup="faktura"> <variableExpression><![CDATA[new Double(new Double(Math.round(($V{BETRAGTOTAL}).doubleValue()*20.0)).doubleValue()/20.0)]]></variableExpression> </variable> <variable name="TYPCOUNT" class="java.lang.Integer" resetType="Group" resetGroup="faktura" calculation="Sum"> <variableExpression><![CDATA[$F{POSTYPE}]]></variableExpression> </variable> <variable name="DISABLE_MANUAL_LOGO" class="java.lang.Boolean"> <initialValueExpression><![CDATA[true]]></initialValueExpression> </variable> <variable name="VarPage" class="java.lang.Integer" resetType="Page"> <variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression> <initialValueExpression><![CDATA[1]]></initialValueExpression> </variable> <variable name="VarPageTot" class="java.lang.Integer" resetType="Group" resetGroup="faktura"> <variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression> <initialValueExpression><![CDATA[1]]></initialValueExpression> </variable> <group name="faktura" isStartNewPage="true" isResetPageNumber="true" minHeightToStartNewPage="1" keepTogether="true"> <groupExpression><![CDATA[$F{FAKID}]]></groupExpression> <groupHeader> <band height="154" splitType="Stretch"> <line> <reportElement key="line" positionType="Float" mode="Opaque" x="28" y="150" width="515" height="1" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF" uuid="aa4fe487-dc03-4323-9ba7-a062c5be1e36"/> <graphicElement fill="Solid"/> </line> <textField pattern="" isBlankWhenNull="false"> <reportElement key="textField" mode="Opaque" x="29" y="4" width="204" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="45c559d6-0efd-43ae-820e-f5563bcb46c8"/> <box> <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="Left" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$F{FAKDATUM}+" New Invoice "+ $F{FAKID}]]></textFieldExpression> </textField> <line> <reportElement key="line" positionType="Float" mode="Transparent" x="28" y="151" width="515" height="1" forecolor="#000000" backcolor="#FFFFFF" uuid="9bd99529-6ac2-4355-b078-99be9c740cea"> <printWhenExpression><![CDATA[new Boolean($F{POSTYPE}.intValue() == 1)]]></printWhenExpression> </reportElement> <graphicElement fill="Solid"/> </line> <textField pattern="" isBlankWhenNull="false"> <reportElement key="textField-26" mode="Transparent" x="485" y="112" width="29" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="1c408ec4-a6ba-496e-ade4-b61d2a78a125"/> <box> <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="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA["Page"]]></textFieldExpression> </textField> <textField pattern="" isBlankWhenNull="false"> <reportElement key="textField-24" mode="Transparent" x="514" y="112" width="12" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="216d0e0d-3bb5-46f7-9b57-e5a0014b474e"/> <box> <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="Center" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> <staticText> <reportElement key="staticText-2" mode="Transparent" x="525" y="112" width="8" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="6780e397-90a5-4aca-b1ca-787603755f9e"/> <box> <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="Center" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <text><![CDATA[/]]></text> </staticText> <textField evaluationTime="Group" evaluationGroup="faktura" pattern="" isBlankWhenNull="false"> <reportElement key="textField-25" mode="Transparent" x="531" y="112" width="12" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="8be15e60-1055-41dc-8b38-95f09685fcb5"/> <box> <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="Center" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="91"> <rectangle> <reportElement key="rectangle-1" positionType="Float" x="29" y="5" width="515" height="15" forecolor="#FFFFFF" backcolor="#CCCCCC" uuid="fe6b25df-1956-40c3-89be-a6e254123074"/> </rectangle> <textField isBlankWhenNull="false"> <reportElement key="textField-21" x="484" y="5" width="56" height="15" isPrintWhenDetailOverflows="true" uuid="4c76c8c9-b106-43d5-81d6-599d2ca33fc4"/> <box> <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 isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA["..."]]></textFieldExpression> </textField> <textField isBlankWhenNull="false"> <reportElement key="textField-20" positionType="Float" x="460" y="5" width="23" height="15" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="41783e91-0afd-4270-aab8-bf1bcc76dd05"/> <box> <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 isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA["CHF"]]></textFieldExpression> </textField> <textField isBlankWhenNull="false"> <reportElement key="textField-19" x="46" y="5" width="333" height="15" isPrintWhenDetailOverflows="true" uuid="97cdafd2-9bc2-47a4-b765-4e18a60531d1"/> <box> <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="SansSerif" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA["Total"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true"> <reportElement key="FapoText-2" mode="Transparent" x="30" y="60" width="344" height="13" forecolor="#000000" backcolor="#FFFFFF" uuid="c9f48406-5948-491a-8445-4990fc2f203e"/> <box> <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="Left" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA["..."]]></textFieldExpression> </textField> </band> </groupFooter> </group> <background> <band height="78" splitType="Stretch"> <property name="com.jaspersoft.studio.unit.height" value="pixel"/> <textField evaluationTime="Auto" pattern="" isBlankWhenNull="false"> <reportElement key="staticText" positionType="Float" mode="Transparent" x="554" y="10" width="24" height="58" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="c24f4e26-0ed2-460f-a4cf-5e6e93cf76bc"> <property name="com.jaspersoft.studio.unit.height" value="pixel"/> <property name="com.jaspersoft.studio.unit.width" value="pixel"/> </reportElement> <box topPadding="20"> <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="Center" verticalAlignment="Middle" rotation="None" markup="none"> <font fontName="Calibri" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="CP1252" isPdfEmbedded="false"/> <paragraph lineSpacing="Double" lineSpacingSize="1.0" spacingAfter="0"/> </textElement> <textFieldExpression><![CDATA["_____"+'r'+(EQUALS($V{VarPage},$V{VarPageTot})?"_____":"")+'r'+"_____"]]></textFieldExpression> </textField> <textField evaluationTime="Auto" pattern="" isBlankWhenNull="false"> <reportElement key="staticText" positionType="Float" stretchType="RelativeToBandHeight" mode="Opaque" x="-10" y="20" width="130" height="58" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="ef6d6b56-506c-49cf-b611-a9191cec055f"> <property name="com.jaspersoft.studio.unit.height" value="pixel"/> <property name="com.jaspersoft.studio.unit.width" value="pixel"/> </reportElement> <box topPadding="20"> <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="Left" verticalAlignment="Middle" rotation="None" markup="none"> <font fontName="Calibri" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="CP1252" isPdfEmbedded="false"/> <paragraph lineSpacing="Double" lineSpacingSize="1.0" spacingAfter="0"/> </textElement> <textFieldExpression><![CDATA[$V{VarPage}+" $ V{VarPage}"+'r'+$V{VarPageTot}+" $ V{VarPageTot}"+'r'+$V{PAGE_NUMBER}+" $ V{PAGE_NUMBER}"]]></textFieldExpression> </textField> </band> </background> <title> <band splitType="Stretch"/> </title> <pageHeader> <band height="105" splitType="Stretch"> <line> <reportElement key="line" positionType="Float" mode="Opaque" x="29" y="72" width="515" height="1" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF" uuid="75b63261-65bf-48cf-aea9-60f7c5ae9768"> <printWhenExpression><![CDATA[NOT(new Boolean(EQUALS($V{VarPage},$V{VarPageTot})))]]></printWhenExpression> </reportElement> <graphicElement fill="Solid"/> </line> <line> <reportElement key="line" positionType="Float" mode="Opaque" x="29" y="90" width="515" height="1" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF" uuid="ad7ed2ee-43ed-4d67-be53-7b268b52b4f3"> <printWhenExpression><![CDATA[NOT(new Boolean(EQUALS($V{VarPage},$V{VarPageTot})))]]></printWhenExpression> </reportElement> <graphicElement fill="Solid"/> </line> <textField pattern="" isBlankWhenNull="false"> <reportElement key="textField-16" positionType="FixRelativeToBottom" mode="Opaque" x="514" y="45" width="12" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="1a828ced-3fd1-43bf-bbc4-8db09cd3735f"> <printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue() > 1)]]></printWhenExpression> </reportElement> <box> <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="Center" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> <staticText> <reportElement key="staticText-1" positionType="FixRelativeToBottom" mode="Opaque" x="525" y="45" width="8" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="0ba49b52-f888-4795-bdb8-53a46c937bc0"> <printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue() > 1)]]></printWhenExpression> </reportElement> <box> <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="Center" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <text><![CDATA[/]]></text> </staticText> <textField evaluationTime="Group" evaluationGroup="faktura" pattern="" isBlankWhenNull="false"> <reportElement key="textField-17" positionType="FixRelativeToBottom" mode="Opaque" x="531" y="45" width="12" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="89baf1cf-6fb3-4a2c-970e-d5e60df669aa"> <printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue() > 1)]]></printWhenExpression> </reportElement> <box> <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="Center" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> <textField pattern="" isBlankWhenNull="false"> <reportElement key="textField-18" positionType="FixRelativeToBottom" mode="Opaque" x="485" y="45" width="29" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="37632946-581f-4b42-97f9-763060e14896"> <printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue() > 1)]]></printWhenExpression> </reportElement> <box> <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="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA["Page"]]></textFieldExpression> </textField> <textField> <reportElement x="516" y="0" width="34" height="8" forecolor="#FFFFFF" uuid="ec49561a-36db-4bc1-8aad-ded9fc86b0f8"> <property name="com.jaspersoft.studio.unit.height" value="pixel"/> </reportElement> <textElement textAlignment="Center"> <font size="6"/> </textElement> <textFieldExpression><![CDATA[$F{FAKPERID}]]></textFieldExpression> </textField> </band> </pageHeader> <columnHeader> <band splitType="Stretch"/> </columnHeader> <detail> <band height="14"> <printWhenExpression><![CDATA[new Boolean($F{POSTYPE}.intValue() == 0)]]></printWhenExpression> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true"> <reportElement key="FapoPreis-1" mode="Transparent" x="478" y="1" width="63" height="13" forecolor="#000000" backcolor="#FFFFFF" uuid="c5819e53-57c1-4b48-8ec0-d6c49cbeda69"> <printWhenExpression><![CDATA[new Boolean( ($F{POSTYPE}.intValue() == 0) && ($F{FAPOPREIS}.doubleValue() != 0.0) )]]></printWhenExpression> </reportElement> <box> <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="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA["..."]]></textFieldExpression> </textField> <textField pattern="" isBlankWhenNull="false"> <reportElement key="CHF-1" mode="Opaque" x="461" y="1" width="23" height="13" forecolor="#000000" backcolor="#FFFFFF" uuid="4fc8f82e-8b9f-4b71-ba26-bd3eeaa1b74e"> <printWhenExpression><![CDATA[new Boolean( ($F{POSTYPE}.intValue() == 0) && ($F{FAPOPREIS}.doubleValue() != 0.0) )]]></printWhenExpression> </reportElement> <box> <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="Left" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA[]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true"> <reportElement key="FapoText-2" mode="Transparent" x="30" y="1" width="344" height="13" forecolor="#000000" backcolor="#FFFFFF" uuid="41900207-a9c3-4709-b164-98c6d1d6a023"> <printWhenExpression><![CDATA[new Boolean($F{POSTYPE}.intValue() == 0 && ($F{FAPOPREIS}.doubleValue() != 0.0) && ($F{FAPOPREFIX}==null))]]></printWhenExpression> </reportElement> <box> <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="Left" verticalAlignment="Top" rotation="None"> <font fontName="Calibri" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" isPdfEmbedded="false"/> <paragraph lineSpacing="Single"/> </textElement> <textFieldExpression><![CDATA["..."]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band splitType="Stretch"/> </columnFooter> <pageFooter> <band height="290" splitType="Prevent"> <line direction="BottomUp"> <reportElement key="line" positionType="FixRelativeToBottom" mode="Opaque" x="0" y="31" width="563" height="240" forecolor="#000000" backcolor="#FFFFFF" uuid="43ad339c-79ca-42ad-982b-7d672c6af9d7"/> <graphicElement fill="Solid"/> </line> </band> </pageFooter> <summary> <band splitType="Stretch"/> </summary></jasperReport>[/code]Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now