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 748C518CD0 for ; Fri, 26 Jun 2015 08:07:20 +0000 (UTC) Received: (qmail 46997 invoked by uid 500); 26 Jun 2015 08:07:20 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 46972 invoked by uid 500); 26 Jun 2015 08:07:20 -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 46961 invoked by uid 99); 26 Jun 2015 08:07:19 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2015 08:07:19 +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 7C121C0470 for ; Fri, 26 Jun 2015 08:07:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.501 X-Spam-Level: **** X-Spam-Status: No, score=4.501 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, KAM_NOCONFIDENCE=0.5, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id zN4exEtucgEN for ; Fri, 26 Jun 2015 08:07:10 +0000 (UTC) Received: from www168.your-server.de (www168.your-server.de [213.133.104.168]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1323C2095C for ; Fri, 26 Jun 2015 08:07:10 +0000 (UTC) Received: from [88.198.220.131] (helo=sslproxy02.your-server.de) by www168.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1Z8OfE-0001u8-LE for users@pdfbox.apache.org; Fri, 26 Jun 2015 10:07:08 +0200 Received: from [79.242.112.58] (helo=mbp001.fritz.box) by sslproxy02.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1Z8OfB-0000Ed-5M for users@pdfbox.apache.org; Fri, 26 Jun 2015 10:07:05 +0200 From: Maruan Sahyoun Content-Type: multipart/alternative; boundary="Apple-Mail=_0E3858DF-CDEA-4FC5-8D89-A439C79576D7" Message-Id: <16553F58-FFE8-4022-9B87-859C939C6160@fileaffairs.de> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: issue- visibility of form field values for a merged pdf Date: Fri, 26 Jun 2015 10:07:01 +0200 References: <6C2E65DA-2896-4890-A47E-46C528E13259@fileaffairs.de> <83551C20-F6CE-4821-8404-DB6B57E38520@fileaffairs.de> <3A02652E-39AB-4178-8851-C2EAA54F9CA3@fileaffairs.de> <2D8CD9EF-3F99-46E8-B6E5-7517147AD417@fileaffairs.de> To: users@pdfbox.apache.org In-Reply-To: X-Mailer: Apple Mail (2.2098) X-Authenticated-Sender: sahyoun@fileaffairs.de X-Virus-Scanned: Clear (ClamAV 0.98.5/20612/Thu Jun 25 23:32:25 2015) --Apple-Mail=_0E3858DF-CDEA-4FC5-8D89-A439C79576D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, > Am 26.06.2015 um 09:55 schrieb Atul Kulkarni = : >=20 >=20 > Hi, >=20 > I'm not sure how to identify which one is used. Can you help? > The file is opened inside the browser in Firefox you can enter about:preferences#applications = in the address bar. Scroll down until = you find the entry 'Portable Document Format' which will tell you the = application being used to view the PDF - or in case it's handled by the = builtin viewer will have the entry 'Preview in Firefox'. BR Maruan >=20 > Thanks, > Atul >=20 > -----Original Message----- > From: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de]=20 > Sent: Friday, June 26, 2015 12:01 PM > To: users@pdfbox.apache.org > Subject: Re: issue- visibility of form field values for a merged pdf >=20 >=20 >> Am 26.06.2015 um 08:26 schrieb Atul Kulkarni = : >>=20 >> Hi Maruan, >>=20 >> One more issue that we are having with merged pdf is, when it is sent = to the browser (as a response) the pdf is displayed properly in IE and = chrome but the firefox doesn't display any of the template fields. >=20 > are you viewing via Adobe Reader plugin or with the builtin PDF = viewers? Same for all browsers? >=20 > BR > Maruan >=20 >>=20 >> Do you have any suggestion? >>=20 >> Thanks, >> Atul >> -----Original Message----- >> From: Atul Kulkarni >> Sent: Wednesday, June 24, 2015 2:18 PM >> To: users@pdfbox.apache.org >> Subject: RE: issue- visibility of form field values for a merged pdf >>=20 >> Hi, >>=20 >> Thanks. I think you are right, I'm getting consistent behavior with = template file closed. I think I was keeping template open to compare = the output result. If we run merge command by keeping template file open = it seems to affect visibility of fields randomly in the output.=20 >>=20 >> Thanks, >> Atul >>=20 >> -----Original Message----- >> From: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] >> Sent: Wednesday, June 24, 2015 11:38 AM >> To: users@pdfbox.apache.org >> Subject: Re: issue- visibility of form field values for a merged pdf >>=20 >> Hi, >>=20 >>> Am 24.06.2015 um 03:00 schrieb Atul Kulkarni = : >>>=20 >>> Hi, >>>=20 >>> We are using the custom code but I tested it using the same way you=20= >>> mentioned here as well and results are reproducible to me. We have = to=20 >>> open and close the merged pdf over and again to see the problematic=20= >>> behavior. Could you please try merging and opening the merged pdf >>> (10-15 times) over and again and you should see the field values=20 >>> missing. Sequence of steps that I use- >>>=20 >>> 1. merge >>> 2. Open and check >>> 3. Go to #1 >>>=20 >>=20 >> I did several times merge, open and check, close and the same again = without any issues. >>=20 >> If you don't close the document so you do merge, open and check and = the merge again =E2=80=A6 then fields start to be 'missing'. But that's = not an issue with PDFBox as the document is correctly generated. >>=20 >> BR >> Maruan >>=20 >>=20 >>=20 >>> Thanks, >>> Atul >>>=20 >>> -----Original Message----- >>> From: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] >>> Sent: Tuesday, June 23, 2015 5:49 PM >>> To: users@pdfbox.apache.org >>> Subject: Re: issue- visibility of form field values for a merged pdf >>>=20 >>> I received the files via private mail and did test them using >>>=20 >>> java -jar pdfbox-app-1.8.8.jar PDFMerger "w4vt.pdf" "Accord=20 >>> Filled.pdf" merged-1.8.8.pdf >>>=20 >>> and compared the result with the filled form prior to merging and = all form fields are there and visible using Adobe Reader. >>>=20 >>> How are you merging the documents together? Do you use some custom = code? If yes could you test the command line app as outlined above and = let me know the results? >>>=20 >>> BR >>> Maruan >>>=20 >>>> Am 22.06.2015 um 09:12 schrieb Maruan Sahyoun = : >>>>=20 >>>> if that's not possible you can send them to me via private mail. >>>>=20 >>>> BR >>>> Maruan >>>>=20 >>>>> Am 21.06.2015 um 10:05 schrieb Atul Kulkarni = : >>>>>=20 >>>>>=20 >>>>> Thanks Maruan. >>>>> I'm confirming legality to put the pdfs in public domain and will = get back to you ASAP. >>>>>=20 >>>>> -----Original Message----- >>>>> From: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] >>>>> Sent: Sunday, June 21, 2015 1:19 PM >>>>> To: users@pdfbox.apache.org >>>>> Subject: Re: issue- visibility of form field values for a merged=20= >>>>> pdf >>>>>=20 >>>>> Hi, >>>>>=20 >>>>>> Am 21.06.2015 um 09:23 schrieb Atul Kulkarni = : >>>>>>=20 >>>>>> Hi, >>>>>>=20 >>>>>> We are using Apache PDFBox (Version 1.8.9) for merging pdf=20 >>>>>> documents and other pdf manipulations. We are facing issue while=20= >>>>>> merging pdfs. Simplistically put the issue is as below- >>>>>>=20 >>>>>>=20 >>>>>> 1. Input: PDF1, PDF2. PDF2 is a PDF form with information = filled information. >>>>>=20 >>>>> would it be possible to upload a sample PDF1 and PDF2 to a public = location? >>>>>=20 >>>>> BR >>>>> Maruan >>>>>=20 >>>>>>=20 >>>>>> 2. Expected Output- A single merged PDF file with PDF2 = pages appended to PDF1. >>>>>>=20 >>>>>> 3. The issue: PDFs are merged/appended but form information = is not visible. >>>>>>=20 >>>>>> The visibility of fields is random. I'm using Acrobat Reader XI = to see the merged pdf document. If I open same (merged) document over = and again the number of populated fields I see change. This issue is = reproducible with version 1.8.7 and 1.8.8 as well. If form field values = are read again programmatically, all values are there intact and have = correct value. >>>>>>=20 >>>>>> We are using org.apache.pdfbox.util.PDFMergerUtility to merge the = pdfs. To no surprise, the issue is also reproducible with = org.apache.pdfbox.PDFMerger as well (because, PDFMerger internally uses = PDFMergerUtility). >>>>>>=20 >>>>>> Let us know how to fix this issue or anyone has any suggestions = to get around the issue. >>>>>>=20 >>>>>> Thanks, >>>>>> Atul >>>>>>=20 >>>>>> DISCLAIMER >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>> This e-mail may contain privileged and confidential information = which is the property of Persistent Systems Ltd. It is intended only for = the use of the individual or entity to which it is addressed. If you are = not the intended recipient, you are not authorized to read, retain, = copy, print, distribute or use this message. If you have received this = communication in error, please notify the sender and delete all copies = of this message. Persistent Systems Ltd. does not accept any liability = for virus infected mails. >>>>>>=20 >>>>>=20 >>>>>=20 >>>>> = ------------------------------------------------------------------- >>>>> - >>>>> - To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>>>> For additional commands, e-mail: users-help@pdfbox.apache.org >>>>>=20 >>>>>=20 >>>>> DISCLAIMER >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> This e-mail may contain privileged and confidential information = which is the property of Persistent Systems Ltd. It is intended only for = the use of the individual or entity to which it is addressed. If you are = not the intended recipient, you are not authorized to read, retain, = copy, print, distribute or use this message. If you have received this = communication in error, please notify the sender and delete all copies = of this message. Persistent Systems Ltd. does not accept any liability = for virus infected mails. >>>>>=20 >>>>>=20 >>>>> = ------------------------------------------------------------------- >>>>> - >>>>> - To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>>>> For additional commands, e-mail: users-help@pdfbox.apache.org >>>>>=20 >>>>=20 >>>>=20 >>>> = -------------------------------------------------------------------- >>>> - To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>>> For additional commands, e-mail: users-help@pdfbox.apache.org >>>>=20 >>>=20 >>>=20 >>> DISCLAIMER >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> This e-mail may contain privileged and confidential information = which is the property of Persistent Systems Ltd. It is intended only for = the use of the individual or entity to which it is addressed. If you are = not the intended recipient, you are not authorized to read, retain, = copy, print, distribute or use this message. If you have received this = communication in error, please notify the sender and delete all copies = of this message. Persistent Systems Ltd. does not accept any liability = for virus infected mails. >>>=20 >>>=20 >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >>> For additional commands, e-mail: users-help@pdfbox.apache.org >>>=20 >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >> For additional commands, e-mail: users-help@pdfbox.apache.org >>=20 >>=20 >> DISCLAIMER >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> This e-mail may contain privileged and confidential information which = is the property of Persistent Systems Ltd. It is intended only for the = use of the individual or entity to which it is addressed. If you are not = the intended recipient, you are not authorized to read, retain, copy, = print, distribute or use this message. If you have received this = communication in error, please notify the sender and delete all copies = of this message. Persistent Systems Ltd. does not accept any liability = for virus infected mails. >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org >> For additional commands, e-mail: users-help@pdfbox.apache.org >>=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org > For additional commands, e-mail: users-help@pdfbox.apache.org >=20 >=20 > DISCLAIMER > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > This e-mail may contain privileged and confidential information which = is the property of Persistent Systems Ltd. It is intended only for the = use of the individual or entity to which it is addressed. If you are not = the intended recipient, you are not authorized to read, retain, copy, = print, distribute or use this message. If you have received this = communication in error, please notify the sender and delete all copies = of this message. Persistent Systems Ltd. does not accept any liability = for virus infected mails. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org > For additional commands, e-mail: users-help@pdfbox.apache.org >=20 --Apple-Mail=_0E3858DF-CDEA-4FC5-8D89-A439C79576D7--