/** * Remove the page from the document. * * @param page The page to remove from the document. */ public void removePage(PDPage page) { getPages().remove(page); }
/** * Remove the page from the document. * * @param pageNumber 0 based index to page number. */ public void removePage(int pageNumber) { getPages().remove(pageNumber); }
/** * Removes the page with the given index from the page tree. * @param index zero-based page index */ public void remove(int index) { COSDictionary node = get(index + 1, root, 0); remove(node); }
/** * Removes the given page from the page tree. * * @param page The page to remove. */ public void remove(PDPage page) { remove(page.getCOSObject()); }
/** * Removes the page with the given index from the page tree. * @param index zero-based page index */ public void remove(int index) { COSDictionary node = get(index + 1, root, 0); remove(node); }
/** * Removes the given page from the page tree. * * @param page The page to remove. */ public void remove(PDPage page) { remove(page.getCOSObject()); }
/** * Removes the page with the given index from the page tree. * @param index zero-based page index */ public void remove(int index) { COSDictionary node = get(index + 1, root, 0); remove(node); }
/** * Remove the page from the document. * * @param pageNumber 0 based index to page number. */ public void removePage(int pageNumber) { getPages().remove(pageNumber); }
/** * Remove the page from the document. * * @param page The page to remove from the document. */ public void removePage(PDPage page) { getPages().remove(page); }
/** * Remove the page from the document. * * @param pageNumber 0 based index to page number. */ public void removePage(int pageNumber) { getPages().remove(pageNumber); }
/** * Removes the given page from the page tree. * * @param page The page to remove. */ public void remove(PDPage page) { remove(page.getCOSObject()); }
/** * Remove the page from the document. * * @param page The page to remove from the document. */ public void removePage(PDPage page) { getPages().remove(page); }