Empty space and blank pages in PDF with page-break-inside: avoid and repeating thead and tfoot

1,220 views
Skip to first unread message

Daniil Gromov

unread,
Aug 8, 2013, 12:55:00 PM8/8/13
to flying-sa...@googlegroups.com
I've been using R8 version of the library to generate PDF from XTML for about 3 years without any updates.

Recently I started using repeating thead and tfoot. It works well until avoiding page breaks kicks in. When avoiding page breaks the PDF render engine can create some empty space on top of the "next" page when break is avoided. If the table is long the blank space will increase on each next page. Sometimes a whole page is injected with only 10% of the content on it.

My markup is solid and CSS in not overly complex. The issue seems to arise from the mix of repeatable thead/tfoot and page break avoidance.

I've found a few logged issues that may relate to mine, but there is no resolution on them:

Can someone please advise, if this was ever fixed.

Also, what's the least impact way to get the latest code, so that I don't have to regress all my older PDF generation code?

Thank you for a great library.

P.S. I'm going to try to generate some example PDFs. I just need to wipe out sensitive information, so I will add them a little later.

Peter Brant

unread,
Aug 30, 2013, 6:24:15 PM8/30/13
to flying-sa...@googlegroups.com
I don't think they were ever fixed.  The rate of change has been very slow.  I doubt you'd have problems upgrading to the latest version.

Pete




--
You received this message because you are subscribed to the Google Groups "Flying Saucer Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flying-saucer-u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Marian _vitazstvo_ Hornak

unread,
May 22, 2017, 12:25:11 PM5/22/17
to Flying Saucer Users
Hi,

i know that this is quite old but do you remember if you found solution to this? :)

thank you.
Reply all
Reply to author
Forward
0 new messages