Jump to content
Changes to the Jaspersoft community edition download ×

How can I print a content on a separate/next page (Page Break) ?


george.cristian

Recommended Posts

I can't print on a next page. I have 4 files .jrxml interconnected. I want the last file to be printed to a new page but just some parts are printed (for example: just some columns). I have a group, then groupFooter and Header, title and some frames. How can I put these all together on a new page? 

That's the structure of my code ("............." means content, for example elementGroups, textfields, staticTexts)

   <group name="Categorii" isStartNewPage="true"   >
        <groupExpression><![CDATA[$F{parameter}]]></groupExpression>
        <groupHeader>
            <band height="20">
                <printWhenExpression><![CDATA[boolean.valueOf($F{parameter}.equals(Boolean.FALSE))]]></printWhenExpression>
.......................................
      </band>
        </groupHeader>
        <groupFooter>
            <band height="20">
                    <printWhenExpression><![CDATA[boolean.valueOf($F{parameter}.equals(Boolean.FALSE))]]></printWhenExpression>
..................................
            </band>
        </groupFooter>
    </group>
    <!-- set title-->
    <title>
        <band height="50">
            <printWhenExpression><![CDATA[boolean.valueOf($F{parameter}.equals(Boolean.FALSE))]]></printWhenExpression>
 <frame>
.....................................
  </frame>
        </band>
    </title>
    <columnHeader>
        <!-- First row -->
        <band height="15">
            <printWhenExpression><![CDATA[boolean.valueOf($F{parameter}.equals(Boolean.FALSE))]]></printWhenExpression>
............................
     </band>
    </columnHeader>
    <detail>
.......................
</detail>
  <summary>
        <band height="55">
            <frame>
...........................
  </frame>
            <frame>
............................
 </frame>
        </band>
    </summary>
</jasperReport>
 
 
 
 
 
 
 
 
 
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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