Class PageRange
- java.lang.Object
-
- com.levigo.jadice.server.msoffice.PageRange
-
- All Implemented Interfaces:
Serializable
public final class PageRange extends Object implements Serializable
DTO for defining a range of pages to be converted.- Since:
- jadice server 4.3.1.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PageRange(int firstPageIndex, int lastPageIndex)
Create a new PageRange object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
int
getFirstPageIndex()
int
getLastPageIndex()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
ALL_PAGES
public static final PageRange ALL_PAGES
The default range to convert all pages of a document
-
-
Constructor Detail
-
PageRange
public PageRange(int firstPageIndex, int lastPageIndex)
Create a new PageRange object.- Parameters:
firstPageIndex
- index of the first page to convert (1-based). Value must be > 1.lastPageIndex
- index of the last page to convert (1-based). Value must be ≥firstPageIndex
.
-
-