Marc Knaup created PDFBOX-5053:
----------------------------------

             Summary: Add option to not add ID to trailer
                 Key: PDFBOX-5053
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5053
             Project: PDFBox
          Issue Type: Improvement
          Components: Writing
    Affects Versions: 2.0.21
            Reporter: Marc Knaup


We're using PDFBox to modify metadata of an existing PDF file. The input PDF 
file has no ID in its trailer which is fine because it's optional.

When reading the input PDF file with PDFBox and then writing it again it adds 
an ID to the trailer. This is not desired because

a) the input file does not have an ID and the input should only be minimally 
modified.
b) it changes the meaning from not having an identity to having an identity and 
being the first version of the document.

An option to prevent PDFBox from creating an artificial misleading ID would be 
very helpful.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to