Detect 'blank' pages

"Aritz" <[email protected]>
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <[email protected]>
Dear all,

I have a problem while creating a pdf and hope you can help me.

I'm parsing some html code in order to generate the PDF, but the result
shows sometimes blank (empty) pages.

The scenario is that it is not a really blank page. If my html code has <BR>
tags at the end (for example), they are displayed as new lines, so the page
seems to be blank, but it has elements.

So my question is: is there a way to check if a page is just formed by
''blank'' elements? I mean no detect empty pages (I know how to do it,
because empty page have no content), but ''empty'' pages (formed by blank
lines only).

Any help would be really appreciated.

Thank you in advance


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.