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

Add option to automatically create just one file with Splitter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.0.8
    • None
    • Utilities
    • None

    Description

      When using Splitter, its default behavior is to extract each page in the selected range as a separate PDDocument, but often one wants to extract that range as a single document. In order to do that you currently need to use the setSplitAtPage method and set it to the number of pages in your range, which is a bit silly. It would be better if there was an option to do that automatically, for example by setting the splitAtPage property to 0, or something like that, and have it automatically calculate the number of pages based on the startPage and endPage values.

      Attachments

        Activity

          People

            Unassigned Unassigned
            giladd Gilad Denneboom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: