Constructor and Description |
---|
PageRangeSettings()
Creates a new instance of this class with all pages selected for printing.
|
PageRangeSettings(String pageRange)
Creates a new instance of this class with specified page range.
|
PageRangeSettings(String pageRange,
PageRange pageSubRangeMode,
PageOrdering pageOrdering)
Creates a new instance of this class with specified page range and other
settings.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
PageOrdering |
getPageOrdering()
Returns specified page order.
|
String |
getPageRange()
Returns the current page range.
|
PageRange |
getPageSubRangeMode()
Returns current page selection setting.
|
void |
setPageOrdering(PageOrdering pageOrdering)
Sets specified page order.
|
void |
setPageRange(String pageRange)
Sets specified page range.
|
void |
setPageSubRangeMode(PageRange pageSubRangeMode)
Sets specified page selection.
|
public PageRangeSettings()
public PageRangeSettings(String pageRange, PageRange pageSubRangeMode, PageOrdering pageOrdering)
pageRange
- pages that need to be includedpageSubRangeMode
- which pages in the specified pages need to be selectedpageOrdering
- how the pages need to be orderedpublic PageRangeSettings(String pageRange)
pageRange
- pages that need to be includedpublic String getPageRange()
public void setPageRange(String pageRange)
pageRange
- page range that needs to be setpublic PageRange getPageSubRangeMode()
public void setPageSubRangeMode(PageRange pageSubRangeMode)
pageSubRangeMode
- constant specify
current page selection
public PageOrdering getPageOrdering()
page
order
public void setPageOrdering(PageOrdering pageOrdering)
pageOrdering
- constant specifying current
page
order