Error when opening the pdf file with Adobe Acrobat Reader
Hello, I'm encountering a problem with the filled pdf file. it can't be opened with Adobe acrobat reader, and it shows me this error : There was an error opening this document. This file is damaged and could not be repaired. Can you help me with that ? Many thanks.
Can you upload the input and output file somewhere and link them to me? If they are private, an email to [email protected] should be sufficient. You can also use a similar file or random data; as long as this file also shows the problem.
In addition, what version of Adobe Acrobat Reader are you using? On BSD, Linux, Mac, or Windows?
Hey thanks for your quick answer. I've sent you an email with the input and output pdf example. I'm using the last version of Adobe Acrobat Reader 2019.008.20080 on windows.
I forgot to mention that the output file can be opened properly with chrome.
First of all, I've fixed minipdf to actually read this file. The file uses a sparse index format for the stream of objects. I've added support for that. However, upon opening, Adobe Reader emits a warning (not an error anymore - the document is rendered) and renders the AcroForms values instead of the XFA. So there needs to be some change to the XFA generation and/or stream writing to make that work.
Hey, thanks for your answer. You sent me an output file that doesn't contain any warnings or errors, can you send me the input file with the changes you made to it? because i'm trying to re-use this file as an input but i got warnings on the resulted file. Many thanks.
I am having this issue as well. I tried using both libraries and I get the same result. The output file opens correctly in chrome but when it is downloaded and opened in Acrobat or Reader, only the first field is displayed and is repeated in each additional field. Also, a Cannot Save Form Information dialog displays in both Reader and Acrobat.
Did anyone solve this issue?