hi, pls, is it possible easy read RTF document and save text to TXT file? I dont know, where I make mistake, but there is exception: "java.lang.NullPointerException" in method "convertRtfDocument"
{ // Create Document object Document RTFDoc = new Document(); RTFDoc.open(); FileInputStream fstream = new FileInputStream(rtfPath); RtfParser parserRTF = new RtfParser(RtfDoc); parserRTF.convertRtfDocument(fstream, RTFDoc); } or is there easy way how to convert Rtf to Txt? Thank You Radek -- View this message in context: http://www.nabble.com/Easy-reading-RTF-document-and-saving-to-TXT-tp20027792p20027792.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php