Aspose::Pdf::Facades::PdfBookmarkEditor class

PdfBookmarkEditor class

Represents a class to work with PDF file’s bookmarks including create, modify, export, import and delete.

class PdfBookmarkEditor : public Aspose::Pdf::Facades::SaveableFacade

Methods

MethodDescription
CreateBookmarkOfPage(const System::String&, int32_t)Creates bookmark for the specified page.
CreateBookmarkOfPage(const System::ArrayPtr<System::String>&, const System::ArrayPtr<int32_t>&)Creates bookmarks for the specified pages.
CreateBookmarks()Creates bookmarks for all pages.
CreateBookmarks(const System::SharedPtr<Bookmark>&)Creates the specified bookmark in the document. The method can be used for forming nested bookmarks hierarchy.
CreateBookmarks(System::Drawing::Color, bool, bool)Create bookmarks for all pages with specified color and style (bold, italic).
DeleteBookmarks()Deletes all bookmarks of the PDF document.
DeleteBookmarks(const System::String&)Deletes the bookmark of the PDF document.
static ExportBookmarksToHtml(const System::String&, const System::String&)Exports bookmarks to HTML file.
ExportBookmarksToXML(const System::String&)Exports bookmarks to XML file.
ExportBookmarksToXML(const System::SharedPtr<System::IO::Stream>&)Exports bookmarks to XML stream.
ExtractBookmarks()Extracts bookmarks of all levels from the document.
ExtractBookmarks(bool)Extracts bookmarks of all levels from the document.
ExtractBookmarks(const System::String&)Extracts the bookmarks with the specified title.
ExtractBookmarks(const System::SharedPtr<Bookmark>&)Extracts the children of a bookmark with a title like in specified bookamrk.
ExtractBookmarksToHTML(const System::String&, const System::String&)Exports bookmarks to HTML file.
ImportBookmarksWithXML(const System::String&)Imports bookmarks to the document from XML file.
ImportBookmarksWithXML(const System::SharedPtr<System::IO::Stream>&)Imports bookmarks to the document from XML file.
ModifyBookmarks(const System::String&, const System::String&)Modifys bookmark title according to the specified bookmark title.
PdfBookmarkEditor()Initializes new PdfBookmarkEditor object.
PdfBookmarkEditor(const System::SharedPtr<Aspose::Pdf::Document>&)Initializes new PdfBookmarkEditor object on base of the document .

See Also