PagesSetup
Leave feedback
On this page
Inheritance: java.lang.Object
public class PagesSetup
Describes special document pages to work with.
| Constructor | Description |
|---|---|
| PagesSetup() | Creates PagesSetup with default options. |
| Method | Description |
|---|---|
| getFirstPage() | Gets or sets flag to use first document page. |
| setFirstPage(boolean value) | Gets or sets flag to use first document page. |
| getLastPage() | Gets or sets flag to use last document page. |
| setLastPage(boolean value) | Gets or sets flag to use last document page. |
| getOddPages() | Gets or sets flag to use odd pages of document. |
| setOddPages(boolean value) | Gets or sets flag to use odd pages of document. |
| getEvenPages() | Gets or sets flag to use even pages of document. |
| setEvenPages(boolean value) | Gets or sets flag to use even pages of document. |
| getPageNumbers() | Set arbitrary pages of document to use. |
| setPageNumbers(List |
Set arbitrary pages of document to use. |
| toString() | Overrides conversion to string. |
public PagesSetup()
Creates PagesSetup with default options.
public final boolean getFirstPage()
Gets or sets flag to use first document page.
Returns: boolean
public final void setFirstPage(boolean value)
Gets or sets flag to use first document page.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final boolean getLastPage()
Gets or sets flag to use last document page.
Returns: boolean
public final void setLastPage(boolean value)
Gets or sets flag to use last document page.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final boolean getOddPages()
Gets or sets flag to use odd pages of document.
Returns: boolean
public final void setOddPages(boolean value)
Gets or sets flag to use odd pages of document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final boolean getEvenPages()
Gets or sets flag to use even pages of document.
Returns: boolean
public final void setEvenPages(boolean value)
Gets or sets flag to use even pages of document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final List<Integer> getPageNumbers()
Set arbitrary pages of document to use.
Returns: java.util.List<java.lang.Integer>
public final void setPageNumbers(List<Integer> value)
Set arbitrary pages of document to use.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.List<java.lang.Integer> |
public String toString()
Overrides conversion to string.
Returns: java.lang.String -
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.