Hi all, I searched this list but didn't find the answer of my problem. So I have abstract class that builds report. So this class has methods like addParagraph, addImage and so on. I made my HTML and PDF implementation for building report. But the problem i have is: When I add image to the Document (PdfDocument) object, and if there is not enough vertical space for the image, it fills it with the text after the image and places the image on top of the next page. This is quite normal behaviour but the report logic is lost..So i need to know if there is any way I can understand if the space for the image is not enough and to call newPage() method before adding it to the document. (The white space on the prevous page is not a problem, the report logic needs to be the done by "step by step" adding of elements). Thanks all in advance. Nenko Ivanov.
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
