Vincent CAURIER wrote:
> Is it possible to add XMP metadatas to a page ?

The PDF Reference says it's possible; but AFAIK it's not
supported in iText yet.

> What I want to do is add 
> XMP informations to pages when I create the PDF on the server side, so 
> that I can read theses metadatas on the client side (php) to print pages 
> on different printers according to their content.

If I were to add this functionality, I'd probably add
an extra method to PdfWriter that would allow you to
define an XMP stream for a page. Then PdfWriter would
pass this stream to PdfDocument and add the same stream
to each page. It would be up to you to re-set the XMP
stream if you want different XMP streams for each page
(for instance after every newPage()).

Would that solve your problem? I'm not saying that
I'll add the functionality, that will depend on the
time I have and if my initial idea as described above
works out fine. I haven't done any research on this yet.

br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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/

Reply via email to