package camlpdf

  1. Overview
  2. Docs
type t = {
  1. level : int;
  2. text : string;
  3. target : Pdfdest.t;
  4. isopen : bool;
}
val string_of_bookmark : t -> string
val remove_bookmarks : Pdf.t -> Pdf.t
type ntree =
  1. | Br of int * Pdf.pdfobject * ntree list * bool
val print_tree : ntree -> unit
val fresh : int ref -> Pdf.t -> int
val any_open_nodes : ntree list -> bool
val total_visible : ntree list -> int
val flatten_tree : int ref -> Pdf.t -> ntree list -> (int * Pdf.pdfobject) list * int
val add_counts : ntree list -> ntree list
val add_count : ntree -> ntree
val add_parent : int option -> ntree -> ntree
val add_firstlast : ntree -> ntree
val add_next : ntree -> ntree
val add_prev : ntree -> ntree
val node_of_line : 'a -> string -> Pdfdest.t -> Pdf.pdfobject
val make_outline_ntree : int ref -> Pdf.t -> t list -> ntree list
val add_bookmarks : t list -> Pdf.t -> Pdf.t
val traverse_outlines_lb : int ref -> Pdf.t -> Pdf.pdfobject -> (t -> 'a) -> unit
val do_until_no_next_lb : int ref -> Pdf.t -> Pdf.pdfobject -> (t -> 'a) -> unit
val read_bookmarks : Pdf.t -> t list
val transform_bookmark : Pdftransform.transform_matrix -> t -> t
OCaml

Innovation. Community. Security.