[
https://issues.apache.org/jira/browse/PDFBOX-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253530#comment-15253530
]
Alexander Kriegisch edited comment on PDFBOX-3323 at 4/22/16 8:27 AM:
----------------------------------------------------------------------
I tried the Preflight tool.
* First it said it could not parse the metadata. Via
https://www.pdflib.com/knowledge-base/xmp-metadata/free-xmp-validator/ I found
out that somehow a tag like {{<dc:description><rdf:Alt><rdf:li
xml:lang="x-default">Umlaut ö</rdf:li>}} is written to the PDF file in ISO
instead of UTF-8 encoding, which looks like a problem in PDFBox (my input data
are in UTF-8).
* Then, after removing the German umlaut, still Preflight is not satisfied,
saying: _"7.2 : Error on MetaData, CreatorTool present in the document catalog
dictionary can't be found in XMP information (Property is not defined)"_ It
looks as though PDFBox writes a document info item I have never set and which
has not (un)setter method in class {{PDDocumentInformation}}.
was (Author: kriegaex):
I tried the Preflight tool.
* First it said it could not parse the metadata. Via
https://www.pdflib.com/knowledge-base/xmp-metadata/free-xmp-validator/ I found
out that somehow a tag like {{<dc:description><rdf:Alt><rdf:li
xml:lang="x-default">Umlaut ö</rdf:li>}} is written to the PDF file is ISO
instead of UTF-8 encoding, which looks like a problem in PDFBox (my input data
are in UTF-8).
* Then, after removing the German umlaut, still Preflight is not satisfied,
saying: _"7.2 : Error on MetaData, CreatorTool present in the document catalog
dictionary can't be found in XMP information (Property is not defined)"_ It
looks as though PDFBox writes a document info item I have never set and which
has not (un)setter method in class {{PDDocumentInformation}}.
> 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: [email protected]
For additional commands, e-mail: [email protected]