Hi,

I have one problem/question about onParagraphEnd() event:
How can I calculate exact position of paragraph's last line if this
paragraph has spacingAfter set to 0?

I have figured out that when spacingAfter is not set to 0, correct location
can be calculated as
position + paragraph.spacingAfter().
But when spacingAfter is 0, position value that is passed to onParagraphEnd
method doesn't seem to have sense. Even stranger, if spacingAfter is set,
for example, to 0.0001, everything is OK.

Kruno





-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to