package cpdf

  1. Overview
  2. Docs
PDF command line tools

Install

Dune Dependency

Authors

Maintainers

Sources

v2.7.1.tar.gz
md5=9dc2502c6e97a786cdd1af5e1db5a2e1
sha512=b23c1c151f095d11b6c3c56766cdc05aa6b12a0e1224880a050f69f67c4d40053f2415ac3f9e54233bf8314ca8bdfccc2c65dd44b0c6d60ae8d7c08b1c411a04

doc/cpdf/Cpdfua/index.html

Module Cpdfua

PDF/UA

val test_matterhorn_print : Pdf.t -> string -> unit

Print matterhorn test results ("" = all tests)

val test_matterhorn_json : Pdf.t -> string -> Cpdfyojson.Safe.t

Return JSON results of a matterhorn test ("" = all tests

val mark : Pdf.t -> unit

Mark PDF as PDF/UA-1 compliant.

val mark2 : int -> Pdf.t -> unit

Mark PDF as PDF/UA-2 compliant.

val remove_mark : Pdf.t -> unit

Remove any PDF/UA-* marker

val print_struct_tree : Pdf.t -> unit

Print the structure tree to standard output, graphically.

val extract_struct_tree : Pdf.t -> Cpdfyojson.Safe.t

Extract structure tree to JSON

val replace_struct_tree : Pdf.t -> Cpdfyojson.Safe.t -> unit

Reapply an edited JSON structure tree to its PDF.

OCaml

Innovation. Community. Security.