What is the exact effect of the 'isParagraphE' variable used in PdfDocument?

I see it being set, then cleared in the Paragraph section of the add() method, and I see it being referenced in the flushlines() method to suppress the addition of the paragraph indent on all except 'new page and newline'. When it is removed from the test in flushlines() the problem described below goes away.

Before I willy-nilly add a change that solves this problem but causes grief in another circumstance, I'ld like to understand what it is supposed to be doing.

Thanks

Ken Beukelman
Personnel Decisions International


From: "Ken AtPdi" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [iText-questions] Horizontal Positioning of long paragraphs
Date: Fri, 29 Aug 2003 14:59:35 -0500

We have been following with interest the thread about text alignment and have incorporaed the fix supplied by Marc Schneider. That fixed a lot of the issues.

One thing that is still outstanding is an issue when a Paragraph object spans multiple pages. Everything seems fine when a Paragraph is on a single page or extends from page to page, but when it starts on one page, extends across the page boundary to the next, completely foills that page, and extends to a third page, the left indent is lost. (yes, we have, at least in testing, a paragraph that starts on page 7, fills page 8, and ends on page 9).

I have been looking at the values for the indents as they are carried in PdfDocument, but apparently I have not yet delved deeply enough. The internally carried values for the indents appear to be correct (or at least consistent) for each page, but the text is set at the left edge of the page only for the page where the paragraph spans.

I am still in the process of tracking this down, but I am not very conversant with how PDFs are supposed to work so I am not getting as far as I would like. In the mean time has anyone else seen this same type of problem? If so, how did you solve it?

Thank you

Ken Beukelman

_________________________________________________________________
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

_________________________________________________________________ MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to