Hi, what exactly does PdfPTable.deleteLastRow() do ? Does it really completely remove the last row?
I am having trouble with the following logic: PdfPTable table = new PdfPTable(1); do { //add a row } while (writer.fitsPage(table)); table.deleteLastRow(); document.add(table); Now what happens is that the table is not being placed onto the current page, but on the following one, although according to the logic it fits on the current page. How comes that? Does fitsPage() somehow trigger a newPage() when is returns false, or what else is causing the newPage() ? Regards Marc ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions