On Saturday 15 September 2007, Xuyun Fu wrote: > Using iText's RtfWriter2's |importRtfDocument() > <../../../../com/lowagie/text/rtf/RtfWriter2.html#importRtfDocument%28java. >io.Reader%29>|, we can "adds the complete RTF document to the current RTF > document being generated" (From Api). I want to know if there is a method > that we could add the complete RTF document as the current RTF document's > table's cell content, not only append the current RTF document. > Thanks for your attention. You can use the com.lowagie.text.rtf.direct.RtfDirectContent class to add arbitrary RTF code at any place in the document. You will have to strip any RTF header information and similar yourself, as otherwise you will probably end up with an invalid document.
Greetings, Mark -- You are going to have a new love affair. My GPG public key is available at: http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc -- Q: What do little WASPs want to be when they grow up? A: The very best person they can possibly be. My GPG public key is available at: http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgpcXwfYMvNlO.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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/
