blank space problem

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

 

 

 

 

bbromonti's picture
Joined: Aug 5 2010 - 8:43am
Last seen: 1 year 6 months ago

4 Answers:

Have you set PositionType = FLOAT

hozawa's picture
176551
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago

 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.

amthomas's picture
205
Joined: Mar 19 2010 - 9:14pm
Last seen: 10 years 6 months ago

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.

bbromonti's picture
Joined: Aug 5 2010 - 8:43am
Last seen: 1 year 6 months ago

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.

bbromonti's picture
Joined: Aug 5 2010 - 8:43am
Last seen: 1 year 6 months ago
Feedback
randomness