Did you try with setNoWrap(false)?
It works for me.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Roberto Cipollini [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, October 29, 2003 10:19
> To:   [EMAIL PROTECTED]
> Subject:      Re: [iText-questions] Cell text overlapping
> 
> > Use PdfPCell.setFixedHeight(xx). xx must be at least the top padding +
> > bottom padding + font size.
> >
> The setFixedHeight() only affect the height of the cell, and not the
> width,
> so the cell still overlaps the next right adjacent cell.
> I think this is a issue of the PdfPTable constructor method.
> If no widths are specified, the PdfPTable (i believe upon what i see in my
> reports) set the cell widths to the same width, and if a text in a one
> cell
> is longer/larger than the available room, and if the setNoWrap is true,
> the
> text overlaps his bounderies and what you get is a confused heap of chars.
> 
> I believe the proposal of  S Cool shall work (sorry, not tested yet) but
> this is not so easy to deploy as a standard way.
> There might (shall) be some methods in Itext to bypass this issue
> natively.
> What do you think Paulo?
> 
> bye.
> Roberto
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to