On Monday 02 October 2006 07:20, Alin Popa wrote: > In iText is possible to attach one file (to insert one file) into a > paragraph ? > I want to attach one excel file (or other format) exactly like word > documents. > If this is possible, can someone tell me how please ? You can insert arbitrary code into the rtf document using the RtfDirectContent object. You would have to add the necessary RTF code for initialising the OLE object and then add the complete file in the appropriate place. iText provides no help in this area and you will have to read the RTF specification to get this to work.
Greetings, Mark -- Your talents will be recognized and suitably rewarded. My GPG public key is available at: http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgpwAigh9CGDb.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
