PdfPTable does colspan and nested tables have the same effect as rowspan. 2 header rows is not a problem and you can set the height of a cell to a fixed value limiting in practice the number of lines. For automatic width there are no silver bullets. You'll have to read all your data, measure it and then create the table.
Best Regards, Paulo Soares > -----Original Message----- > From: Karthikeyan Ramnath [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 9:08 > To: [EMAIL PROTECTED] > Subject: [iText-questions] tables in PDF > > Hi all, > We presently have an application that displays a lot of data > as Tables in Java. So we wanted to add a functionality to save > it in PDF format, and hence I tripped on iText. > The problem that I am facing is as follows. > 1. Certain tables, not all, have 2 header rows. > 2. How do I restrict the data within a cell to single line only. > > Having multiple header rows is easy to handle with the Table > class, which also supports colum spanning, but then the > PDFPTable does not support col/row spanning. > Also while working with a Table object, I am unable to restrict > the data to a single line. ie. the numbers that are displayed > in certain cells are so long that they are wrapped into > multiple lines. How to I arrest this? > Isn't there anyway I can ask the cell/table to resize to fit > the data thats contained within it? > Kindly revert asap. > Thanks in advance. > Karthikeyan.R > > ________________________________________________ > Get your own "800" number > Voicemail, fax, email, and a lot more > http://www.ureach.com/reg/tag > > > ------------------------------------------------------- > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > Linux or FreeBSD, FREE setup, FAST network. Get your own server > today at http://www.ServePath.com/indexfm.htm > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
