Hi there
 
We're using iText in our application to creat large
tables (tables over several pages). Most of the time
this works fine, but sometime we have the effect that
fitsPage() returns true instead of false.
I tried to reduce the problem to a few lines of code.
In this code example (see attachment) a Paragraph is
used to simulate our letterhead (which is impemented
as template in the original application).
 
In the example fitsPage() always returns true even if
the table dosent't fits the page.
And second when I use {Paragraph p=new Paragraph(0f);
p.setSpacingBefore(554f);} instead of {Paragraph p=new
Paragraph(554f); p.setSpacingBefore(0f);} leads to a
different position of the table.
 
What's the reason for this behaviour?
 
Thanks in advance for your response
Best regards
Markus


                
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Attachment: myTable_leading554_spacingBefore0.pdf
Description: 2339022672-myTable_leading554_spacingBefore0.pdf

Attachment: myTable_leading0_spacingBefore554.pdf
Description: 3614536335-myTable_leading0_spacingBefore554.pdf

Attachment: MyTable.java
Description: 1391503420-MyTable.java

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to