Hello, I have created a pdf and saved it temporaily to memory into a bytearrayoutputstream. Now ....
I would to like to output this stream into a rtf file.... Maybe you ask yourself now, "why the hell doesn't he directly output into a document having a rtfwriter instance"... well.. I have created this pdf using stamper and columntextobject with direct content and so one.. its simply easier to save it to a bytearray to display it on my JSP, which works pretty well =) ... And now the user should have the possibility to choose between pdf or rtf... so the generated Bytearrayoutputstream should be redirected to a rtf file... All objects are converted to be used with rtf ( i do not use pdfptables and so on...)... Would be lovely if anyone has a general suggestion to get on with this issue... (something like reading the BAOS again and use the reader to write to rtf... but i don't know how =( ...) regards Stephan Trautmann ______________________________________________________ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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 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/