You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/12/31 10:25:00 UTC
[jira] [Commented] (PDFBOX-4009) Structure tree lost when merging
from the command line
[ https://issues.apache.org/jira/browse/PDFBOX-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731258#comment-16731258 ]
ASF subversion and git services commented on PDFBOX-4009:
---------------------------------------------------------
Commit 1850030 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1850030 ]
PDFBOX-4009: no need to reset anything if structure tree is not merged, it just means that the destination structure tree and settings are kept they exist
> Structure tree lost when merging from the command line
> ------------------------------------------------------
>
> Key: PDFBOX-4009
> URL: https://issues.apache.org/jira/browse/PDFBOX-4009
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.8
> Reporter: Tilman Hausherr
> Priority: Major
> Labels: StructureTree, merge
>
> When merging with PDFMerger from the command line (e.g. the files from PDFBOX-4007) the structure tree is lost. The cause is that {{mergeDocuments()}} merges into an empty {{PDDocument}} object, and {{appendDocument()}} does not copy the structure tree if it doesn't exist in the destination. It does something only if source and destination have one.
--
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