Use a PdfPTable. Best Regards, Paulo Soares
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Murph > Sent: Thursday, June 10, 2004 8:21 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Nested Tables And setCellsFitPage > > Hi All, > > I have a report that I need to generate a PDF for that looks > something like this > > Label: Value 1 Another Label: Value 1 > Yet Another Label: Value 1 Last Label: Value 1 > > Label: Value 2 Another Label: Value 2 > Yet Another Label: Value 2 Last Label: Value 2 > > ... and so on. Each of those lines is a record that I display > in my report. I tried to implement this with a 1 column > table. Each cell in this table is a 2 row, 2 column table. My > problem is when a record is printed on the page boundary, the > first line of the record will be on one page, but the second > line of the record will be on the other page. I see that the > Table has a setCellsFitPage method. I have set this to true > on both the main table, and all the sub tables that I add. > > My question is when you have nested tables, is the > cellsFitPage property ignored? Would I be better off creating > a single 2 column table, and controlling line breaks manually? > > Thanks! > > Mike > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
