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(System::String, int32_t)Creates bookmark for the specified page.
CreateBookmarkOfPage(System::ArrayPtr<System::String>, System::ArrayPtr<int32_t>)Creates bookmarks for the specified pages.
CreateBookmarks()Creates bookmarks for all pages.
CreateBookmarks(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(System::String)Deletes the bookmark of the PDF document.
static ExportBookmarksToHtml(System::String, System::String)Exports bookmarks to HTML file.
ExportBookmarksToXML(System::String)Exports bookmarks to XML file.
ExportBookmarksToXML(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(System::String)Extracts the bookmarks with the specified title.
ExtractBookmarks(System::SharedPtr<Bookmark>)Extracts the children of a bookmark with a title like in specified bookamrk.
ExtractBookmarksToHTML(System::String, System::String)Exports bookmarks to HTML file.
ImportBookmarksWithXML(System::String)Imports bookmarks to the document from XML file.
ImportBookmarksWithXML(System::SharedPtr<System::IO::Stream>)Imports bookmarks to the document from XML file.
ModifyBookmarks(System::String, System::String)Modifys bookmark title according to the specified bookmark title.
PdfBookmarkEditor()Initializes new PdfBookmarkEditor object.
PdfBookmarkEditor(System::SharedPtr<Aspose::Pdf::Document>)Initializes new PdfBookmarkEditor object on base of the document .

See Also