Reputation: 1
I am using apache FOP to create PDF files and need to add specific metadata to the PDF. In adobe reader it is called "custom properties" and it contains name and value. I can add simple metadata like this:
out = new ByteArrayOutputStream();
fop = fopFactory.newFop(MimeConstants.MIME_PDF, foUserAgent, out);
foUserAgent.setKeywords("some keywords");
But I need to add customised metadata with name and value. Any idea how to do it?
Upvotes: 0
Views: 1702
Reputation: 110
Maybe you're lucky with the XMP support in FOP 1.1? Try with some keys that you find in the XMP specification.
Upvotes: 1