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

Add option to automatically create just one file with Splitter

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.8
    • Fix Version/s: None
    • Component/s: Utilities
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: