camlpdf

Read, write and modify PDF files
Library camlpdf
Module Pdfdest
type targetpage =
| PageObject of int
| OtherDocPageNumber of int
type t =
| Action of Pdf.pdfobject
| NullDestination
| NamedDestinationElsewhere of string
| XYZ of targetpage * float option * float option * float option
| Fit of targetpage
| FitH of targetpage * float option
| FitV of targetpage * float option
| FitR of targetpage * float * float * float * float
| FitB of targetpage
| FitBH of targetpage * float option
| FitBV of targetpage * float option
val read_targetpage : Pdf.pdfobject -> targetpage
val read_destination_error : string -> string -> t
val read_destination : Pdf.t -> Pdf.pdfobject -> t
val pdf_of_targetpage : targetpage -> Pdf.pdfobject
val pos_null : float option -> Pdf.pdfobject
val pdfobject_of_destination : t -> Pdf.pdfobject
val clip_pair : (float * float) -> float * float
val transform_destination : Pdftransform.transform_matrix -> t -> t