module Cpdfannot:sig
..end
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.