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

Not able to read the custom metadata in trailer section

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3, 3.0.0 PDFBox
    • 2.0.4, 3.0.0 PDFBox
    • Parsing
    • None
    • Windows 7, PDF version 1.5

    Description

      When using below code does not able to retrieve custom metadata stored in trailer section of pdf

      PDDocumentInformation documentInformation = document.getDocumentInformation();
      Set<String> customMetadataKeys = documentInformation.getMetadataKeys();

      Pdfbox 1.8.12 does not have this issues

      Attachments

        1. PDFBOX-3506.pdf
          82 kB
          Tilman Hausherr
        2. test.pdf
          82 kB
          Kent Lee

        Activity

          People

            tilman Tilman Hausherr
            klee Kent Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: