-
-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrupted document after using Patcher with version 8.4.0 #2650
Comments
I have a same issue. Any update? |
Same thing here :( |
This problem makes me waste a lot of time, because I was wondering the problem was my fault. |
EDIT - I seemed to have resolved my issue by changing the PatchType to I was experiencing the same issue. Originally, I had been using this library to "patch" my master file, then convert the buffer data into a PDF using Libreoffice (command line), this worked fine for me, no issues. My client asked to just receive the docx file so they could make minor updates to the generated file - but for some reason, MS Word would throw the " What I found, using an OOXML validation tool, was that my generated file was inserting the dynamic table as a child of a paragraph Here is an image of the Here is an image of the To open the patched document in MS Word again, I simply had to remove the parent |
I am trying to generate a document from a template using
docx
. After I run my code, if I open the resulting document using Google Docs it works just fine. But neither MS Office nor Apple Pages manage to open the file. And unfortunately, I need the files to open in Ms Office.Here is the code I am using to generate the files, which I assume is correct since Google Docs can open the document:
I also attached a document produced by my code.
15.docx
The text was updated successfully, but these errors were encountered: