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

Root/StructTreeRoot/K/S must be name, not string (merge)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.13, 2.0.8
    • 1.8.14, 2.0.9, 3.0.0 PDFBox
    • Utilities
    • None

    Description

      This code in PDFMergerUtility looks suspicious:

      kDictLevel0.setItem(COSName.S, new COSString(STRUCTURETYPE_DOCUMENT));
      

      It sets a top level type in the K hierarchy... it should be a name, not a string, see "Entries in a structure element dictionary".

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: