You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "freddi fred (JIRA)" <ji...@apache.org> on 2017/10/18 12:17:00 UTC
[jira] [Created] (PDFBOX-3969) Splitting starts counting for
cutting out pages wrongly
freddi fred created PDFBOX-3969:
-----------------------------------
Summary: Splitting starts counting for cutting out pages wrongly
Key: PDFBOX-3969
URL: https://issues.apache.org/jira/browse/PDFBOX-3969
Project: PDFBox
Issue Type: Bug
Affects Versions: 2.0.6
Reporter: freddi fred
Attachments: 1000pages.pdf
Right now the usage of 'splitAtPage' is wrong. Let's assume there is a document with 1000pages,
startPage=238, endPage=977, splitAtPage=17 then pdfbox starts splitAtPage at page #0! This leads to the following
groups: 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 8
I would have expected: 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 9
This does not allow for example cutting out some parts of a document.
--
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