It's a BIG bug. Replace in PdfDocument.addPTable():

if ((status & ColumnText.NO_MORE_TEXT) != 0) {
    text.moveText(0, ct.getYLine() - indentTop() + currentHeight);
    currentHeight = indentTop() - ct.getYLine();
    break;
}

Best Regards,
Paulo Soares 

> -----Original Message-----
> From: Christian Lauer [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 08, 2004 12:24 AM
> To: Paulo Soares
> Subject: RE: [iText-questions] Support of lists in PdfPCell
> 
> Hi Paulo,
> 
> that sounds great! It seems that most of my iText related 
> problems will
> be gone soon ;-)
> 
> Unfortunately I've discovered a problem with mixed Paragraphs and
> PdfPTables in one document. When you add some Paragraphs to 
> the document
> then a table the next paragraph you add will intersect with the table.
> 
> I've attached the source code and the produced PDF.
> 
> Best regards,
> Christian
> 
> On Tue, 2004-09-07 at 11:30, Paulo Soares wrote:
> > That's already supported in itextpdf.sf.net, together with 
> spacing before/after and automatic leading. See PdfPCell.addElement().
> > 
> > Best Regards,
> > Paulo Soares 
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] 
> > > [mailto:[EMAIL PROTECTED] On 
> > > Behalf Of Christian Lauer
> > > Sent: Monday, September 06, 2004 11:59 PM
> > > To: iText Mailing List
> > > Subject: [iText-questions] Support of lists in PdfPCell
> > > 
> > > During the past months I've received some requests for 
> the UJAC print
> > > module for placing stuff like lists in PdfPCells. Futhermore 
> > > it would be
> > > nice to be able to place more than one element in a cell, for 
> > > example a
> > > list of paragraphs and phrases. Is such a feature planned 
> for iText in
> > > the near future? 
> > > 
> > > 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_id=5047&alloc_id=10808&op=click
> > > _______________________________________________
> > > iText-questions mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > > 
> > 
> > 
> > -------------------------------------------------------
> > 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
> -- 
> Christian Lauer <[EMAIL PROTECTED]>
> 


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