Sorry, a lot more than a picture is needed.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Finn Bock [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 15:02
> To: itext-questions
> Subject: [iText-questions] Adding signature fields.
>
> Hi,
>
> I had a need to add signature fields to an interactive PDF document and
> in the maillist archives I saw that iText can't do that. So I tried
> implementing support for adding signature fields to a PDF document and
> it didn't seem all that difficult to do. So I might just possibly be
> missing something important <wink>.
>
> Below is an example of adding a signature field and attached are the
> resulting pdf file and diff against PdfAcroForm.java from the CVS.
>
> Comments and suggestions would be very wellcome.
>
> regards,
> finn
>
>
> import java.io.*;
> import com.lowagie.text.*;
> import com.lowagie.text.pdf.*;
>
> public class tst02 {
> public static void main(String[] args) throws Exception {
> Document doc = new Document();
> PdfWriter writer = PdfWriter.getInstance(doc,
> new FileOutputStream("tst02.pdf"));
>
> PdfAcroForm acroForm = writer.getAcroForm();
> doc.open();
> doc.add(new Paragraph("Hello World"));
> acroForm.addSignature("mysig", 73, 705, 149, 759);
> doc.close();
> }
> } << File: tst02.pdf >> << File: pdfacroform.patch >>
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions