[Qt-interest] Getting height of several elements with WebKit

Anatoly Burakov burakov.anatoly at googlemail.com
Sat Aug 8 08:03:07 CEST 2009


Hi all

I have a document that has to be automagically split across several
pages when printing (currently i am inserting an empty paragraph with
style set to "page-break-before: always;"). In order to determine
whether a pagebreak should be inserted i want to know if the height of
my table (plus current Y position) exceeds certain limit (page height).
My question is - can determine height of a portion of my code?

Or is there a better, cleaner way to achieve my goal?

Best regards,
Anatoly



More information about the Qt-interest-old mailing list