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

ParentTree can't be merged if it has several levels

    XMLWordPrintableJSON

Details

    Description

      Related to fixing PDFBOX-4003 - a number tree can have several levels. Currently the merge code expects a NUMS array, but it can also have KIDS. So the code must be changed so that it uses the new convenience class to handle a number tree in full. See also code comment

      //TODO this code only works with flat number trees.
      // It should be a PDNumberTreeNode, but that class is broken because
      // COSBase can't be instanciated and because the tree elements can
      // be an array or a dictionary
      // example of file with /Kids: 000153.pdf 000208.pdf 000314.pdf 000359.pdf 000671.pdf
      // from digitalcorpora site
      

      Attachments

        1. 000314.pdf
          718 kB
          Tilman Hausherr
        2. 000671.pdf
          848 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: