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
BindPdf(System::String) overrideInitializes the facade.
BindPdf(System::SharedPtr<System::IO::Stream>) overrideInitializes the facade.
BindPdf(System::SharedPtr<Aspose::Pdf::Document>) overrideInitializes the facade.
virtual BindPdf(System::SharedPtr<Document>)Binds PDF document for editing.
Close() overrideDisposes Aspose.Pdf.Document bound with a facade.
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.
Dispose() overrideDisposes the facade.
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.
get_Document() constGets the document facade is working on.
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 .
Save(System::String) overrideSaves the PDF document to the specified file.
Save(System::SharedPtr<System::IO::Stream>) overrideSaves the PDF document to the specified stream.

See Also