-
Notifications
You must be signed in to change notification settings - Fork 14
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
.docx get corrupted after writing file #26
Comments
It is a possible problem if there are some complicated elements in your docx file because it's impossible for me to test every situation. You can delete a few elements in that file and run this code again to find out where the problem really coming from. Then you can fix it or put more detail to this issue to certain it. |
Ok, that makes sense. After what you said, I tried a simplier docx and had no issue, so definitely is something in my original docx, which is fairly complicated... it has tables, differente footers, headers, images and what not. I'll inform if I found the conflicting element. Ty for your answer! |
I'm not sure of what's happening here. I have a perfectly functioning .docx as input file. But after parse it (didn't mody a thing) and write it as new file.. the output file gets corrupted)
and somwhere in my main.go
when I try to open copy.docx in Word, I cannot because of corrupted file.
The text was updated successfully, but these errors were encountered: