You can't add page x or y until you close the document...think about
it...you don't know how many pages are in the document till it's closed
If you really just want a page x of y I would recommend something like
this:
//produce PDF
doc.close();
PdfReader reader = new PdfReader(//read your origina
Hi,
I have an issue with displaying the page number in the PDF. My requirement
is to display page number like
"Page 1 of 20" and so on...
I have used the inner class explained in chapter05, but removed the code
that i dont want.
My inner class looks like this,
class HeaderFooter extends PdfPageEve
Because something you are doing in the signing is creating an invalid PDF.
From: "Marco Barbi (SATA)" mailto:m.ba...@satanet.it>>
Reply-To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Date: Mon, 19 Dec 2011 23:37:50 -0800
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Marco,
Marco Barbi (SATA) wrote
> I tried with a very simple PDF (see attachment), with just an AcroForm
> signature field and no XFA based data, but the problem persists.
> I wrote the signer code and I agree that the verifier isn't the problem,
> but I still cannot understand why iText gives a r
Hasan,
subasi wrote
> i don't know how to wrap it by using PdfPKCS7 class. I should see some
> example. On the other hand should i need to add certificate or/and hash to
> the pdf document also?
On the iText http://itextpdf.sourceforge.net/howtosign.html How to sign a
PDF using iText and iTextSh