I have created a PDF with onSection event which pushes the headers to
the next page when the contents are almost at the end of the page.
if(document.getPageSize().getHeight() - paragraphPosition >575)
document.newPage();
My issue with this is, the bookmarks are still pointing to the
previous page i.e. to the white space on the previous page.
How can I change the bookmarks page numbering in the onSection() event.
Thanks,
Swapna.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
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/