The iText RTF project on sourceForge has been updated to support Windows Vista (it's newer than my earlier source 'quote'), but not yet Windows 7. You should be able to download the source and make the fix yourself easily enough.
While the RTF project on SF was created to move the RTF discussions off the main iText mailing list, there's no corresponding mailing list for the RTF project... which makes it look like it isn't being actively maintained. No files, no mailing list, no bugs (reported or fixed), no response to the only question on the forum. No bueno. The good news is that it's still under com.lowagie.* and licensed with the MPL. The bad news is that nothing's been done to maintain it in the last couple months (code wise, hard to tell with the rest). Paulo, Bruno? Care to throw the RTF'ers a bone here? --Mark Storer Senior Software Engineer Cardiff.com #include <disclaimer> typedef std::Disclaimer<Cardiff> DisCard; > -----Original Message----- > From: SergeTk [mailto:[email protected]] > Sent: Monday, February 01, 2010 10:13 PM > To: [email protected] > Subject: Re: [iText-questions] importRtfDocument(Unknown Source) > > > > I have same issue on my widows 7 64 bit os with 64bit java ..... > > But no issues with my xp 32 bit........ is itext compatable > with windows 7 > 64bit and 64bit java?? > > raghav_m wrote: > > > > Hi , > > > > I need to append text to an RTF document and am trying to > use the iText > > API for the same. But I am having problems with RTFWriter2 - > > importRTFDocument method. The constructor for an instance > of RTFWriter2 > > creates one correclty, but call to thhe importRTFDocument > method throws an > > error. Here is the StackTrace :- > > > > Stacktrace follows: > > java.lang.NullPointerException > > at > > > com.lowagie.text.rtf.parser.destinations.RtfDestinationFontTab > le.importSystemFonts(Unknown > > Source) > > at > > > com.lowagie.text.rtf.parser.destinations.RtfDestinationFontTab > le.init(Unknown > > Source) > > at > > > com.lowagie.text.rtf.parser.destinations.RtfDestinationFontTab > le.setParser(Unknown > > Source) > > at > > > com.lowagie.text.rtf.parser.destinations.RtfDestinationMgr.add > Destination(Unknown > > Source) > > at > > > com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordHandler.<init > >(Unknown > > Source) > > at > com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordMap.<init>(Unknown > > Source) > > at > com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordMgr.<init>(Unknown > > Source) > > at com.lowagie.text.rtf.parser.RtfParser.init(Unknown Source) > > at > com.lowagie.text.rtf.parser.RtfParser.importRtfDocument(Unknown > > Source) > > at > com.lowagie.text.rtf.RtfWriter2.importRtfDocument(Unknown Source) > > at > com.lowagie.text.rtf.RtfWriter2.importRtfDocument(Unknown Source) > > at CbayThreadApplet$ESignThread.run(CbayThreadApplet.java:1484) > > > > The line 1484 points to : writer.importRtfDocument(); where > writer is an > > instance of RTFWriter2. I am passing a valid > FileInputStream to the method > > and cannot seem to figure out why this error occurs... > > > > Any suggestions please. > > > > Thanks in advance. > > > > > > > > > > > > > > > > > > -- > View this message in context: > http://old.nabble.com/importRtfDocument%28Unknown-Source%29-tp 21286482p27415932.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
