|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||
java.lang.objectcom.spire.pdf.widget.pdfpagecollection
public class pdfpagecollection
implements routines for manipulation with loaded pages.
| constructor summary | |
|---|---|
pdfpagecollection(pdfdocumentbase document,
crosstable)
|
|
| method summary | |
|---|---|
pdfpagebase |
add()
creates a new page and adds it to the collection. |
pdfpagebase |
add(java.awt.geom.dimension2d size)
creates a new page of the specified size and adds it to the collection. |
pdfpagebase |
add(java.awt.geom.dimension2d size,
pdfmargins margins)
creates a new page of the specified size and with the specified margins and adds it to the collection. |
pdfpagebase |
add(java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation)
creates a new page of the specified size and with the specified margins and adds it to the collection. |
pdfpagebase |
add(java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation,
int location)
|
pdfpagebase |
add(java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation,
pdfpageorientation orientation)
creates a new page of the specified size and with the specified margins and adds it to the collection. |
pdfpagebase |
get(int index)
gets the at the specified index. |
int |
getcount()
gets the count. |
int |
indexof(pdfpagebase page)
gets the index of the page in the document. |
pdfpagebase |
insert(int index)
creates a new page and inserts it at the specified index. |
pdfpagebase |
insert(int index,
java.awt.geom.dimension2d size)
creates a new page and inserts it at the specified index. |
pdfpagebase |
insert(int index,
java.awt.geom.dimension2d size,
pdfmargins margins)
creates a new page and inserts it at the specified index. |
pdfpagebase |
insert(int index,
java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation)
creates a new page and inserts it at the specified index. |
pdfpagebase |
(int index,
java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation,
pdfpageorientation orientation,
boolean existspage)
creates a new page and inserts it at the specified index. |
void |
rearrange(int[] orderarray)
rearrange the pages in the loaded document. |
void |
remove(pdfpagebase page)
removes the specified page. |
void |
removeat(int index)
removes the page at the given specified index. |
| constructor detail |
|---|
public pdfpagecollection(pdfdocumentbase document,
crosstable)
| method detail |
|---|
public pdfpagebase get(int index)
public int getcount()
public pdfpagebase add()
public pdfpagebase add(java.awt.geom.dimension2d size)
size - the size of the new page.
public pdfpagebase add(java.awt.geom.dimension2d size,
pdfmargins margins)
size - the size of the new page.margins - the margins of the new page.
public pdfpagebase add(java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation)
size - the size of the new page.margins - the margins of the new page.rotation - the rotation of the new page.
public pdfpagebase add(java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation,
int location)
public pdfpagebase add(java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation,
pdfpageorientation orientation)
size - the size of the page.margins - the margins of the page.rotation - the rotation of the new page.orientation - the orientation of the new page.
public pdfpagebase insert(int index)
index - the index.
public pdfpagebase insert(int index,
java.awt.geom.dimension2d size)
index - the index.size - the size of the page.
public pdfpagebase insert(int index,
java.awt.geom.dimension2d size,
pdfmargins margins)
index - the index.size - the size of the page.margins - the margins of the page.
public pdfpagebase insert(int index,
java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation)
index - the index.size - the size of the page.margins - the margins of the page.rotation - the rotation of the new page.
public void removeat(int index)
index - index of the page.public void remove(pdfpagebase page)
page - the page to be remove.public void rearrange(int[] orderarray)
orderarray - the page sequence to arrange the pages.public pdfpagebase insert(int index,
java.awt.geom.dimension2d size,
pdfmargins margins,
pdfpagerotateangle rotation,
pdfpageorientation orientation,
boolean existspage)
index - the index.size - the size of the page.margins - the margins of the page.rotation - the rotation of the new page.orientation - the orientation of the new page.
public int indexof(pdfpagebase page)
page - the current page.
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||