[ https://issues.apache.org/jira/browse/PDFBOX-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251827#comment-15251827 ]
Alexander Kriegisch commented on PDFBOX-3323: --------------------------------------------- It is really inconvenient that there is no high level API for XMP. I see sample code on your web page for reading metadata from a document or for setting them in an existing document, but before the merge I do not have any document, only input streams to be consumed by the merger. I also cannot seem to create a {{'COSStream}} based on a raw stream, byte array or string, so it is next to impossible to provide the right data for the setter method call. > Cannot set destination meta data in PDFMergerUtility > ---------------------------------------------------- > > Key: PDFBOX-3323 > URL: https://issues.apache.org/jira/browse/PDFBOX-3323 > Project: PDFBox > Issue Type: Improvement > Affects Versions: 1.8.9, 2.0.0 > Reporter: Alexander Kriegisch > Labels: merge, metadata > > When merging multiple PDFs into one compound document via > {{PDFMergerUtility}}, meta data like title, author, subject cannot be set but > seem to be taken from one of the input documents. This is usually not the > desired behaviour because as a user I have no direct influence on the meta > data. As a user I would like to explicitly set or at least overwrite certain > meta data for the destination document. Currently I can only set the > destination stream or file name, but not the meta data. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org