public class PagesSetup extends Object
Describes special document pages to work with.
Constructor and Description |
---|
PagesSetup()
Creates PagesSetup with default options.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getEvenPages()
Gets or sets flag to use even pages of document.
|
boolean |
getFirstPage()
Gets or sets flag to use first document page.
|
boolean |
getLastPage()
Gets or sets flag to use last document page.
|
boolean |
getOddPages()
Gets or sets flag to use odd pages of document.
|
List<Integer> |
getPageNumbers()
Set arbitrary pages of document to use.
|
void |
setEvenPages(boolean value)
Gets or sets flag to use even pages of document.
|
void |
setFirstPage(boolean value)
Gets or sets flag to use first document page.
|
void |
setLastPage(boolean value)
Gets or sets flag to use last document page.
|
void |
setOddPages(boolean value)
Gets or sets flag to use odd pages of document.
|
void |
setPageNumbers(List<Integer> value)
Set arbitrary pages of document to use.
|
String |
toString()
Overrides conversion to string.
|
public final boolean getEvenPages()
Gets or sets flag to use even pages of document.
public final boolean getFirstPage()
Gets or sets flag to use first document page.
public final boolean getLastPage()
Gets or sets flag to use last document page.
public final boolean getOddPages()
Gets or sets flag to use odd pages of document.
public final void setEvenPages(boolean value)
Gets or sets flag to use even pages of document.
public final void setFirstPage(boolean value)
Gets or sets flag to use first document page.
public final void setLastPage(boolean value)
Gets or sets flag to use last document page.
public final void setOddPages(boolean value)
Gets or sets flag to use odd pages of document.
public final void setPageNumbers(List<Integer> value)
Set arbitrary pages of document to use.