hello, ... while trying to prevent the PdfPTable default splitting behaviour when crossing pages (relative positioning) I encountered some problems:
1) is there a method to compute the "point" we've reached on the current page (the lenght of the current content)??? (by now I'm calculating it by the mean of summing the height of each element I add to the page, but it's a quite "unsecure" way: for example, I do not know how to get the lenght of the page-header ...) 2) is there a method to know the current page number??? The method getPageNumber () of the class Document doesn't seem to work! This is necessaire in case my previous computation to prevent table-spiltting goes wrong: the iText-pkg will split the table (so a new-page will be created), but if I call getPageNumber() after adding the splitted table to the document the value hasn't changed. Do I have to flush output or something else? thanks in advance (mainly to the authors of this pkg) gabriele rosa - italy ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
