Jump to content

problem to add the page break on the last page footer


jasperbox

Recommended Posts

I'd like to have the page break onn the last page footer, as the same PDF output can have multiple reports in it. Each report can begin with the page break. I have the following code but still displays the second report on the same page. Any ideas? thanks!!

 <lastPageFooter>
  <band height="50">
   <break>
    <reportElement x="0" y="31" width="100" height="1"/>
   </break>
  </band>
 </lastPageFooter>
 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

are you adding multiple reports as one... or its a single report and in that you are adding pagefooter ?

well, if you want pdf output of multiple report... I hope you might have added multiple reports as a sub report in a main report after every subreport you add a pagebreak... I hope this will work as same you expected.

 

Rajendra Tambat

 

 

Link to comment
Share on other sites

thanks Rajendra. I'm doing multiple reports (same report but multiple users. i.e. 1 user has 1 report) in 1 PDF. In iReport Designer, I put the page break command on the last page footer. I expected it will produce a page break after producing each user report, but it didn't and just continue for the next user report afterwards and no gap. I have no idea what went wrong now.   


Link to comment
Share on other sites

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