I use this code to convert the html into openXML:
var html is the table as string
var filename is the filename as string
WordDocument doc = new WordDocument(filename);
doc.Process(new HtmlParser(html));
doc.Save();
And following structure gives me problems in the convertion. The html is converted into a .docx file but when opening an "unknown error" appears. This makes it hard for me to debug.
I read the following table from file.
I use this code to convert the html into openXML: var html is the table as string var filename is the filename as string
And following structure gives me problems in the convertion. The html is converted into a .docx file but when opening an "unknown error" appears. This makes it hard for me to debug. I read the following table from file.
I also tried removing the
tag but it doesn't change anything.@kannan-ar Could you point me to my error?
Edit I just saw that I get a divide_by_zeroE Error when opening the .docx file...
I couldn't replicate the issue. Can you please post the word file generated?