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

Merged file has several structure trees

    XMLWordPrintableJSON

Details

    Description

      Something goes wrong with all the cloning. The result file has a StructTreeRoot at objects 8, 697 and 730. And there is also the "COSStream has been closed and cannot be read" exception (PDFBOX-3999) if one closes the source before saving.

      If the close is removed the current tests pass, so the tests are not yet complete.

      Merging 001031.pdf (file from FDA) with itself also brings an orphan check error.
      Merging 054080.pdf (file also at https://pubs.usgs.gov/wdr/wdr-sc-04/wy04/pdfs/02148000.2004.sw.pdf ) with itself also shows two StructTreeRoot dictionaries (and no other failing test, despite the commits related to 001031.pdf ).

      Attachments

        1. PDFBOX-4417-merged-bad.pdf
          236 kB
          Tilman Hausherr
        2. 054080.pdf
          48 kB
          Tilman Hausherr
        3. 001031.pdf
          52 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: