I leave this for Bruno to decide. Each time something about indents or Table
is fixed something else breaks.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Ken AtPdi [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, September 09, 2003 16:38
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Suggested fix for a positionining problem
> 
> How do I go about getting a suggested fix included into the code?
> 
> We had a problem where long paragraphs where positioned against the left 
> side of the page rather than being properly indented.  This situation 
> occured only when the paragraph started on one page, filled a second and 
> extended onto a third page.  It appeared that when no elements were added
> on 
> a page, the positioning was rendered incorrectly.
> 
> We tracked this down to a boolean flag in the PdfDocument class called 
> 'isParagraphE'.  it appears to have been inserted to help control indents,
> 
> but does not appear to work correctly in the situation described above.
> The 
> line numbers referenced are those in the currently available source.
> 
> To remedy the problem we changed line 2130 from
> 
>     if(isParagraphE && isNewpage && newline) {
> 
> to
> 
>     if(isNewpage && newline) {
> 
> Since this is the only place the variable is referenced for its content,
> to 
> clean up the process the following lines could also be removed:
> 
>     505 (declaration)
>     1238 (set to true)
>     1325 (set to false)
> 
> We would appreciate any feedback regarding this change, positive or 
> negative.  If this 'fix' actually breaks something else, we would
> appreciate 
> the enlightenment and suggestions as to how to really fix the problem.
> 
> If this is not the forum to make this suggestion, please inform me so we
> can 
> do this right.
> 
> Thank you
> 
> Ken Beukelman
> Personnel Decisions International
> 
> _________________________________________________________________
> Fast, faster, fastest: Upgrade to Cable or DSL today!   
> https://broadband.msn.com
> 
> 
> 
> -------------------------------------------------------
> 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


-------------------------------------------------------
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