camlpdf

Read, write and modify PDF files
Module Pdfmarks
type t = {
level : int;
text : string;
target : Pdfdest.t;
isopen : bool;
}
val string_of_bookmark : t -> string
val remove_bookmarks : Pdf.t -> Pdf.t
type ntree =
| 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