Hi,
The issue I have on html to docx and docx to html is as follows -
I have a word docx file from which i will generate a htm, and regenerated the doc file using the htm file which generates the new styles in word.
Following is the code used -
var doc1 = new Document(@".\test.docx");
var option = new HtmlSaveOptions();
option.CssStyleSheetType = CssStyleSheetType.External;
doc1.Save(@".\out.htm", option);
var doc2 = new Document(@".\out.htm");
doc2.Save(@".\convertedBack.docx");
Please refer to the attachment for test files used to generate the problem.
simple example.zip (17.7 KB)
Please look into this problem.
Regards,
Shanmukh.