|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpdftron.PDF.PageSet
public class PageSet
PageSet is a container of page numbers ordered following a linear sequence. The page numbers are integers and must be greater than zero. Duplicates are allowed.
| Field Summary | |
|---|---|
static int |
e_all
The Constant e_all. |
static int |
e_even
The Constant e_even. |
static int |
e_odd
The Constant e_odd. |
| Constructor Summary | |
|---|---|
PageSet()
Default constructor. |
|
PageSet(int one_page)
Construct a set of pages with just one number. |
|
PageSet(int range_start,
int range_end)
Construct a range of pages. |
|
PageSet(int range_start,
int range_end,
int filter)
Construct a filtered range of pages. |
|
| Method Summary | |
|---|---|
void |
addPage(int one_page)
Add a page number to the sequence. |
void |
addRange(int range_start,
int range_end)
Add a range of values to the sequence. |
void |
addRange(int range_start,
int range_end,
int filter)
Add a range of values to the sequence. |
void |
destroy()
Frees the native memory of the object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int e_all
public static final int e_odd
public static final int e_even
| Constructor Detail |
|---|
public PageSet()
public PageSet(int one_page)
one_page - a valid page numberaddPage
public PageSet(int range_start,
int range_end)
range_start - the start page number of the rangerange_end - the end page number of the rangeaddRange
public PageSet(int range_start,
int range_end,
int filter)
range_start - the start page number of the rangerange_end - the end page number of the rangefilter - page set filteraddRange| Method Detail |
|---|
public void destroy()
throws PDFNetException
PDFNetExceptionpublic void addPage(int one_page)
one_page - The page number being added
public void addRange(int range_start,
int range_end)
range_start - The low value in the rangerange_end - The high value in the range
public void addRange(int range_start,
int range_end,
int filter)
range_start - The low value in the rangerange_end - The high value in the rangefilter - -e_all: Default, includes all pages in the range
-e_odd: Includes odd numbers in the range (discards even numbers)
-e_even: Includes even numbers in the range (discards odd numbers)
|
© 2002-2011 PDFTron Systems Inc. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||