You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/03/29 17:29:00 UTC

[jira] [Updated] (PDFBOX-4500) K Array order in structure tree reversed when merging

     [ https://issues.apache.org/jira/browse/PDFBOX-4500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-4500:
------------------------------------
    Summary: K Array order in structure tree reversed when merging  (was: K Array order reversed)

> K Array order in structure tree reversed when merging
> -----------------------------------------------------
>
>                 Key: PDFBOX-4500
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4500
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.14
>            Reporter: Dan Anderson
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: StructureTree, merge
>             Fix For: 2.0.15, 3.0.0 PDFBox
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org