You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Issue Comment Edited JIRA)" <ji...@apache.org> on 2012/02/04 19:17:53 UTC
[jira] [Issue Comment Edited] (PDFBOX-1221) Add support to set a
start and/or end page when splitting a pdf
[ https://issues.apache.org/jira/browse/PDFBOX-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200486#comment-13200486 ]
Andreas Lehmkühler edited comment on PDFBOX-1221 at 2/4/12 6:16 PM:
--------------------------------------------------------------------
I added a startPage and a endPage parameter to select a range of a pdf to be cutted in revision 1240556 (code) and 1240573 (docs).
Examples:
PDFSplit -split 2 sample_with_13_pages.pdf will split the pdf in pieces of 2 pages each except the last which will contain 1 page only.
PDFSplit -startPage 5 sample_with_13_pages.pdf will provide a pdf containing all pages of the source pdf starting at page 5
PDFSplit -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide a pdf containing all pages from 5 to 10 of the source pdf
PDFSplit -split 2 -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide 3 pdfs containing all pages from 5 to 10 of the source pdf 2 pages each
was (Author: lehmi):
I added a startPage and a endPage parameter to select a range of a pdf to be cutted.
Examples:
PDFSplit -split 2 sample_with_13_pages.pdf will split the pdf in pieces of 2 pages each except the last which will contain 1 page only.
PDFSplit -startPage 5 sample_with_13_pages.pdf will provide a pdf containing all pages of the source pdf starting at page 5
PDFSplit -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide a pdf containing all pages from 5 to 10 of the source pdf
PDFSplit -split 2 -startPage 5 -endPage 10 sample_with_13_pages.pdf will provide 3 pdfs containing all pages from 5 to 10 of the source pdf 2 pages each
> Add support to set a start and/or end page when splitting a pdf
> ---------------------------------------------------------------
>
> Key: PDFBOX-1221
> URL: https://issues.apache.org/jira/browse/PDFBOX-1221
> Project: PDFBox
> Issue Type: New Feature
> Components: Utilities
> Affects Versions: 1.6.0
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Fix For: 1.7.0
>
>
> PDFSplit splits a pdf in portions of the same size. The size can be set using the "split" parameter. The default value is 1.
> If someone needs the last 8 pages of an 13 pages pdf, it can't be done with PDFSplit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira