trycoon Posted August 22, 2006 Share Posted August 22, 2006 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 More sharing options...
trycoon Posted August 22, 2006 Author Share Posted August 22, 2006 Oops! File were too big!Here is a new one, with fewer/smaler pictures. [file name=problem.zip size=131556]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/problem.zip[/file] Link to comment Share on other sites More sharing options...
Teodor Danciu Posted August 23, 2006 Share Posted August 23, 2006 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/FAQ8to split bands into smaller pieces. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
trycoon Posted August 24, 2006 Author Share Posted August 24, 2006 Thanks Teodor, it's finaly working great! :laugh: 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