Use nested tables. Each cell can only have one type of alignment. If the text grows it will go to next line and make the cell bigger.
Best Regards, Paulo Soares > -----Original Message----- > From: Sergio Lopez Rodriguez [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, February 19, 2002 8:51 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Questions about Table/PdfPTable > > I'm trying to create a sheet divided in "cells" and in every cell there > will > be text and a barcode (it's for labels) so my questions are: > > 1. Is it possible in a cell to "put/insert/write" different lines of text? > I > mean, in HTML, in a cell I can use the BR tag, is there any similar? Or > should I use nested tables? > 2. Is it possible use absolute positioning of text inside a cell? For > example, i want to have in the same cell some part of the text aligned to > the left and the rest to the right. In case I can do it ... if the text is > on the right grows ... what will happen? If it doesn't fit, will it > continue > in a next line? > 3. Or maybe i should use instead tables, just lines to divide the sheet > and > use absolute positioning? > > Thanks a lot!!!! > > Sergio > > ----------------------------------------------------------------------- > Este mensaje y los documentos, que en su caso, lleve anexos, pueden > contener informacion confidencial y ata�e exclusivamente a las personas > a las que va dirigido. Cualquier opinion en el contenida, es exclusiva de > su autor y no representa necesariamente la opinion de AZERTIA. > Si usted no es el destinatario de este mensaje, considerese advertido de > que lo ha recibido por error y que cualquier uso, difusion o copia estan > prohibidos legalmente. Si ha recibido este mensaje por error, le rogamos > que nos lo comunique por la misma via o al telefono 93 207 55 11 y proceda > a destruirlo inmediatamente. > > This email is confidential and intended solely for the use of the > individual > to whom it is addressed. Any views or opinions presented are solely those > of the author and do not necessarily represent those of AZERTIA. > If you are not the intended recipient, be advised that you have received > this email in error and that any use, dissemination, forwarding, printing, > or copying of this email is strictly prohibited. > If you have received this email in error please notify it to AZERTIA > by telephone on number +34 93 207 55 11. > ----------------------------------------------------------------------- > > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
