Excuse me but I did the effort of building a JUnit test to show the problem. 
If you had simply attempted to run it, which takes about 5 secs you would
easily have seen what I meant, no offense.  But I'll explain in detail. 

The output document needs to be of a fixed height interval, depending on how
much rows there are.  I cannot just output on extra pages anytime i want. 
If the document is smaller than the minimum size i have to fill it up with
whitespace.  This fixed size is not absolute, there are several fixed sizes. 
So if I have a document that would be 15 cm, then I need to look for the
nearest fixed interval, add whitespace to and cut the document, to a
maximum.  If that maximum is reached I can't just use a page nr 2, I have to
build a new PDF document using the remaining data.  However my testcase is
very much simplified, and that's because those intervals are irrelevant.  I
just try to cut the document to the same size as the table in a way that the
document is of the same size as the table. 
So Table(Rectangle).size == Document(Rectangle).size  


And why shouldn't I use PdfPTable?  Your book has several chapters dedicated
to PdfPTable.  I don't understand...


At least thanks for reading ... :-s
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/PdfPTable-padding-and-spacing-tp2248510p2248734.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to