public static class PageRange.PageRangePartSequence extends Object implements PageRange.IPageRangePart
| Constructor and Description |
|---|
PageRangePartSequence(int start,
int end)
Creates new
PageRange.PageRangePartSequence instance. |
| 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 PageRangePartSequence(int start,
int end)
PageRange.PageRangePartSequence instance.start - the number of the first page in a range partend - the number of the last page in a range partpublic 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.