package camlpdf

  1. Overview
  2. Docs
type rotation =
  1. | Rotate0
  2. | Rotate90
  3. | Rotate180
  4. | Rotate270
val int_of_rotation : rotation -> int
val rotation_of_int : int -> rotation
type t = {
  1. content : Pdf.pdfobject list;
  2. mediabox : Pdf.pdfobject;
  3. resources : Pdf.pdfobject;
  4. rotate : rotation;
  5. rest : Pdf.pdfobject;
}
val blankpage : Pdfpaper.t -> t
val custompage : Pdf.pdfobject -> t
val pages_of_pagetree : Pdf.t -> t list
val add_pagetree : t list -> Pdf.t -> Pdf.t * int
val add_root : int -> (string * Pdf.pdfobject) list -> Pdf.t -> Pdf.t
val endpage : Pdf.t -> int
val renumber_pages : Pdf.t -> t list -> t list
val change_pages : bool -> Pdf.t -> t list -> Pdf.t
val pdf_of_pages : ?retain_numbering:bool -> Pdf.t -> int list -> Pdf.t
val prepend_operators : Pdf.t -> Pdfops.t list -> ?fast:bool -> t -> t
val postpend_operators : Pdf.t -> Pdfops.t list -> ?fast:bool -> t -> t
val pagenumber_of_target : ?refnums:int list -> Pdf.t -> Pdfdest.t -> int
val target_of_pagenumber : Pdf.t -> int -> Pdfdest.t
val flat_pagetrees : bool Pervasives.ref
OCaml

Innovation. Community. Security.