Michael Klink wrote: > Is there an explicite easy way for adding blank signature fields using the > PdfStamper > I simply missed? Or could it be considered to add such a functionality to > iText in the near future?
I looked at your method and I added it to PdfStamper (see SVN repository). I slightly changed it; see http://itext.svn.sourceforge.net/viewvc/itext/trunk/src/core/com/lowagie/text/pdf/PdfStamper.java Does this look all right to you? If so, the change will be in the next release (scheduled for November 11). Further info: "New method addSignature, based on a suggestion by Michael Klink" Modified Paths: -------------- trunk/src/core/com/lowagie/text/pdf/PdfStamper.java + public PdfFormField addSignature(String name, int page, float llx, float lly, float urx, float ury) { + PdfAcroForm acroForm = stamper.getAcroForm(); + PdfFormField signature = PdfFormField.createSignature(stamper); + acroForm.setSignatureParams(signature, name, llx, lly, urx, ury); + acroForm.drawSignatureAppearences(signature, llx, lly, urx, ury); + addAnnotation(signature, page); + return signature; + } -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php