Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert Rtf to HTML [closed]

Tags:

html

c#

rtf

We have a crystal report that we need to send out as an e-mail, but the HTML generated from the crystal report is pretty much just plain ugly and causes issues with some e-mail clients. I wanted to export it as rich text and convert that to HTML if it's possible.

Any suggestions?

like image 999
Aaron Smith Avatar asked Jan 13 '09 15:01

Aaron Smith


People also ask

Is RTF deprecated?

There may be better alternatives in the future, but the RTF control won't get deprecated.

What is RTF HTML?

RTF (Rich Text Format) and HTML (Hypertext Markup Language) are two similar formats because of their use of tags in order to format the documents properly. Despite being similar to each other, there are a number of distinct differences between the two formats. The primary difference between RTF and HTML is their use.

Can everyone open RTF file?

To start with, if you have any word processing apps installed—Microsoft Word, LibreOffice, OpenOffice, AbiWord, and so on—you can open an RTF file with it. Most file syncing services—like Dropbox, OneDrive, and Google Drive—have built-in viewers that let you at least read an RTF file, even if you can't edit it there.


1 Answers

I would check out this tool on CodeProject RTFConverter. This guy gives a great breakdown of how the program works along with details of the conversion.

Writing Your Own RTF Converter

like image 57
Richard R Avatar answered Oct 08 '22 19:10

Richard R