Thanks for the help Mark. I tried new source, but I am unable to find a way around encoding issue faced when using StringReader in writer2.importRtfDocument(reader); because image data are written as bytes and when converted to characters those data gets messed up and I get exception. Is this the correct way of importing RTF documents ?
Thanks Anil -----Original Message----- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 February 2008 3:24 PM To: Post all your questions about iText here Cc: Anil Kumar Subject: Re: [iText-questions] RTF Merge Hi, wait for the next release where the RTF import functionality has been massively improved (or compile yourself from the SVN source). The current release only supports very simple documents. Mark On 20 Feb 2008, at 03:32, Anil Kumar wrote: > Hi, > > I am trying to merge multiple RTF file in to one, file contains > mixture of > text and images. I tried using RtfDirectContent but colors and font > gets > mixed up and if I tried using importDocument then faced with > encoding issues > for RTF with images when using readers. Please help what is the > correct way > to merge RTF files. > > Thanks, > Anil > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
