Jump to content
Changes to the Jaspersoft community edition download ×

Redundant space on page bottom


manousek

Recommended Posts

Hi,

 

I have problem with redundant space in report detail before page footer and can not find solution.

So I have report that shows records in detail section. Record can be one of five types: every type have his style of display (various textfields with various length etc). So in detail I have five "rows" with appropriate "print when expression" and "remove when blank" flag set to true.

It works fine except end of page: on every page bottom is free space whitch correnspondent space of 5 rows!!!

When I add next "row" in detail for sixth type, space on page bottom increases.

When I organize all five (six) "rows" crisscross (that means all textfields have Top set to 0) and Band height set to one textfield height, all is ok without space - but maintenance of this pandemonium is horrible.

 

Can anybody please help me how to realize this?

 

Regards

Jara

Link to comment
Share on other sites

  • 3 months later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

This is also a problem for me. I designed a general subreport which should be filled with variant data, and dependent on which fields are filled, the detail band should only display them. All textfields have the position type "Float", and the options "Blank when null" and "Remove line when blank" are active.

 

It works fine if all fields are filled, but if not, there is free space on the bottom of the page, and the space corresponds to the height of the fields which are not shown.

 

If someone has an idea how to fix this, please do tell!

Post edited by: newsletter6, at: 2007/08/30 12:37

Link to comment
Share on other sites

Here is an image to illustrate the description above:

 

size=400]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/report_pagebottom_space-86c058cc00988f75ead77719ec5cd8bd.jpg

 

The space below the last line is unnecessary because the next page continues with one-line-rows. The fields which are not shown in these records are hidden correctly first (and the space they consume is freed), but the last record on each page doesn't free the space the fields would consume if they were shown.

Post edited by: newsletter6, at: 2007/08/30 12:58

Link to comment
Share on other sites

It seems to be a workaround to minimize the height of the textfields which are hidden sometimes (I've set their heights to 4px). Then the wasted space also gets smaller - but you have to activate "Stretch with overflow" of course!

Post edited by: newsletter6, at: 2007/08/31 10:56

Link to comment
Share on other sites

  • 5 years later...

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