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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.13, 2.0.8
    • Fix Version/s: 1.8.14, 2.0.9, 3.0.0 PDFBox
    • Component/s: Utilities
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: