|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.collections.CollectionEx
com.spire.doc.collections.BookmarkCollection
public class BookmarkCollection
A collection of Bookmark
objects that represent the bookmarks in the document.
Method Summary | |
---|---|
void |
clear()
Removes all bookmarks from the document. |
Bookmark |
findByName(java.lang.String name)
Finds Bookmark object by specified name |
Bookmark |
get(int index)
Gets the Bookmark at the specified index. |
Bookmark |
get(java.lang.String name)
Gets the Bookmark with the specified name. |
void |
remove(Bookmark bookmark)
Removes the specified bookmark. |
void |
removeAt(int index)
Removes a bookmark at the specified index. |
Methods inherited from class com.spire.doc.collections.CollectionEx |
---|
getCount, iterator |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Method Detail |
---|
public Bookmark get(java.lang.String name)
Bookmark
with the specified name.
name
- bookmark name
public Bookmark get(int index)
Bookmark
at the specified index.
index
- index
public Bookmark findByName(java.lang.String name)
Bookmark
object by specified name
name
- The bookmark name
public void removeAt(int index)
index
- The index.public void remove(Bookmark bookmark)
bookmark
- The bookmark.public void clear()
clear
in class CollectionEx
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |