PdfPCell.setFixedHeight() ----- Original Message ----- From: "Eric B." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 03, 2004 16:12 Subject: [iText-questions] How to force a table to fill an entire page?
> Hi, > > I'm struggling with the following problem. I am using iText to generate a > page that has 3 tables on it - a top (header) table, a bottom (footer) table > and a body table. (Header and footer tables are not actual headers and > footers - they just sit at the top and bottom of the page). Now my problem > is that I have to ensure that the top table is always at the topmost part of > the page, and that the footer table is always at the bottom most part of the > page. Finally, the middle table must be able to expand to fill all the > remaining space on the page between the top and bottom tables. > > Unfortunately, none of these tables are fixed sizes, so they fluctuate based > on content. > > How can I "auto-expand" the middle table to pick up any additional slack on > the page and make sure that it fills all the empty space between the top and > bottom tables? How can I make sure that the bottom table is always at the > lowest possible part of the page? > > I am using PdfPTables. I originally thought I could use PdfPTable.getSize() > and calculate any extra space necessary in the middle table, however, the > PdfPTable.getSize() only seems to return a size once it has already been > added to the document. > > Any help or insight would be greatly appreciated! > > Thanks, > > Eric > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
