NPOI icon indicating copy to clipboard operation
NPOI copied to clipboard

can not open a docx file

Open weskerjiang opened this issue 6 years ago • 1 comments

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 avatar Jul 04 '18 12:07 weskerjiang

@weskerjiang Hello, is issue resolved? if so, could you give me some ideas on it?

Yangchunyu01 avatar Jul 26 '18 16:07 Yangchunyu01