You want to use something called iText. I have used it in the past to create .rtf files and it's a pretty good - well quite good - API.
You can get at the archive for the rtf product here; http://prdownloads.sourceforge.net/itext/iText-rtf-2.1.4.jar There is also a .pdf product available so be careful to download the correct one. --- On Wed, 12/17/08, Rainer Klute <[email protected]> wrote: From: Rainer Klute <[email protected]> Subject: Re: how to read the custom properties of a file in rich text format(*.rtf) To: "POI Users List" <[email protected]> Date: Wednesday, December 17, 2008, 5:56 AM raghav_m schrieb: > I am new to POI and am particularly interested in the HPSF & HWPF api. > I need to be able to read/write the custom properties of a document stored > in Rich Text format. ... RTF is something completely different. POI does not process RTF files and will (probably) never do so. Mit freundlichen Grüßen Rainer Klute Rainer Klute E-Mail: [email protected] Körner Grund 24 Telefon: (0231) 511693 D-44143 Dortmund Mobil: (0172) 2324824 http://www.erf.de/ http://dortmund.feg.de/ OpenPGP-Fingerprint: E4E4386515EE0BED5C162FBB5343461584B5A42E
