Hi Atul,

> Am 07.07.2015 um 19:00 schrieb Atul Kulkarni <[email protected]>:
> 
>> So you are filling the form using PDFBox?
> Yes.
> 
>> I'll do another test - but it will be later today - to see if it's the 
>> template or the form filling.
> I hope you have copy of pdf files shared earlier but in case not, let me know 
> and I'll  share the pdf file(s).

if you could send me the empty form template that would be very kind as I only 
have the filled out one.

BR
Maruan

> 
> Thanks,
> Atul
> 
> -----Original Message-----
> From: Maruan Sahyoun [mailto:[email protected]] 
> Sent: Tuesday, July 07, 2015 11:37 AM
> To: [email protected]
> Subject: Re: issue- visibility of form field values for a merged pdf
> 
> Hi Atul,
> 
>> Am 07.07.2015 um 02:11 schrieb Atul Kulkarni <[email protected]>:
>> 
>> Hi Mauran,
>> 
>> In case of "Preview in Firefox" the original template is displayed with 
>> field label names, only the values which are populated (programmatically) in 
>> the template are not visible. 
>> 
>> I have one question based on your earlier response-
>> Maruan: So the best option would be to have the PDF generated in a way that 
>> it's displayed correctly in 'Preview in Firefox' as well as other readers.
>> 
>> Atul: Is it possible to identify and tell the form designer what is 
>> missing/wrong in this pdf template? Is there possibility that something is 
>> missing or that needs to be specially taken care of while filling the PDF 
>> form using pdfbox library?
> 
> So you are filling the form using PDFBox? I'll do another test - but it will 
> be later today - to see if it's the template or the form filling.
> 
> BR
> Maruan
> 
>> 
>> As you suggested I'll take it  to PDF.js project if it is not the issue with 
>> either template or the way we are filling the pdf.
>> 
>> Thanks Again,
>> 
>> Atul
>> 
>> -----Original Message-----
>> From: Maruan Sahyoun [mailto:[email protected]]
>> Sent: Monday, July 06, 2015 1:06 PM
>> To: [email protected]
>> Subject: Re: issue- visibility of form field values for a merged pdf
>> 
>> Hi Atul,
>> 
>> how was the form filled out? Reason I'm asking is that the original file is 
>> also not s´displayed with an visible field values when opened 'Preview in 
>> Firefox'. After opening and regenerating the PDF in Acrobat the display is 
>> fine. So there is something wrong/missing in the original PDF which makes 
>> the difference.
>> 
>> So the best option would be to have the PDF generated in a way that it's 
>> displayed correctly in 'Preview in Firefox' as well as other readers.
>> 
>> Maybe opening an issue with the PDF.js (which is used by Firefox) project 
>> could be an option [https://mozilla.github.io/pdf.js/].
>> 
>> BR
>> Maruan
>> 
>> 
>>> Am 06.07.2015 um 08:03 schrieb Atul Kulkarni <[email protected]>:
>>> 
>>> Hi Maruan,
>>> 
>>> Thanks for your support and sorry for late reply. 
>>> 
>>> By default it is displaying "Preview in Firefox".
>>> 
>>> I just tried other available options and found that  if we  either use "Use 
>>> Adobe Reader (default) " or "Use Adobe Acrobat (in Firefox)"  option,  pdf 
>>> is displayed correctly without any data loss.
>>> 
>>> As by default "Preview in Firefox" option is selected,  I feel we still 
>>> have issue in the sense that customers have to be explicitly told about 
>>> this configuration. Let us know if there is a better way to fix it.
>>> 
>>> Thanks,
>>> Atul
>>> 
>>> -----Original Message-----
>>> From: Maruan Sahyoun [mailto:[email protected]]
>>> Sent: Friday, June 26, 2015 1:37 PM
>>> To: [email protected]
>>> Subject: Re: issue- visibility of form field values for a merged pdf
>>> 
>>> Hi,
>>> 
>>>> Am 26.06.2015 um 09:55 schrieb Atul Kulkarni 
>>>> <[email protected]>:
>>>> 
>>>> 
>>>> Hi,
>>>> 
>>>> 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 
>>> <about:preferences%23applications> 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
>>> 
>>>> 
>>>> Thanks,
>>>> Atul
>>>> 
>>>> -----Original Message-----
>>>> From: Maruan Sahyoun [mailto:[email protected]]
>>>> Sent: Friday, June 26, 2015 12:01 PM
>>>> To: [email protected]
>>>> Subject: Re: issue- visibility of form field values for a merged pdf
>>>> 
>>>> 
>>>>> Am 26.06.2015 um 08:26 schrieb Atul Kulkarni 
>>>>> <[email protected]>:
>>>>> 
>>>>> Hi Maruan,
>>>>> 
>>>>> 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.
>>>> 
>>>> are you viewing via Adobe Reader plugin or with the builtin PDF viewers? 
>>>> Same for all browsers?
>>>> 
>>>> BR
>>>> Maruan
>>>> 
>>>>> 
>>>>> Do you have any suggestion?
>>>>> 
>>>>> Thanks,
>>>>> Atul
>>>>> -----Original Message-----
>>>>> From: Atul Kulkarni
>>>>> Sent: Wednesday, June 24, 2015 2:18 PM
>>>>> To: [email protected]
>>>>> Subject: RE: issue- visibility of form field values for a merged 
>>>>> pdf
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> 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. 
>>>>> 
>>>>> Thanks,
>>>>> Atul
>>>>> 
>>>>> -----Original Message-----
>>>>> From: Maruan Sahyoun [mailto:[email protected]]
>>>>> Sent: Wednesday, June 24, 2015 11:38 AM
>>>>> To: [email protected]
>>>>> Subject: Re: issue- visibility of form field values for a merged 
>>>>> pdf
>>>>> 
>>>>> Hi,
>>>>> 
>>>>>> Am 24.06.2015 um 03:00 schrieb Atul Kulkarni 
>>>>>> <[email protected]>:
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> We are using the custom code but I tested it using the same way 
>>>>>> you mentioned here as well and results are reproducible to me. We 
>>>>>> have to open and close the merged pdf over and again to see the 
>>>>>> problematic behavior. Could you please try merging and opening the 
>>>>>> merged pdf
>>>>>> (10-15 times) over and again and you should see the field values 
>>>>>> missing. Sequence of steps that I use-
>>>>>> 
>>>>>> 1. merge
>>>>>> 2. Open and check
>>>>>> 3. Go to #1
>>>>>> 
>>>>> 
>>>>> I did several times merge, open and check, close and the same again 
>>>>> without any issues.
>>>>> 
>>>>> If you don't close the document so you do merge, open and check and the 
>>>>> merge again … then fields start to be 'missing'. But that's not an issue 
>>>>> with PDFBox as the document is correctly generated.
>>>>> 
>>>>> BR
>>>>> Maruan
>>>>> 
>>>>> 
>>>>> 
>>>>>> Thanks,
>>>>>> Atul
>>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: Maruan Sahyoun [mailto:[email protected]]
>>>>>> Sent: Tuesday, June 23, 2015 5:49 PM
>>>>>> To: [email protected]
>>>>>> Subject: Re: issue- visibility of form field values for a merged 
>>>>>> pdf
>>>>>> 
>>>>>> I received the files via private mail and did test them using
>>>>>> 
>>>>>> java -jar pdfbox-app-1.8.8.jar PDFMerger "w4vt.pdf" "Accord 
>>>>>> Filled.pdf" merged-1.8.8.pdf
>>>>>> 
>>>>>> and compared the result with the filled form prior to merging and all 
>>>>>> form fields are there and visible using Adobe Reader.
>>>>>> 
>>>>>> 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?
>>>>>> 
>>>>>> BR
>>>>>> Maruan
>>>>>> 
>>>>>>> Am 22.06.2015 um 09:12 schrieb Maruan Sahyoun <[email protected]>:
>>>>>>> 
>>>>>>> if that's not possible you can send them to me via private mail.
>>>>>>> 
>>>>>>> BR
>>>>>>> Maruan
>>>>>>> 
>>>>>>>> Am 21.06.2015 um 10:05 schrieb Atul Kulkarni 
>>>>>>>> <[email protected]>:
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thanks Maruan.
>>>>>>>> I'm confirming legality to put the pdfs in public domain and will get 
>>>>>>>> back to you ASAP.
>>>>>>>> 
>>>>>>>> -----Original Message-----
>>>>>>>> From: Maruan Sahyoun [mailto:[email protected]]
>>>>>>>> Sent: Sunday, June 21, 2015 1:19 PM
>>>>>>>> To: [email protected]
>>>>>>>> Subject: Re: issue- visibility of form field values for a merged 
>>>>>>>> pdf
>>>>>>>> 
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>>> Am 21.06.2015 um 09:23 schrieb Atul Kulkarni 
>>>>>>>>> <[email protected]>:
>>>>>>>>> 
>>>>>>>>> Hi,
>>>>>>>>> 
>>>>>>>>> We are using Apache PDFBox (Version 1.8.9) for merging pdf 
>>>>>>>>> documents and other pdf manipulations. We are facing issue 
>>>>>>>>> while merging pdfs. Simplistically put the issue is as below-
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 1.       Input: PDF1, PDF2. PDF2 is a PDF form with information 
>>>>>>>>> filled information.
>>>>>>>> 
>>>>>>>> would it be possible to upload a sample PDF1 and PDF2 to a public 
>>>>>>>> location?
>>>>>>>> 
>>>>>>>> BR
>>>>>>>> Maruan
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 2.       Expected Output- A single merged PDF file with PDF2 pages 
>>>>>>>>> appended to PDF1.
>>>>>>>>> 
>>>>>>>>> 3.       The issue: PDFs are merged/appended but form information is 
>>>>>>>>> not visible.
>>>>>>>>> 
>>>>>>>>> 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.
>>>>>>>>> 
>>>>>>>>> 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).
>>>>>>>>> 
>>>>>>>>> Let us know how to fix this issue or anyone has any suggestions to 
>>>>>>>>> get around the issue.
>>>>>>>>> 
>>>>>>>>> Thanks,
>>>>>>>>> Atul
>>>>>>>>> 
>>>>>>>>> DISCLAIMER
>>>>>>>>> ==========
>>>>>>>>> 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.
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> ----------------------------------------------------------------
>>>>>>>> -
>>>>>>>> -
>>>>>>>> -
>>>>>>>> -
>>>>>>>> - To unsubscribe, e-mail: [email protected]
>>>>>>>> For additional commands, e-mail: [email protected]
>>>>>>>> 
>>>>>>>> 
>>>>>>>> DISCLAIMER
>>>>>>>> ==========
>>>>>>>> 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.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> ----------------------------------------------------------------
>>>>>>>> -
>>>>>>>> -
>>>>>>>> -
>>>>>>>> -
>>>>>>>> - To unsubscribe, e-mail: [email protected]
>>>>>>>> For additional commands, e-mail: [email protected]
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> -----------------------------------------------------------------
>>>>>>> -
>>>>>>> -
>>>>>>> -
>>>>>>> - To unsubscribe, e-mail: [email protected]
>>>>>>> For additional commands, e-mail: [email protected]
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> DISCLAIMER
>>>>>> ==========
>>>>>> 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.
>>>>>> 
>>>>>> 
>>>>>> ------------------------------------------------------------------
>>>>>> -
>>>>>> -
>>>>>> - To unsubscribe, e-mail: [email protected]
>>>>>> For additional commands, e-mail: [email protected]
>>>>>> 
>>>>> 
>>>>> 
>>>>> -------------------------------------------------------------------
>>>>> -
>>>>> - To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>>> 
>>>>> 
>>>>> DISCLAIMER
>>>>> ==========
>>>>> 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.
>>>>> 
>>>>> 
>>>>> -------------------------------------------------------------------
>>>>> -
>>>>> - To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>>> 
>>>> 
>>>> 
>>>> --------------------------------------------------------------------
>>>> - To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>> 
>>>> 
>>>> DISCLAIMER
>>>> ==========
>>>> 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.
>>>> 
>>>> 
>>>> --------------------------------------------------------------------
>>>> - To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>> 
>>> 
>>> 
>>> DISCLAIMER
>>> ==========
>>> 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.
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 
>> DISCLAIMER
>> ==========
>> 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.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> DISCLAIMER
> ==========
> 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.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to