package cpdf

  1. Overview
  2. Docs
PDF command line tools

Install

Dune Dependency

Authors

Maintainers

Sources

v2.8.tar.gz
md5=d79b6abd10bd4a231f1f91cdbefb3998
sha512=0a77525252a5acb8ac4fdcbdd1620d2e14b5309235521089c7183e73e95d0efba104e5afc3dc890a73b965d7a644d190c2b611ab39aa3fde3cfdaf651980ba6b

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.