Jump to content
We've recently updated our Privacy Statement, available here ×

Page break doesn't work in JasperSoft Studio 6.8.0


Joe Taras
Go to solution Solved by Joe Taras,

Recommended Posts

I've a simple report with some subreports grouped in different Group Footer Band.

I've added a `break` element and set it on `Page` but when I print my report it remain in the previous page.

I've checked if my report has flagged `Ignore pagination` to `true` but this property has correctly set on `false`

This is the XML:


    <band height="37">
                <break>
                    <reportElement x="0" y="0" width="555" height="1" isPrintInFirstWholeBand="true" uuid="61503c97-7733-47ee-aae7-69c630d30aab">
                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                    </reportElement>
                </break>
                <staticText>
                    <reportElement x="1" y="0" width="555" height="17" uuid="9653033e-5aa8-4487-bdaa-5b6a64c73335"/>
                    <textElement verticalAlignment="Middle">
                        <font fontName="MyDejaVuSans" size="12" isBold="true"/>
                    </textElement>
                    <text><![CDATA[Dettaglio incertezze composte per contributo]]></text>
                </staticText>
                <subreport>
                    <reportElement isPrintRepeatedValues="false" x="1" y="17" width="555" height="18" uuid="fc2fe7e6-5acc-4438-aa5a-e0aff8083b59">
                        <property name="com.jaspersoft.studio.unit.height" value="px"/>
                    </reportElement>
                    <subreportParameter name="ParametroAmbiente">
                        <subreportParameterExpression><![CDATA[$P{ParametroAmbiente}]]></subreportParameterExpression>
                    </subreportParameter>
                    <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{lstLstIncContributi}.get(0))]]></dataSourceExpression>
                    <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "rptDataIncSub.jasper"]]></subreportExpression>
                </subreport>
            </band>

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...