|
ASPOSE home | ||||||||
java.lang.Object
com.aspose.words.Bookmark
public class Bookmark
Bookmark is a "facade" object that encapsulates two nodes BookmarkStart
and BookmarkEnd in a document tree and allows to work with a bookmark
as a single object.
| Property Getters/Setters Summary | ||
|---|---|---|
BookmarkEnd | getBookmarkEnd() | |
| Gets the node that represents the end of the bookmark. | ||
BookmarkStart | getBookmarkStart() | |
| Gets the node that represents the start of the bookmark. | ||
java.lang.String | getName() | |
void | setName(java.lang.String value) | |
| Gets the name of the bookmark. | ||
java.lang.String | getText() | |
void | setText(java.lang.String value) | |
| Gets/sets the text enclosed in the bookmark. | ||
| Method Summary | ||
|---|---|---|
void | remove() | |
| Removes the bookmark from the document. Does not remove text inside the bookmark. | ||
| Property Getters/Setters Detail |
|---|
getName/setName | |
public java.lang.String getName() public void setName(java.lang.String value) | |
getText/setText | |
public java.lang.String getText() public void setText(java.lang.String value) | |
getBookmarkStart | |
public BookmarkStart getBookmarkStart() | |
getBookmarkEnd | |
public BookmarkEnd getBookmarkEnd() | |
| Method Detail |
|---|
remove | |
public void remove()
throws java.lang.Exception | |
|
ASPOSE home | ||||||||