openXml docx to html with format and style


I used HtmlConverter class to convert docx to html and it works successfully but without format or style
like color, font size, bold and etc
so can any one help me?
Closed Nov 13, 2015 at 5:40 AM by EricWhiteDpe
Redirected to github


EricWhiteDpe wrote Nov 13, 2015 at 5:40 AM

Get the version from GitHub (https://github.com/OfficeDev/Open-Xml-PowerTools)

Note that the class name of HtmlConverter has been changed to WmlToHtmlConverter, to make it orthogonal with HtmlToWmlConverter. There is a wrapper class named HtmlConverter, which provides the identical programming interface, though.

Run the example, WmlToHtmlConverter01, and look at the formatted HTML that it generates.

Cheers, Eric

wrote Nov 13, 2015 at 5:40 AM

MennaRamadan wrote Nov 15, 2015 at 9:06 AM

Dear EricWhiteDpe
really thank you for your response
I used openXml tool Version 3.1.02 so I can convert word document to html with style and images, and it works successfully
Thank you