You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Gilad Denneboom (JIRA)" <ji...@apache.org> on 2017/11/06 20:32:00 UTC
[jira] [Created] (PDFBOX-3996) Add option to automatically create
just one file with Splitter
Gilad Denneboom created PDFBOX-3996:
---------------------------------------
Summary: Add option to automatically create just one file with Splitter
Key: PDFBOX-3996
URL: https://issues.apache.org/jira/browse/PDFBOX-3996
Project: PDFBox
Issue Type: Improvement
Components: Utilities
Affects Versions: 2.0.8
Reporter: Gilad Denneboom
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org