Skip to main content

Module annotation

Module annotation 

Source
Expand description

Annotation parsing: /Annots entries resolved into renderable form — /Rect, /F flags, the /AS-selected normal appearance stream, and the optional-content membership (/OC). Painting itself happens in zpdf-content, which replays the appearance stream as a form XObject mapped onto /Rect (PDF 32000-1 §12.5.5).

Structs§

Annotation

Constants§

ANNOT_FLAG_HIDDEN
Annotation flag bits (PDF 32000-1 Table 165).
ANNOT_FLAG_NOVIEW

Functions§

parse_annotations
Parse a page’s annotations into renderable form. Unresolvable or appearance-less entries are kept (callers may want link rects later) but fail is_viewable. When an AcroForm is supplied, widget annotations gain a generated appearance where the producer left none.