The answer is: use a PdfPTable. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Telmo Cardoso > Sent: Thursday, March 10, 2005 10:40 AM > To: [email protected] > Subject: [iText-questions] fitsPage(Table) with Nested tables > > Hi > > I already see this question in the archives, but I don't see any > answer, so I will post the original question again: > > "(...) I noticed that when I have nested tables (ie adding a > Table object into > another Table object via the insertTable method), > I will get a java.lang.ClassCastException when I call the > PdfWriter.fitsPage(Table) method on that nested table. > (...) is there another way I can go about checking if a nested table > will fit into a page or not....?" > > Thanks in advance > > /** > * This is a signature > * @author: Telmo Cardoso > * @version 1.0 > * @return e-mail > */ > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions >
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
