-----Original Message----- From: bruno [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 2:29 AM To: Segev, Eli; 'itext-questions@lists.sourceforge.net' Subject: Re: [iText-questions] Writing an XMP Xpacket
>Bruno, > >How can you add an XmpWriter instance to a PdfWriter? It is not a >PdfObject. > > >http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfWriter.html#s etXmpMetadata(byte[]) >http://itextdocs.lowagie.com/docs/com/lowagie/text/xml/xmp/XmpWriter.ht ml >You can create the XmpWriter with a ByteArrayOutputStream and >use the bytes that are written to that stream with method setXmpMetadata. Yes, I can create an XmpWriter instance with a ByteArrayOutputStream. But, how do I add it to a PdfWriter instance? I can add the bytes to PdfWriter, but not XmpWriter. >>How can you add RDF triples (or a graph) to XmpWriter? How do you add >>RDF triples to XmpSchema? > > >I wrote this functionality half a year ago and it has been >a very busy half year. Believe me: It would take me as >much time to look up how it works as it would take you >to do it yourself. If I figure it out, would you add it the Javadoc? :-) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions