|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.bookmarks.PdfBookmarkCollection
public class PdfBookmarkCollection
This class plays two roles: it's a base class for all bookmarks and it's a root of a bookmarks tree.
Constructor Summary | |
---|---|
PdfBookmarkCollection()
|
|
PdfBookmarkCollection(PdfDictionary dictionary,
PdfCrossTable crossTable)
|
Method Summary | |
---|---|
PdfBookmark |
add(java.lang.String title)
Creates and adds an outline. |
void |
clear()
Removes all the bookmark from the document. |
boolean |
contains(PdfBookmark outline)
Determines whether the specified outline is a direct descendant of the outline base. |
PdfBookmark |
get(int index)
Gets the at the specified index. |
int |
getCount()
Gets number of the elements in the collection. |
PdfBookmark |
insert(int index,
java.lang.String title)
Inserts a new outline at the specified index. |
void |
remove(java.lang.String title)
Removes the specified bookmark from the document. |
void |
removeAt(int index)
Removes the specified bookmark from the document at the specified index. |
Constructor Detail |
---|
public PdfBookmarkCollection()
public PdfBookmarkCollection(PdfDictionary dictionary, PdfCrossTable crossTable)
Method Detail |
---|
public int getCount()
public PdfBookmark get(int index)
public PdfBookmark add(java.lang.String title)
title
- The title of the new outline.
public boolean contains(PdfBookmark outline)
outline
- The outline.
public void remove(java.lang.String title)
title
- The title of the outline.public void removeAt(int index)
index
- The index.public void clear()
public PdfBookmark insert(int index, java.lang.String title)
index
- The index.title
- The title of the new outline.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |