Interface PageRange.IPageRangePart
- All Known Implementing Classes:
PageRange.PageRangePartAfter, PageRange.PageRangePartAnd, PageRange.PageRangePartOddEven, PageRange.PageRangePartSequence, PageRange.PageRangePartSingle
- Enclosing class:
PageRange
public static interface PageRange.IPageRangePart
Inner interface for range parts definition
-
Method Summary
Modifier and TypeMethodDescriptiongetAllPagesInRange(int nbPages) Gets the list of pages that have been added to the range part so far.booleanisPageInRange(int pageNumber) Checks if a given page is present in the range part built so far.
-
Method Details
-
getAllPagesInRange
Gets the list of pages that have been added to the range part so far.- Parameters:
nbPages- number of pages of the document to get the pages, to list only the pages eligible for this document- Returns:
- the list containing page numbers added to the range part matching this document
-
isPageInRange
boolean isPageInRange(int pageNumber) Checks if a given page is present in the range part built so far.- Parameters:
pageNumber- the page number to check- Returns:
trueif the page is present in this range,falseotherwise
-