package cpdf

  1. Overview
  2. Docs
High-level PDF tools based on CamlPDF

Install

Dune Dependency

Authors

Maintainers

Sources

v2.6.tar.gz
md5=f69a01ef0f02a57d6c8e2e7b75984bca
sha512=482ffe027112d313f876758d83353c2952bf30e351748c2aa832f333da1683ad4adb813b6c3c87b77462b7da2922e38dd2d668bac6558ad315e1286a31446e1d

doc/cpdf/Cpdftweak/index.html

Module Cpdftweak

Miscellany

val thinlines : int list -> float -> Pdf.t -> Pdf.t

Make all lines in the PDF at least a certain thickness.

val blacktext : Cpdfaddtext.color -> int list -> Pdf.t -> Pdf.t

Make all text on certain pages black.

val blacklines : Cpdfaddtext.color -> int list -> Pdf.t -> Pdf.t

Make all lines on certain pages black.

val blackfills : Cpdfaddtext.color -> int list -> Pdf.t -> Pdf.t

Make all fills on certain pages black.

val append_page_content : string -> bool -> bool -> int list -> Pdf.t -> Pdf.t

Append page content.

val remove_dict_entry : Pdf.t -> string -> Pdf.pdfobject option -> unit

Remove a dictionary entry.

val replace_dict_entry : Pdf.t -> string -> Pdf.pdfobject -> Pdf.pdfobject option -> unit

Replace a dictionary entry.

val print_dict_entry : utf8:bool -> Pdf.t -> string -> unit

Print a dictionary entry.

val get_dict_entries : utf8:bool -> Pdf.t -> string -> Pdfio.bytes

Get dictionary entries in JSON format

val remove_clipping : Pdf.t -> int list -> Pdf.t

Remove clipping.

OCaml

Innovation. Community. Security.