-
-
Notifications
You must be signed in to change notification settings - Fork 478
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
Wrong DOCX format when using Google Docs #1794
Comments
Can you send me some reproduction steps? The code you used to build the docx file? |
Thank you yes please, create some reproduction steps |
Yes, so TLDR; the issue (in my case at least) is because of defining the
So it was just that -- not sure it is the same issue as the OP had, I've certainly did not see a black page & the gmail previews would work just fine. I think you can close this as IMO is not a bug. Maybe just a docs update to include details on how to change the Normal text paragraph in the library. |
Is this because it is illegal to base a style on itself? Does removing that |
Apparently for Google Docs, yes is illegal, causes their app to crash. And yes, if you remove that line it fixes the issue. Furthermore, if you base a style on itself, generate the doc, and then, if you open in Microsoft Word & save the file, it will remove that basedOn from the file (works afterwards when you upload to the Google Docs black box) |
My generated Docx file seems corrupted when I try to view it on Google Docs or when I share it by email with someone else. I upload the generated Docx file to Google Docs, and when I try to read it, I see a black page. Someone tries to read it by email and can't open it, they see a black page too.
The text was updated successfully, but these errors were encountered: