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?
There may be better alternatives in the future, but the RTF control won't get deprecated.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With