module Cpdfannot:sig..end
Annotations
val get_annotations_json : ?subtypes:Pdfannot.subtype list ->
?subtypes_no:Pdfannot.subtype list -> Pdf.t -> int list -> Pdfio.bytesGet annotations as JSON
val set_annotations_json : Pdf.t -> Pdfio.input -> unitSet annotations from JSON.
val remove_annotations : int list -> Pdf.t -> Pdf.tRemove the annotations on given pages.
val copy_annotations : int list -> Pdf.t -> Pdf.t -> unitCopy the annotations on a given set of pages
val add_annotation : float * float * float * float ->
fill_color:Cpdfutil.colour ->
outline_color:Cpdfutil.colour ->
applied_opacity:float ->
overlay:string option ->
overlay_text_colour:Cpdfutil.colour ->
overlay_justification:Cpdfutil.justification ->
overlay_repeat:bool ->
overlay_auto_size:bool ->
font:Cpdfembed.cpdffont ->
fontsize:float ->
text_opacity:float ->
linespacing:float ->
linewidth:float -> outline:bool -> Pdf.t -> int list -> Pdf.tAdd an annotation (presently just redaction).
val stamp_annotation_appearance : Pdf.t -> Pdfpage.t -> Pdf.pdfobject -> int -> Pdfpage.tStamp an annotation appearance.
val flatten : ?subtypes:Pdfannot.subtype list ->
?subtypes_no:Pdfannot.subtype list -> Pdf.t -> int list -> Pdf.tFlatten annotations.
val subtype_of_string : string -> Pdfannot.subtypeAnnotation type from a string.
val get_annotations : Cpdfmetadata.encoding -> Pdf.t -> (int * string) listReturn the annotations as a simple old-style (pagenumber, content) list.
val list_annotations : int list -> Cpdfmetadata.encoding -> Pdf.t -> unitList the annotations to standard output in a given encoding.