Segev, Eli wrote:
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.
I don't understand the question.
The XmpWriter writes to the ByteArrayOutputStream.
You get the bytes
-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 PdfW
Please keep on the mailing list.
Please consult the Javadocs.
Segev, Eli wrote:
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#setXmpMetadata(byte[])
http://itextdocs.lowagie.com/doc
Segev, Eli wrote:
Is there a standard way of writing the xpacket headers using iText?
What I mean by header is the lines that I included above.
http://partners.adobe.com/public/developer/en/xmp/sdk/xmpspecification.p
df
[Eli Segev] Does this mean 'No'?
The link is the document I us
From: Bruno Lowagie [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 2:58 AM
To: Segev, Eli
Cc: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Writing an XMP Xpacket
Segev, Eli wrote:
> How can I retrieve the id from this xpacket?
>
By parsing the XML?
>
Segev, Eli wrote:
How can I retrieve the id from this xpacket?
By parsing the XML?
Is there a standard way of writing the xpacket headers using iText?
What I mean by header is the lines that I included above.
http://partners.adobe.com/public/developer/en/xmp/sdk/xmpspecification.pdf
BTW,
Title: Writing an XMP Xpacket
This is how an xpacket in a PDF file looks like:
641 0 obj<>stream
…
How can I retrieve the id from this xpacket?
Is there a standard way of writing the xpacket headers using iText? What I mean by header is the lines that I included above.
BT