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 2024/06/14 13:52:00 UTC

[jira] [Resolved] (PDFBOX-5840) When splitting, keep named page destinations that are part of target document(s)

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

Tilman Hausherr resolved PDFBOX-5840.
-------------------------------------
    Resolution: Fixed

> When splitting, keep named page destinations that are part of target document(s)
> --------------------------------------------------------------------------------
>
>                 Key: PDFBOX-5840
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5840
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.31, 3.0.2 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.32, 3.0.3 PDFBox, 4.0.0
>
>         Attachments: 410609.pdf, named-dest-handling abandoned code.txt
>
>
> Keep named destinations. The current code just ignores them. I wrote some 40 lines that would create a name tree in the destination document, but this didn't work because the destination name gets modified when retrieved as a string. So I just keep the actual destination and forget the name, which is a single code line. It's a new document anyway and the average user expectation is that the links "just work".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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