/usr/lib/ocaml/camlpdf/pdfdest.mli is in libcamlpdf-ocaml-dev 2.2.1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | (** Destinations *)
(** The target of a destination is either a page object in the same PDF (given
by object number of page object), or a page number in an external file. *)
type targetpage =
| PageObject of int
| OtherDocPageNumber of int
(** Destinations. See ISO-32000 for details. *)
type t =
| NullDestination
| XYZ of targetpage * float option * float option * float option
| Fit of targetpage
| FitH of targetpage * float
| FitV of targetpage * float
| FitR of targetpage * float * float * float * float
| FitB of targetpage
| FitBH of targetpage * float
| FitBV of targetpage * float
(** Read a destination given a PDF and destionation object. *)
val read_destination : Pdf.t -> Pdf.pdfobject -> t
(** Write a destination to a [Pdf.pdfobject]. *)
val pdfobject_of_destination : t -> Pdf.pdfobject
(**/**)
val string_of_destination : t -> string
|