Does Aspose Word preserve table styles when exporting to html?
this is my scenario:
Users will write documents applying a set of predefined styles to every paragraph (and table) of the document.
The user will submit the .doc file to the application, and the application will save it in an html format so it can later be available for a browser.
Later, the web server will replace the exported element of html with a different set of styles suitable for browser visualization.
Actually, it seems that table styles are ignored, i.e.not exported at all in the document
Here the code I use for conversion(input file is a Word file)
Document doc = new Document(inputFile);
HtmlSaveOptions saveOptions = new HtmlSaveOptions(SaveFormat.Html);
saveOptions.ExportXhtmlTransitional = true;
saveOptions.PrettyFormat = true;
saveOptions.ExportPageSetup = false;
saveOptions.ExportRelativeFontSize = true;
saveOptions.AllowNegativeLeftIndent = true;
saveOptions.ExportHeadersFooters = false;
saveOptions.CssStyleSheetType = CssStyleSheetType.Embedded;
MemoryStream output = new System.IO.MemoryStream();
doc.Save(output, saveOptions);
output.Seek(0, SeekOrigin.Begin);
return output;
Is there a way to have tables marked with a style attribute when exported to html?
Thanks for your help
Gian Paolo