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
usingNPOI.XWPF.UserModel;stringtemplate=@"template_comment.docx";usingFileStreamfileStream=File.OpenRead(template);XWPFDocumentdocument=new(fileStream);// Create new documentstringgenerateFile=@"output.docx";usingFileStreamoutputStream=File.Create(generateFile);document.Write(outputStream);
Issue Description
When running this code, simply open and save a new file, if the word file has comments, the new word file gets corrupted
The text was updated successfully, but these errors were encountered:
NPOI Version
2.7.2
File Type
Upload the Excel File
template_comment.docx
Reproduce Steps
Issue Description
When running this code, simply open and save a new file, if the word file has comments, the new word file gets corrupted
The text was updated successfully, but these errors were encountered: