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

Lost links when merging with PDFMergerUtility (PDFMergerUtility does not merge Dests)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0-incubator
    • 1.0.0
    • Utilities
    • None

    Description

      When I merge to PDFs into one using PDFMerger the Destinations of the second PDF given are being lost.

      I looked into PDFMergerUtility class and found that mergeInto called on Names' COSDictionary doesn't work as intended.

      I tried to solve this problem, see the attached patch. Now I get both Destinations in the result PDF.

      Please review & correct my lines before importing.

      Attachments

        1. PDFMergerUtility-Dests.patch
          5 kB
          Wulf Berschin

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wulf Wulf Berschin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: