Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts
AnnotationSelector visitor object that provides functionality to work with
annotations. |
void |
accept(ImagePlacementAbsorber visitor)
Accepts
ImagePlacementAbsorber visitor object that provides functionality to work
with image placement objects. |
void |
accept(TextAbsorber visitor)
Accepts
TextAbsorber visitor object that provides functionality to work with text
objects. |
void |
accept(TextFragmentAbsorber visitor)
Accepts
TextFragmentAbsorber visitor object that provides functionality to work with
text objects. |
Page |
add()
Adds empty page
|
void |
add(Iterable pages)
Adds to collection all pages from list.
|
Page |
add(Page entity)
Adds page to collection.
|
void |
add(Page[] pages)
Adds to collection all pages from array.
|
void |
clear()
Clear page collection.
|
void |
delete()
Deletes all pages from collection.
|
void |
delete(int index)
Delete specified page.
|
void |
delete(Integer[] pages)
Delete pages specified which numbers are specified in array.
|
void |
flatten()
Removes all fields located on the pages and place their values instead.
|
void |
freeMemory()
Clears cached data
|
Page |
get_Item(int index)
Gets page by index.
|
Object |
getSyncRoot()
Gets synchronization object of the collection.
|
Page |
getUnrestricted(int index)
Returns page by its index.
|
int |
indexOf(Page entity)
Returns index of the specified page.
|
Page |
insert(int pageNumber)
Insert empty apge into collection at the specified position.
|
void |
insert(int pageNumber,
List<Page> pages)
Inserts pages from the collection into document.
|
Page |
insert(int pageNumber,
Page entity)
Inserts page into page collection at specified place.
|
void |
insert(int pageNumber,
Page[] pages)
Inserts pages of the array into document.
|
boolean |
isSynchronized()
Returns true of object is synchorinzed.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Returns enumerator of pages.
|
int |
size()
Gets count of pages in the document.
|
public int size()
Gets count of pages in the document.
public boolean isSynchronized()
Returns true of object is synchorinzed.
public Object getSyncRoot()
Gets synchronization object of the collection.
public Page add(Page entity)
Adds page to collection.
entity
- Page which should be added.public void clear()
Clear page collection.
public void delete(int index)
Delete specified page.
index
- Number of page that will be deleted. Pages numbers start from 1.public void delete()
Deletes all pages from collection.
public int indexOf(Page entity)
Returns index of the specified page.
entity
- Page object. Pages numbers start from 1.
public Page getUnrestricted(int index)
Returns page by its index. Page
index
- Index of requested page. Pages are numbered from 1.public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns enumerator of pages.
public void accept(AnnotationSelector visitor)
Accepts AnnotationSelector
visitor object that provides functionality to work with
annotations.
visitor
- AnnotationSelector Visitorpublic void delete(Integer[] pages)
Delete pages specified which numbers are specified in array.
pages
- Array of pages to be deleted.public Page insert(int pageNumber)
Insert empty apge into collection at the specified position.
pageNumber
- Position of the new page.public Page add()
Adds empty page
public void add(Iterable pages)
Adds to collection all pages from list.
pages
- List which contains all pages which must be added.public Page insert(int pageNumber, Page entity)
Inserts page into page collection at specified place.
pageNumber
- Required page index in collection.entity
- Page to be inserted.public Page get_Item(int index)
Gets page by index.
index
- Index of page.public void accept(ImagePlacementAbsorber visitor)
Accepts ImagePlacementAbsorber
visitor object that provides functionality to work
with image placement objects.
visitor
- Image placement object.public void accept(TextFragmentAbsorber visitor)
Accepts TextFragmentAbsorber
visitor object that provides functionality to work with
text objects.
visitor
- Text fragment absorber object.public void accept(TextAbsorber visitor)
Accepts TextAbsorber
visitor object that provides functionality to work with text
objects.
visitor
- Text absorber object.public void add(Page[] pages)
Adds to collection all pages from array.
pages
- Array of pages which will be added.public void insert(int pageNumber, List<Page> pages)
Inserts pages from the collection into document.
pageNumber
- Starting position of the new pages.pages
- Pages collection.public void insert(int pageNumber, Page[] pages)
Inserts pages of the array into document.
pageNumber
- Starting number of the new pages.pages
- Array of pages which will be inserted.public void flatten()
Removes all fields located on the pages and place their values instead.
public void freeMemory()
Clears cached data
Copyright © 2016 Aspose. All Rights Reserved.