Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4009

Structure tree lost when merging from the command line

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.8
    • Fix Version/s: None
    • Component/s: PDModel

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: