|
Oracle Outside In Java API Reference 8.5.4 E91699-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.outsidein.options.PageRange
public class PageRange
Indicates the range of pages to render or write to the output file.
OptionsCache.getPageRange()
, OptionsCache.setPageRange(PageRange)
Constructor Summary | |
---|---|
PageRange() Creates a PageRange object for rendering all pages in the source document. |
|
PageRange(long startPage) Creates a PageRange object for rendering from a particular start page until the last page of the source document. |
|
PageRange(long startPage, long stopPage) Creates a PageRange object for rendering a range of pages in the source document. |
Method Summary | |
---|---|
boolean |
getPrintAll() Obtains whether all pages of the document are set to be rendered |
long |
getStartPage() Obtain the start page of the page range. |
long |
getStopPage() Obtains the last page of the page range. |
void |
setPrintAll(boolean value) Sets whether all pages of the document are to be rendered |
void |
setStartPage(long value) Sets the start page of the page range. |
void |
setStopPage(long value) Sets the last page of the page range. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageRange()
public PageRange(long startPage, long stopPage) throws OutsideInException
startPage
- the 1-based index of the start pagestopPage
- the 1-based index of the last page to renderOutsideInException
public PageRange(long startPage)
startPage
- the 1-based index of the start pageMethod Detail |
---|
public boolean getPrintAll()
true
if all pages are to be renderedpublic void setPrintAll(boolean value)
value
-public long getStartPage()
public void setStartPage(long value)
value
- the 1-based index of the start pagepublic long getStopPage()
public void setStopPage(long value)
value
- the 1-based index of the last page to render
|
Oracle Outside In Java API Reference 8.5.4 E91699-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |