package camlpdf

  1. Overview
  2. Docs
type labelstyle =
  1. | DecimalArabic
  2. | UppercaseRoman
  3. | LowercaseRoman
  4. | UppercaseLetters
  5. | LowercaseLetters
  6. | NoLabelPrefixOnly
type t = {
  1. labelstyle : labelstyle;
  2. labelprefix : string option;
  3. startpage : int;
  4. startvalue : int;
}
val string_of_pagelabel : t -> string
val read : Pdf.t -> t list
val complete : t list -> t list
val pagelabel_of_pagenumber : int -> t list -> t
val pagelabeltext_of_pagenumber : int -> t list -> string
val add_label : int -> t list -> t -> int -> t list
val coalesce : t list -> t list
val merge_pagelabels : Pdf.t list -> int list list -> t list
val write : Pdf.t -> t list -> unit
val remove : Pdf.t -> unit
OCaml

Innovation. Community. Security.