[iText-questions] onParagraphEnd

2007-10-14 Thread Tim Bron
I am using 2.0.6 and when implements the onParagraphEnd(draw a line at paragraphPosition) and set parapgraph to setKeepTogether true, then every time the onParagraphEnd of the last paragraph on the page was triggered when the next page was created and before drawing a new paragraph. How can I re

[iText-questions] onParagraphEnd() position problem

2005-11-17 Thread Kruno
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