Represents a single 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.
Shows how to add bookmarks and update their contents.
#include <Aspose.Words.Cpp/Bookmark.h>
Public Member Functions | |
SharedPtr< BookmarkEnd > | get_BookmarkEnd () |
Gets the node that represents the end of the bookmark. More... | |
SharedPtr< BookmarkStart > | get_BookmarkStart () const |
Gets the node that represents the start of the bookmark. More... | |
int32_t | get_FirstColumn () |
Gets the zero-based index of the first column of the table column range associated with the bookmark. More... | |
bool | get_IsColumn () |
Returns true if this bookmark is a table column bookmark. More... | |
int32_t | get_LastColumn () |
Gets the zero-based index of the last column of the table column range associated with the bookmark. More... | |
String | get_Name () |
Gets or sets the name of the bookmark. More... | |
String | get_Text () |
Gets or sets the text enclosed in the bookmark. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | Remove () |
Removes the bookmark from the document. Does not remove text inside the bookmark. More... | |
void | set_Name (const String &value) |
Setter for get_Name. More... | |
void | set_Text (const String &value) |
Setter for get_Text. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
System::SharedPtr<Aspose::Words::BookmarkEnd> Aspose::Words::Bookmark::get_BookmarkEnd | ( | ) |
Gets the node that represents the end of the bookmark.
Shows how to add bookmarks and update their contents.
System::SharedPtr<Aspose::Words::BookmarkStart> Aspose::Words::Bookmark::get_BookmarkStart | ( | ) | const |
Gets the node that represents the start of the bookmark.
Shows how to add bookmarks and update their contents.
int32_t Aspose::Words::Bookmark::get_FirstColumn | ( | ) |
Gets the zero-based index of the first column of the table column range associated with the bookmark.
Shows how to get information about table column bookmarks.
bool Aspose::Words::Bookmark::get_IsColumn | ( | ) |
Returns true if this bookmark is a table column bookmark.
Shows how to get information about table column bookmarks.
int32_t Aspose::Words::Bookmark::get_LastColumn | ( | ) |
Gets the zero-based index of the last column of the table column range associated with the bookmark.
Shows how to get information about table column bookmarks.
System::String Aspose::Words::Bookmark::get_Name | ( | ) |
Gets or sets the name of the bookmark.
Shows how to insert a bookmark.
Shows how to add bookmarks and update their contents.
System::String Aspose::Words::Bookmark::get_Text | ( | ) |
Gets or sets the text enclosed in the bookmark.
Shows how to add bookmarks and update their contents.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::Bookmark::Remove | ( | ) |
Removes the bookmark from the document. Does not remove text inside the bookmark.
Shows how to remove bookmarks from a document.
void Aspose::Words::Bookmark::set_Name | ( | const System::String & | value | ) |
Setter for Aspose::Words::Bookmark::get_Name.
void Aspose::Words::Bookmark::set_Text | ( | const System::String & | value | ) |
Setter for Aspose::Words::Bookmark::get_Text.
|
static |