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

K Array order in structure tree reversed when merging

    XMLWordPrintableJSON

Details

    Description

      The mergeKEntries method in class PDFMergerUtility creates a new K Array and adds the items from the source and destination documents to the new array.  However, it adds the source items first, then the destination items.  This causes the new array to have the items from page 2 first followed by the items from page 1 which confuses the accessibility reader reading order.  Please reverse the logic so the destination items are added first maintaining the original order.

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tschusssl Dan Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: