File: pdfmarks.mli

package info (click to toggle)
camlpdf 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,404 kB
  • ctags: 4,120
  • sloc: ml: 46,086; ansic: 6,046; makefile: 98; sh: 1
file content (21 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(** Bookmarks *)

(** The type of bookmarks. *)
type t =
  {level : int;
   text : string;
   target : Pdfdest.t;
   isopen : bool}

(** Debug string from a bookmark. *)
val string_of_bookmark : t -> string

(** Read the bookmarks from a document. *)
val read_bookmarks : Pdf.t -> t list

(** Remove the bookmarks from a document. *)
val remove_bookmarks : Pdf.t -> Pdf.t

(** Add bookmarks to a document, replacing any currently there. *)
val add_bookmarks : t list -> Pdf.t -> Pdf.t