DOCX to HTML with INLINE STYLES - ANY LANGUAGE

hello, I am trying to figure out whether this product is suitable for my needs.

I need to convert many word documents into HTML with inline styles ONLY.

Is this possible?

@MaggieChin yes, you can do it in the following way.

Document doc = new Document("input.docx");
HtmlSaveOptions options = new HtmlSaveOptions();
options.CssStyleSheetType = CssStyleSheetType.Inline;
doc.Save("output.htm", options);

For more details please see HtmlSaveOptions.

Thanks. I have signed up for a trial and it is working exporting to html with inline styles. I am having trouble having images export at base64 directly within the html. Is this possible?

@MaggieChin yes, you can do it in the following way.

Document doc = new Document("input.docx");
HtmlSaveOptions options = new HtmlSaveOptions();
options.setExportImagesAsBase64(true);
doc.Save("output.htm", options);