pub fn annotations(
reader: &mut DocumentReader<'_>,
) -> Result<Vec<PdfAnnotation>, PdfError>Expand description
Walk every page in DFS order, collecting every annotation.
Pages without /Annots contribute zero entries; malformed
annotation dicts are skipped silently.