public static class PageRange.PageRangePartOddEven extends Object implements PageRange.IPageRangePart
| Modifier and Type | Field and Description |
|---|---|
static PageRange.PageRangePartOddEven |
EVEN |
static PageRange.PageRangePartOddEven |
ODD |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Integer> |
getAllPagesInRange(int nbPages)
Gets the list of pages that have been added to the range part so far.
|
int |
hashCode() |
boolean |
isPageInRange(int pageNumber)
Checks if a given page is present in the range part built so far.
|
public static final PageRange.PageRangePartOddEven ODD
public static final PageRange.PageRangePartOddEven EVEN
public List<Integer> getAllPagesInRange(int nbPages)
PageRange.IPageRangePartgetAllPagesInRange in interface PageRange.IPageRangePartnbPages - number of pages of the document to get the pages,
to list only the pages eligible for this documentpublic boolean isPageInRange(int pageNumber)
PageRange.IPageRangePartisPageInRange in interface PageRange.IPageRangePartpageNumber - the page number to checktrue if the page is present in this range, false otherwiseCopyright © 1998–2024 Apryse Group NV. All rights reserved.