[ 
https://issues.apache.org/jira/browse/PDFBOX-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-3969.
-------------------------------------
    Resolution: Fixed

> 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
>          Components: Utilities
>    Affects Versions: 2.0.6, 2.0.7
>            Reporter: freddi fred
>            Assignee: Tilman Hausherr
>              Labels: split
>             Fix For: 2.0.8, 3.0.0
>
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to