package cpdf
Module Cpdfannot
Annotations
val list_annotations : json:bool -> Cpdfmetadata.encoding -> Pdf.t -> unitList the annotations to standard output in a given encoding. See cpdfmanual.pdf for the format details.
val get_annotations : Cpdfmetadata.encoding -> Pdf.t -> (int * string) listReturn the annotations as a (pagenumber, content) list
val get_annotations_json : Pdf.t -> Pdfio.bytesGet annotations as JSON
Copy the annotations on a given set of pages from a to b. b is returned.