2007/8/27, Bruno Lowagie (iText) <[EMAIL PROTECTED]>:

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


It would be the perfect solution I think, but I have to solve this problem
quickly, so I think I'll add some XMP metadatas to the document. There are
only a few different types of pages in the pdf documents, so I'll add
metadatas to know the correspondance between the page's type and the printer
to use, and I guess it'll work out ! I didn't found any examples of
PDFWriter implementation with XMP Metadatas, my Google must be less
efficient than yours ;)

Thanks,

Vincent Caurier




-- 
Vincent CAURIER
-------------------------------------------------------------------------
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