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 12:32:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17855042#comment-17855042 ]
Tilman Hausherr commented on PDFBOX-5840:
-----------------------------------------
Copyright: the document is published by the USDA, see
https://web.archive.org/web/20050411153046/http://www.nal.usda.gov/awic/pubs/Fishwelfare/
which links to
https://web.archive.org/web/20050411172414/http://www.nal.usda.gov/awic/pubs/Fishwelfare/culture.htm
which links to
https://web.archive.org/web/20050411212421/http://www.nal.usda.gov/awic/pubs/Fishwelfare/aquar.htm
which links to our PDF.
> 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