Pravin Ghadge

Pravin Ghadge

  • 563
  • 2.1k
  • 586.8k

Export From HTML with formatting in word document

Jan 22 2018 5:46 AM
Hi All,
 
I am trying to export textbox string in word document with HTML formatting.
 
For Eg: (https://html-cleaner.com/)
<b> Hi </b>
 
After exporting the string it should give bold text in Word document.
 
But it is not working.
I have done lot of searching on google but not found solution.
 
Some links saying it is possible with Open XML Sdk. But i have not found any proper soluion
https://stackoverflow.com/questions/27147510/convert-html-to-word-format
https://stackoverflow.com/questions/18256812/convert-word-to-html-then-render-html-on-webpage
 
Plz advice.
 
i have attached my project (remove the package folder from project as file size is exceeding from 5 MB)

Attachment: ExportImport.zip

Answers (3)