Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5053

Add option to not add ID to trailer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.21
    • None
    • Writing
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fluidsonic Marc Knaup
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: