package cpdf

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

Install

Dune Dependency

Authors

Maintainers

Sources

v2.7.zip
md5=8dd7b420b71374640679351cfa618c44
sha512=ddb2f30d10699ef4b843d06d30620ba018dbaec1ac9180b3fb7e85d1100718ece13212d56eca18139fdf1a19e4b27dbc6f31f628c4296273813448fb29d624e0

doc/cpdf/Cpdfannot/index.html

Module Cpdfannot

Annotations

val get_annotations_json : Pdf.t -> int list -> Pdfio.bytes

Get annotations as JSON

val set_annotations_json : Pdf.t -> Pdfio.input -> unit

Set annotations from JSON.

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

Remove the annotations on given pages.

val copy_annotations : int list -> Pdf.t -> Pdf.t -> unit

Copy the annotations on a given set of pages

val get_annotations : Cpdfmetadata.encoding -> Pdf.t -> (int * string) list

Return the annotations as a simple old-style (pagenumber, content) list.

val list_annotations : int list -> Cpdfmetadata.encoding -> Pdf.t -> unit

List the annotations to standard output in a given encoding.

OCaml

Innovation. Community. Security.