This project has moved. For the latest updates, please go here.

RTF support in DocX

Sep 2, 2009 at 10:16 AM

Hi

I have built an application that can export text into a word file using DocX. What I wonder is if I can take HTML or RTF formatted text and insert this into a word document?

The problem is that I create the text using a WYSIWYG html editor in the browser and in some way I want to be able to get this formatted text into a word document. Does anyone have any idea of how to do this?

Sep 3, 2009 at 12:28 PM

Hi, I'd consider these great libraries for reading RTF and (even malformed) HTML:

http://www.codeproject.com/KB/recipes/RtfConverter.aspx

http://www.codeplex.com/htmlagilitypack