Tuesday, September 04, 2007

NRTFTree - C# RTF DOM/SAX Like Parser

SourceForge - NRTFTree Library

"NRtfTree library is a set of classes written entirely in C# which may be used to manage (read and write) RTF documents in your own applications. A java port of the library can be found in http://nrtftree.sourceforge.net/ ..."

NRTFTree Library

"NRTFTree is an open source (GPL) [GD: As of the 0.3.0 release it's now LGPL] library written entirely in C# which may be used to manage RTF documents in your own applications.

NRTFTree will help you:

  • Open and parse RTF files.
  • Analyze the content of RTF files.
  • Add, modify and remove document elements (text, control words, control symbols...).

..."

NRTFTree provides both a DOM like and SAX like mode...

I use RTF quite a bit, mostly consuming and storing it. But in some cases I have to tweak the RTF and well that can be... um... fun... If/when I have play in RTF land again something like this library could come in handy.

Now being LGPL it's something I can use and contribute too (I'd likely need to create a COM Callable Wrapper for it and that would be cool to contribute... but that's for another day...).

(via dzone - NRtfTree Library 0.3.0 b1 released.)

1 comment:

Tips4IT said...

Is there a library for C# that supports RTF and Paging?