package cpdf
PDF command line tools
Install
Dune Dependency
Authors
Maintainers
Sources
v2.8.1.tar.gz
md5=45ba51aae6b5d3ea6cb421037f8f73bb
sha512=f325c703835a82be462cafa5fb9548329ef648e3aa66bca73c2ae1d9e99813b3008915018bf5090e0c0dd6e31509e97895b01c64a9b4484c4993be59e85995e8
doc/cpdf/Cpdfua/index.html
Module Cpdfua
PDF/UA
val subformat_of_string : string -> subformat
Parse PDF/UA-1 and PDF/UA-2 to the subformat type.
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.
val create_pdfua1 : string -> Pdfpaper.t -> int -> Pdf.t
Make a blank PDF/UA-1 PDF given a title, paper size, and number of pages.
val create_pdfua2 : string -> Pdfpaper.t -> int -> Pdf.t
Make a blank PDF/UA-2 PDF given a title, paper size, and number of pages.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>