PagesSetup
Inheritance: java.lang.Object
public class PagesSetup
Describes special document pages to work with.
Constructors
Constructor | Description |
---|---|
PagesSetup() | Creates PagesSetup with default options. |
Methods
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. |
PagesSetup()
public PagesSetup()
Creates PagesSetup with default options.
getFirstPage()
public final boolean getFirstPage()
Gets or sets flag to use first document page.
Returns: boolean
setFirstPage(boolean value)
public final void setFirstPage(boolean value)
Gets or sets flag to use first document page.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getLastPage()
public final boolean getLastPage()
Gets or sets flag to use last document page.
Returns: boolean
setLastPage(boolean value)
public final void setLastPage(boolean value)
Gets or sets flag to use last document page.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getOddPages()
public final boolean getOddPages()
Gets or sets flag to use odd pages of document.
Returns: boolean
setOddPages(boolean value)
public final void setOddPages(boolean value)
Gets or sets flag to use odd pages of document.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getEvenPages()
public final boolean getEvenPages()
Gets or sets flag to use even pages of document.
Returns: boolean
setEvenPages(boolean value)
public final void setEvenPages(boolean value)
Gets or sets flag to use even pages of document.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getPageNumbers()
public final List<Integer> getPageNumbers()
Set arbitrary pages of document to use.
Returns: java.util.List<java.lang.Integer>
setPageNumbers(List value)
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> |
toString()
public String toString()
Overrides conversion to string.
Returns: java.lang.String -