On 29/07/2011 18:15, Jason Berk wrote:

BINGO:

writer.getDirectContent().getPdfDocument() returns the margins that are respected by the table, instead of what they were set to for the next page.

I never realized those two "documents" were actually different....I learned a lot....thanks

I knew both were different, but I didn't remember the implications for the margins.
The solution isn't elegant, but I'm happy to hear that it works.
I would like to improve the code (to avoid that other people have the same problem), but it's not going to be easy. I'd have to rewrite all the methods that depend on the current (not so ideal) way we deal with margins.
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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

Reply via email to