8

I have never done huge amounts of RTF processing, I always used a library to read or generate one and that was a long time ago. Now I need to get more intimate with the format again, and eventually convert it to XML.

Can you recommend a good path to do it so that I have a lot of control on how RTF chunks are parsed and processed?

Initially, I am thinking Perl plus a few good libraries would be a good choice, but all opinions are welcome.

brian d foy
  • 129,424
  • 31
  • 207
  • 592
user27767
  • 81
  • 1

2 Answers2

4

RTF Manual? Seriously though, a quick google turns up all sorts of tools and libraries. Why reinvent the wheel?

Ken
  • 77,016
  • 30
  • 84
  • 101
  • Why reinvent the wheel? Because it is fun? Now, that's good for a pet project, not for real world ones with expected results and timelines, indeed... :-P – PhiLho Oct 14 '08 at 12:04
  • 1
    Because existing wheels suck? Not saying that necessarily applies here, but in the past i've ended up panning RTF tools for exactly the reason he describes: lack of control over how they're handled. – Shog9 Oct 14 '08 at 14:37
  • then why ask questions here if your response is "rtfm"? can,t the same response be put on EVERY question on SO? – Keng Oct 14 '08 at 18:48
  • 2
    Aw come on... how often do you get to point someone at a real manual about RTF - how could I resist? – Ken Oct 15 '08 at 06:42
0

ScroogeXHTML, a library for RTF to HTML / XHTML conversion, is available for the Java(tm) platform and Delphi. A demo version and online documentation of the API are available on this page:

http://www.mikejustin.com/

or

http://www.betabeans.de/

mjn
  • 36,362
  • 28
  • 176
  • 378