> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Christian Lauer
> Sent: Wednesday, September 08, 2004 10:55 PM
> To: iText Mailing List
> Subject: [iText-questions] multipliedLeading + spacingBefore
> 
> Hi Paulo,
> 
> I've found out that the multiplied leading doesn't work for 
> Paragraphs 
> placed into the document, is it planned to support this as in 
> PdfPTables
> or ColumnTexts?
>

No. That's too much changes in PdfDocument.
 
> Also I think I've discovered another bug. When you're using 
> the spacingBefore
> feature it seems it will not work for the first Paragraph, 
> placed in the
> document.
> 

It's a bug. Replace in PdfDocument:

                case Element.PTABLE: {
                    // before every table, we add a new line and flush all lines
                    newLine();
                    flushLines();
                    PdfPTable ptable = (PdfPTable)element;
                    addPTable(ptable);
                    pageEmpty = false;
                    break;
                }

Best Regards,
Paulo Soares

> I've attached the Java source code plus a PDF for this.
> 
> Best regards,
> Christian
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to