java - how to add custom properties metadata to the pdf using apache fop -


i using apache fop create pdf files , need add specific metadata pdf. in adobe reader called "custom properties" , contains name , value. can add simple metadata this:

out = new bytearrayoutputstream(); fop = fopfactory.newfop(mimeconstants.mime_pdf, fouseragent, out); fouseragent.setkeywords("some keywords"); 

but need add customised metadata name , value. idea how it?

maybe you're lucky xmp support in fop 1.1? try keys find in xmp specification.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -