You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Sascha Becher (JIRA)" <ji...@apache.org> on 2017/06/02 13:05:04 UTC

[jira] [Closed] (PDFBOX-3815) Removing the first page doesn't work

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

Sascha Becher closed PDFBOX-3815.
---------------------------------
    Resolution: Not A Bug

> Removing the first page doesn't work
> ------------------------------------
>
>                 Key: PDFBOX-3815
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3815
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: Windows 10, Java 8; PDF 1.5
>            Reporter: Sascha Becher
>
> Does nothing to page 1:
> try (PDDocument doc = PDDocument.load(file)) {
> 	doc.removePage(0);
> 	doc.save(file);
> 	doc.close();
> }
> This would remove page 2:
> doc.removePage(1);
> seems not to be new: 
> https://stackoverflow.com/questions/37865415/pdfbox-does-not-remove-first-page
> If there are any restrictions to removing pages, the javadoc should note this.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org