[ 
https://issues.apache.org/jira/browse/PDFBOX-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251770#comment-15251770
 ] 

Alexander Kriegisch commented on PDFBOX-3323:
---------------------------------------------

Acrobat Reader. Ah okay, that's possible. I am just playing around with the XMP 
stuff, but am having a hard time to find out how to create a {{PDMetadata}} 
object which satisfies your call. I managed to extract one XMP stream from an 
existing PDF/A-1b document, but now I have a resource file/stream or a String 
in which I can do a quick & dirty search and replace, but I have not figured 
out yet how to convert the raw XML text into the {{PDMetadata}} object required 
by your new method {{setDestinationMetadata}}.

> 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

Reply via email to