SharpDocx icon indicating copy to clipboard operation
SharpDocx copied to clipboard

HTML text

Open mtugnoli opened this issue 3 years ago • 3 comments

Is it possible insert formatted html text ?

mtugnoli avatar Feb 19 '22 12:02 mtugnoli

Seconded! I am also trying to do this and unable to.

dlsellers avatar Mar 18 '22 18:03 dlsellers

SharpDocx doesn't support importing HTML yet, but it should be fairly easy to add this functionality. See for example http://www.ericwhite.com/blog/2011/03/27/importing-html-that-contains-numbering-using-altchunk/

egonl avatar Oct 03 '23 10:10 egonl

SharpDocx doesn't support importing HTML yet, but it should be fairly easy to add this functionality. See for example http://www.ericwhite.com/blog/2011/03/27/importing-html-that-contains-numbering-using-altchunk/

If not hard can u show a snippet with example pls? What u think about integrate ur project with https://github.com/onizet/html2openxml ?

Rofliex avatar May 12 '24 17:05 Rofliex