NPOI
NPOI copied to clipboard
can not open a docx file
I have a docx file ,i want to open it and modify it.But when i use the code below to open it ,it throws an expection,i can't open any docx file(include empty docx file),what is wrong the exception is [The ':' character, hexadecimal value 0x3A, cannot be included in a name.]
XWPFDocument word = null; using (FileStream fs = new FileStream(wordFile, FileMode.Open, FileAccess.ReadWrite)) { word = new XWPFDocument(fs); //exception }
@weskerjiang Hello, is issue resolved? if so, could you give me some ideas on it?