Jump to content
Changes to the Jaspersoft community edition download ×

Any way to prevent an orphaned line or two on next page?


brossow

Recommended Posts

I have a report with a block of text at the end (footnotes, about 18 lines in 7pt font) that's roughly two inches tall.  I know how to prevent it from printing just a line or two at the end of a page, but is there any reliable way to keep it from printing just a line or two on the last page?  Ideally it wouldn't break if there's less than an inch of space available at the end of a page, but would break if less than an inch would overflow onto the next page (in other words, if it needs to split, it would split approximately in half).

I suppose I could split the text into two fields in two bands about an inch tall, neither of which is allowed to split.  It's not ideal, but if there's no other solution it would be better than having a line or two of text on a page by itself.  I'd much rather keep the whole block as a single field for easier maintenance (we pull the text in as a resource from a properties file).  Thoughts?  I'm using iReport Designer 5.6.0 if it matters.  Thanks!

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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