PdfmarksBookmarks
type t = {level : int;text : string;target : Pdfdest.t;isopen : bool;colour : float * float * float;flags : int;}The type of bookmarks.
val string_of_bookmark : t -> stringDebug string from a bookmark.
Read the bookmarks from a document. If preserve_actions is set, the target preserves actions rather than extracting the resultant rectangle. See discussion of shallow in Pdfdest.
Add bookmarks to a document, replacing any currently there.
val transform_bookmark : Pdf.t -> Pdftransform.transform_matrix -> t -> tTransform a bookmark's destination