cpdf-source/cpdfua.mli

26 lines
771 B
OCaml
Raw Normal View History

2024-05-28 17:59:41 +02:00
(** PDF/UA *)
2024-07-24 16:05:02 +02:00
(** Print matterhorn test results ("" = all tests) *)
2024-06-24 17:33:43 +02:00
val test_matterhorn_print : Pdf.t -> string -> unit
2024-07-24 16:05:02 +02:00
(** Return JSON results of a matterhorn test ("" = all tests *)
2024-06-24 17:33:43 +02:00
val test_matterhorn_json : Pdf.t -> string -> Cpdfyojson.Safe.t
2024-05-30 18:49:23 +02:00
2024-07-24 16:05:02 +02:00
(** Mark PDF as PDF/UA-1 compliant. *)
2024-05-30 18:49:23 +02:00
val mark : Pdf.t -> unit
2024-06-03 16:49:52 +02:00
2024-07-24 16:05:02 +02:00
(** Mark PDF as PDF/UA-2 compliant. *)
2024-06-26 16:34:45 +02:00
val mark2 : int -> Pdf.t -> unit
2024-07-24 16:05:02 +02:00
(** Remove any PDF/UA-* marker *)
2024-06-18 16:28:19 +02:00
val remove_mark : Pdf.t -> unit
2024-07-24 16:05:02 +02:00
(** Print the structure tree to standard output, graphically. *)
2024-06-27 15:21:47 +02:00
val print_struct_tree : Pdf.t -> unit
2024-07-24 16:05:02 +02:00
(** Extract structure tree to JSON *)
2024-06-03 16:49:52 +02:00
val extract_struct_tree : Pdf.t -> Cpdfyojson.Safe.t
2024-07-24 16:05:02 +02:00
(** Reapply an edited JSON structure tree to its PDF. *)
val replace_struct_tree : Pdf.t -> Cpdfyojson.Safe.t -> unit