I’m using iText to generate a PDF document in my JEE application. Coding for the PDF file is reside in a JSP.
I want to achieve the following page formatting in my each page footer,
REF: XXXXXXX Page X of Y
How can I get Page X of Y
I’m using iText to generate a PDF document in my JEE application. Coding for the PDF file is reside in a JSP.
I want to achieve the following page formatting in my each page footer,
REF: XXXXXXX Page X of Y
How can I get Page X of Y
There is a sample here: http://faq.javaranch.com/java/ItextExample
In a nutshell, you create a Header/Footer class with an onPageEnd event to add a header or footer.