pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4009) Structure tree lost when merging from the command line
Date Mon, 31 Dec 2018 10:25:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731257#comment-16731257

ASF subversion and git services commented on PDFBOX-4009:

Commit 1850029 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1850029 ]

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

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

View raw message