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 |
| |
NamedDestination of |
| |
StringDestination of |
| |
XYZ of |
| |
Fit of |
| |
FitH of |
| |
FitV of |
| |
FitR of |
| |
FitB of |
| |
FitBH of |
| |
FitBV of |
Destinations (and actions)
val read_destination : ?shallow:bool -> Pdf.t -> Pdf.pdfobject -> t
Read a destination given a PDF and destination object. If shallow
is
true, actions will be kept in PDF form, rather than followed to their
destinations.
val pdfobject_of_destination : t -> Pdf.pdfobject
Write a destination to a Pdf.pdfobject
.
val transform_destination : Pdf.t -> Pdftransform.transform_matrix -> t -> t
Transform a destination by a matrix