[ 
https://issues.apache.org/jira/browse/PDFBOX-3996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244625#comment-16244625
 ] 

Gilad Denneboom commented on PDFBOX-3996:
-----------------------------------------

I think it is... For example, the Split method of the String object uses 0 (or 
any negative value) for its limit parameter to mean that the output is not 
limited at all. There are various other examples.

I'm not sure what your second comment is referring to. The documents are not 
created by me, but by the Splitter tool, when I call the split method.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to