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

Unwanted pagebreaks


trycoon

Recommended Posts

Hi!

 

If have a problem with subreports, everything after the subreport is being moved to a new page. I don't know why, there are plenty of room left on the paper..

Using iReport 1.2.5 and Jasperreports 1.2.3.

Since i'm a newbee it's probably something i'm doing wrong.

 

Sorry for the Swedish texts! One example is the "pagebreak" after the list of workforce "Närvarande".

But also the pictures below get a "pagebreak" after each pair.

 

I have included my jrxml-files and a PDF-file to show the problem. The program is going to be a construction-site diary that we developing for a local company.

 

Many Thanks! :P

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

The OccupationalGroupFooter is a huge band. I has a height of 558 pixels.

If the space remaining on the current page is less than 558 pixels tall, the engine will try to render the band on a new page. This is why you see that white space, because you have very large bands that would hardly fit in the remaining space on the page.

 

You should follow this FAQ here:

http://jasperforge.org/sf/wiki/do/viewPage/projects.jasperreports/wiki/FAQ8

to split bands into smaller pieces.

 

I hope this helps.

Teodor

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