blank space problem
Posted on December 2, 2010 at 1:08am
Hi,
I have a report which consists of 14 sub-reports. Some of these sub-reports are images and some of them texts.
The report is shorter than a page (15 cm), but when i create it, it adds some extra white space to the end, so the page breaks and i get an empty second page. The first page is perfect. But i need to get rid off the second page which is empty.
Do anybody has some idea?
Bianca
Joined: Aug 5 2010 - 8:43am
Last seen: 1 year 6 months ago
Posted on December 18, 2010 at 5:49pm
Have you set PositionType = FLOAT
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago
Posted on December 28, 2010 at 2:38pm
I am curious. Do you have a title band on your main report?
It seems that jasper reports is removing twice as much space from the first page than what is needed. The 'extra' space seems to be exactly the size given to the title band.
Joined: Mar 19 2010 - 9:14pm
Last seen: 10 years 6 months ago
Posted on December 29, 2010 at 4:15am
No, i don't have title band.
I have page header and page footer on tha main report but until now it didn' cause any problem.
When i start to take away subreports, than the extra blank space shrinks and at a point the empty second page disappears.
Joined: Aug 5 2010 - 8:43am
Last seen: 1 year 6 months ago
Posted on December 29, 2010 at 4:17am
Only the first element has a fixed position (to the top) and the rest are float.
It is very necessary to make them float because the subreports can have varying height.
Joined: Aug 5 2010 - 8:43am
Last seen: 1 year 6 months ago