Using this method to add a signature, how would you go about setting the
signature field to READ ONLY so that Adobe Reader v9.1 doesn't show the
"Lock document after signing" checkbox?
1T3XT info wrote:
>
> This is completely wrong:
>> PdfAcroForm acroForm = stamp.getWriter().getA
Thanks. That works. Ming
1T3XT info wrote:
>
> This is completely wrong:
>> PdfAcroForm acroForm = stamp.getWriter().getAcroForm();
>> PdfFormField sigField = acroForm.addSignature("test", 300,
>> 100,
>> 400, 200);
>
> It causes:
>> java.lang.RuntimeException: Unsupport
This is completely wrong:
> PdfAcroForm acroForm = stamp.getWriter().getAcroForm();
> PdfFormField sigField = acroForm.addSignature("test", 300, 100,
> 400, 200);
It causes:
> java.lang.RuntimeException: Unsupported in this context. Use
> PdfStamper.addAnnotation()
>
I am trying to add a signature field and then add some javascript associate
this field to an existing pdf document. The code is something like this:
PdfStamper stamp = new PdfStamper(reader, new
FileOutputStream("registered.pdf"));
ByteArrayOutputStream baos =
Details are in the PDF Reference/ISO 32000.
Leonard
-Original Message-
From: mingxun [mailto:ming.hu...@eds.com]
Sent: Tuesday, February 24, 2009 3:19 PM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] JavaScript action after a signature field is
signed
Is
Is there event for signature field is signed? Or is there PDFName for
signature is signed? so that I can associate javascript with that event?
Thanks for your help
Ming Xun Huang
1T3XT info wrote:
>
> Huang, Ming wrote:
>> I want to use iText to add some dynamic JavaScript which will be
Huang, Ming wrote:
> I want to use iText to add some dynamic JavaScript which will be
> executed after a signature is signed. I can add the static JavaScript
> using Acrobat Profession. Can iText API do that?
iText can add JavaScript; see for instance:
http://1t3xt.info/examples/browse/?
I want to use iText to add some dynamic JavaScript which will be
executed after a signature is signed. I can add the static JavaScript
using Acrobat Profession. Can iText API do that?
Thanks
Ming Xun Huang
--
Ope