See the example columns3.java at www.geocities.com/itextpdf. If using PdfPCell set the alignment and indents in the cell and not in the text. Note that PdfPTable doesn't split rows when crossing pages so, if the text is too long to fit in the page it will be dropped silently.
Best Regards, Paulo Soares ----- Original Message ----- From: "Bruce M. Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 16:42 Subject: [iText-questions] Multi-column page layout > Is it possible to have multi-column page layouts where the text is > justified? For example, I've tried setting up a two column table and > adding two cells created using ALIGN_JUSTIFIED Paragraphs. This > functions, but the alignment is ignored, probably because cells use > Phrases and not Paragraphs. I would like to use Itext's underlying line > breaking and hyphenation machinery to pour text into the cells of a > table. Is there some other technique that I've missed for accomplishing > this? For example, I would like to have the following page layout: > > ___________________________________ > |Now is the time for all|Now is the time for all| > |good men to come to|good men to come to| > |the aid of their coun-|the aid of their coun-| > |try. > |try. | > | . | > . | > | . | > . | > |_________________|_________________| > > > Bruce Thompson > [EMAIL PROTECTED] > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
