DocX
DocX copied to clipboard
can it convert html to word
is there a way to convert html to word?
You probably need to create a converter, i.e parse the HTML document and create titles, paragraphs, etc. as you browse the DOM tree.
You might want to check HTMLAgilityPack for HTML parsing, it's relatively easy to use.
@DatCSharpDev Thanks.But Can u give a default converter included in DocX
zhhbo it's not implemented and hardly a plan to get there so far
@PrzemyslawKlys Okay,I try it
@zhhbo Hey, I forked a DocX and implemented InsertHtml method. You can use it from my repo.
@zhhbo Hey, I forked a DocX and implemented InsertHtml method. You can use it from my repo.
I will try it. thanks
Hi, This will be possible in v1.7. Thank you.
@zhhbo Hey, I forked a DocX and implemented InsertHtml method. You can use it from my repo.
can you add a InsertRtf method in docx? thanks
Hi, In v1.7, Document will have an InsertContent() method taking html or rtf as parameter. Thank you.
When will v1.7 with InsertHtml be available?
It's a question of days ;-) It won't be long, we are in the process of releasing it. Thank you for your patience.
Is it available?
For now it's included in the v1.7 of the Plus Edition, available here https://xceed.com/en/our-products/product/words-for-net. You can try it for free for 15 days. You can insert HTML and RTF texts. It could eventually be released in the community edition (DocX). Thank you.