fromInternalDocument

open fun fromInternalDocument(document: InternalPdfDocument): InternalBookmarkProvider

Creates a new InternalBookmarkProvider for the desired InternalPdfDocument. This is meant for internal usage only.