You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The React DOCX libraries ensure compatibility with Microsoft Word during validation, whereas the HTML/JS browser-based libraries generate files that are not fully valid or compatible with Microsoft Word.
#2853
Open
lingaraoakul opened this issue
Nov 23, 2024
· 2 comments
When preparing and downloading a DOCX file using two different libraries, we observe the following differences:
React DOCX Libraries: When using the React DOCX library to generate the DOCX file, the document is successfully created and validated in Microsoft Word without any issues, working as expected.
HTML/JS Browser Libraries: While we are able to generate and download the DOCX file using HTML/JS libraries in the browser, the file encounters validation issues when opened in Microsoft Word, resulting in an exception.
In summary, the React DOCX libraries ensure compatibility with Microsoft Word during validation, whereas the HTML/JS browser-based libraries generate files that are not fully valid or compatible with Microsoft Word.
Thank you!
The text was updated successfully, but these errors were encountered:
Without concrete examples it would be impossible to make any meaningful action on what you are reporting, other than closing an issue after some time. So more concrete steps and code examples for reproduction are welcomed. :)
I am using a DOCX file to generate documents, which I then upload into another system that validates the document and convert into HTML using Microsoft Word. However, I am encountering an issue where the document is marked as corrupt, even when I try using a basic example file provided by the docx team (available at this CodePen link is https://codepen.io/dolanmiu/pen/RwNeObg).
When preparing and downloading a DOCX file using two different libraries, we observe the following differences:
React DOCX Libraries: When using the React DOCX library to generate the DOCX file, the document is successfully created and validated in Microsoft Word without any issues, working as expected.
HTML/JS Browser Libraries: While we are able to generate and download the DOCX file using HTML/JS libraries in the browser, the file encounters validation issues when opened in Microsoft Word, resulting in an exception.
In summary, the React DOCX libraries ensure compatibility with Microsoft Word during validation, whereas the HTML/JS browser-based libraries generate files that are not fully valid or compatible with Microsoft Word.
Thank you!
The text was updated successfully, but these errors were encountered: