Mega Code Archive

 
Categories / Delphi / Examples
 

Rtf

>The correct URL for the SCROOGE component is >http://www55.pair.com/betasoft/ >and I got through just now This component looks like it might be the best of the bunch. It missed a couple of small things, like not converting an en-dash properly and generating multiple redundant <FONT> tags, but for the most part it did a good job, very close to what Word did. With the optimization flag turned on, it generated a 5K file where Word generated 7K, important if you're on a slow phone line. It also did a better job on vertical spacing; it didn't insert all the extra blank lines that Word did. check out www.wptools.com -- It is primarily for word processing, but the rtf engine handles HTML conversions quite well.. you could also automate Word if you felt like your user would have a copy of Word You can use BUPack, at http://www.bupack.com and under BU Convert page for converting RTF to HTML have a look at the SCROOGE component at http://www55.pair.com/betasoft/ and RTF2HTML (Delphi component, freeware with source) at http://home8.inet.tele.dk/tserikse/delphi/engelsk.htm For storing rich text non visually... LMDTools have a TLMDRichStorage component in their RichPack that might be useful