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/01/01 16:27:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-4009.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 3.0.0 PDFBox
                   2.0.14

> 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
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: StructureTree, merge
>             Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> 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