cadev wrote: > For anyone who is interested, here was my eventual solution. I invite > anyone to critique my method and come up with a similar solution that is not > so round-about.
Maybe I misinterpreted the original question, but didn't you need a "Page X of Y" solution? I don't see where you add the Y-value. Also I don't think it's necessary to do as much math as you currently have. You did a good exercise showing that you know what is involved, but I think you can reduce the number of code lines based on what you've learned (unless I'm overlooking something: unless your header is much more complex than I suspect). -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
