File: pdfst.mli

package info (click to toggle)
camlpdf 2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,272 kB
  • sloc: ml: 20,816; ansic: 9,525; makefile: 100; sh: 23
file content (17 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(** Structure trees *)

(** Trim structure tree to remove parts marked as not in the page range given. *)
val trim_structure_tree : Pdf.t -> int list -> unit

(** Renumber parent trees in a list of PDFs so as not to clash when
    subsequently merged. *)
val renumber_parent_trees : Pdf.t list -> unit

(** Merge the structure tree given the part-merged PDF and list of original
    PDFs. Returns the object number of the new structure tree, if any. If
    ?add_toplevel_document is true (default false) a PDF/UA-2-style top-level
    /Document will be added to the structure tree. *)
val merge_structure_trees : ?add_toplevel_document:bool -> Pdf.t -> Pdf.t list -> int option

(**/**)
val endpage : (Pdf.t -> int) ref