Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56AF219080 for ; Wed, 13 Apr 2016 13:22:58 +0000 (UTC) Received: (qmail 5214 invoked by uid 500); 13 Apr 2016 13:22:58 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 5189 invoked by uid 500); 13 Apr 2016 13:22:58 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 5167 invoked by uid 99); 13 Apr 2016 13:22:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 13:22:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 068A2C0D53 for ; Wed, 13 Apr 2016 13:22:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.1 X-Spam-Level: * X-Spam-Status: No, score=1.1 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 1-bCJyCLYWgA for ; Wed, 13 Apr 2016 13:22:54 +0000 (UTC) Received: from www168.your-server.de (www168.your-server.de [213.133.104.168]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id F32715FB2D for ; Wed, 13 Apr 2016 13:22:54 +0000 (UTC) Received: from [88.198.220.130] (helo=sslproxy01.your-server.de) by www168.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1aqKko-00051D-SR for users@pdfbox.apache.org; Wed, 13 Apr 2016 15:22:47 +0200 Received: from [80.187.110.57] (helo=[172.20.10.2]) by sslproxy01.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84_2) (envelope-from ) id 1aqKko-0001MF-He for users@pdfbox.apache.org; Wed, 13 Apr 2016 15:22:46 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Fill an existing visible signature field with visual signature From: Maruan Sahyoun In-Reply-To: Date: Wed, 13 Apr 2016 15:22:44 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0E3988CB-CA6C-4910-B7E5-013CD5E8A358@fileaffairs.de> References: <570BD7C9.5060100@t-online.de> <5F01193B-5E1D-4B6A-8A4F-5BC544B23D15@fileaffairs.de> <570D25D3.8050603@t-online.de> To: users@pdfbox.apache.org X-Mailer: Apple Mail (2.3124) X-Authenticated-Sender: sahyoun@fileaffairs.de X-Virus-Scanned: Clear (ClamAV 0.99/21491/Wed Apr 13 04:34:34 2016) Hi, > Am 13.04.2016 um 14:45 schrieb BREMAUD, CYRIL = : >=20 >> These don't go through, you have to upload them somewhere. >=20 > Ok, I remember this PDF file was already upload on a different issue : = https://issues.apache.org/jira/secure/attachment/12663611/documentSignable= .pdf_signaturePAdESVisualSignatureDemo.pdf >=20 >> Yes indeed. But I read the comments again, these are quite = depressing. I doubt that this will be fixed soon. >=20 > I succeed to fill an existing signature field with PDFBox 1.8.x so = there should be a way with 2.0.0. I'm still working on it. if you are looking for specific setters/getters/methods please let me = know. I might be able to point you to the 2.0 alternative. BR Maruan=20 >=20 > Cyril. >=20 > -----Original Message----- > From: Tilman Hausherr [mailto:THausherr@t-online.de]=20 > Sent: Tuesday, April 12, 2016 6:44 PM > To: users@pdfbox.apache.org > Subject: Re: Fill an existing visible signature field with visual = signature >=20 > Am 12.04.2016 um 13:17 schrieb BREMAUD, CYRIL: >> @Tilman >> You may think about that discussion :=20 >> = http://stackoverflow.com/questions/31571055/how-can-i-get-pdvisiblesig >> properties-to-write-the-signature-on-the-3-page-into-t/ >=20 > Yes indeed. But I read the comments again, these are quite depressing. = I doubt that this will be fixed soon. >=20 >>=20 >> Please find attach a sample PDF document with empty visible = signatures fields. >=20 > These don't go through, you have to upload them somewhere. >=20 > Tilman >=20 >=20 >> @Maruan >> I succeed to set a new PDRectangle for my visible signature by = writing a function based on PDFTemplateCreator.buildPDF(). But I'm still = working on filling an empty already existing visible signature field. >>=20 >> Thank you. >>=20 >> Cyril. >>=20 >> -----Original Message----- >> From: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] >> Sent: Monday, April 11, 2016 7:12 PM >> To: users@pdfbox.apache.org >> Subject: Re: Fill an existing visible signature field with visual=20 >> signature >>=20 >> Hi, >>=20 >>> Am 11.04.2016 um 19:05 schrieb Maruan Sahyoun = : >>>=20 >>> Hi, >>>=20 >>>> Am 11.04.2016 um 18:58 schrieb Tilman Hausherr = : >>>>=20 >>>> Am 11.04.2016 um 13:17 schrieb BREMAUD, CYRIL: >>>>> Hello, >>>>> I am trying to sign a PDF document with an existing visible = signature field. I wonder if this is possible to achieve that with = PDFBox 2.0.0. >>>>> I also want to define the size of the visible signature generate = with PDFBox. >> the size of the signature can be set using the fields rectangle. As = written before you would be on your own to generate a matching = appearance stream. >>=20 >> BR >> Maruan >>=20 >>>>> Thank you. >>>>> Cyril Bremaud. >>>>>=20 >>>>>=20 >>>> I suspect it isn't possible. I remember that this was discussed in = stackoverflow, but I can't find the link. Can you share a file? >>> correct - there is currently no regeneration of the appearance = stream based on the updated information. >>>=20 >>> Maruan >>>=20 >>>> Tilman >>>>=20 >>>> = -------------------------------------------------------------------- >>>> - To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>>> For additional commands, e-mail: users-help@pdfbox.apache.org >>>>=20 >>>=20 >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>> For additional commands, e-mail: users-help@pdfbox.apache.org >>>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >> For additional commands, e-mail: users-help@pdfbox.apache.org >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >> For additional commands, e-mail: users-help@pdfbox.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org > For additional commands, e-mail: users-help@pdfbox.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org