Is it possible to add additional metadata to a pdf?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to add additional metadata to a pdf?

czajw
Hi, 

Is it possible to add additional metadata to a pdf file when generating pdf in Orbeon FOrms e.g. DOCUMENT_ID etc.  

Vlad


--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/b074c8a2-6d1d-4a7d-ac93-6400a0bb6402n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add additional metadata to a pdf?

Alessandro  Vernet
Administrator
Hi Vlad,

It isn't supported out-of-the-box, but would certainly be possible. For the
automatic PDF generation, Orbeon Forms uses Flying Saucer. I'm not sure if
it supports adding key/values to the Document Information Dictionary (see
1st link below). If not, we could use iText to add this information to the
PDF once produced by Flying Saucer (see 2nd link below, in particular the
example at the end of the answer).

https://en.wikipedia.org/wiki/PDF#Metadata
https://stackoverflow.com/a/25699078/5295

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1604988483358-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet