Firstly I would like to say so far this product has been excellent (even the free version). There is one issue I am having currently that I'm not sure if you are aware of or if I'm doing something wrong.
I've created an application that builds a Table object and inserts it into a Word document and from there converts the word doc to HTML. In the initial creation of the Word doc in docx form everything looks good. One extra row in the table but I'm sure that's something I'm doing and spacing isn't that big of a concern. The issue comes when I load the word document created and convert it to an HTML output.
- Code: Select all
Document doc = getWordDoc(InputFile);
doc.HtmlExportOptions.CssStyleSheetType = CssStyleSheetType.Internal;
doc.SaveToFile("testFile.html", FileFormat.Html);
The file saves but for some reason the contents of the table are saved outside the <table> tags entirely and placed into <p> tags instead.
Any help would be appreciated.
Regards,
Daniel