module Pdfdest:sig
..end
Destinations
type
targetpage =
| |
PageObject of |
| |
OtherDocPageNumber of |
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
t =
| |
Action of |
| |
NullDestination |
| |
NamedDestinationElsewhere of |
| |
XYZ of |
| |
Fit of |
| |
FitH of |
| |
FitV of |
| |
FitR of |
| |
FitB of |
| |
FitBH of |
| |
FitBV of |
Destinations (and actions)
val read_destination : Pdf.t -> Pdf.pdfobject -> t
Read a destination given a PDF and destionation object.
val pdfobject_of_destination : t -> Pdf.pdfobject
Write a destination to a Pdf.pdfobject
.
val transform_destination : Pdftransform.transform_matrix -> t -> t
Transform a destination by a matrix