for (annot = pdf_first_annot(ctx, page); annot != NULL; annot = pdf_next_annot(ctx, annot))
pdf_filter_annot_contents(ctx, doc, annot, &options);
+ for (annot = pdf_first_widget(ctx, page); annot != NULL; annot = pdf_next_annot(ctx, annot))
+ pdf_filter_annot_contents(ctx, doc, annot, &options);
}
fz_always(ctx)
fz_drop_page(ctx, &page->super);
for (annot = pdf_first_annot(ctx, page); annot != NULL; annot = pdf_next_annot(ctx, annot))
pdf_filter_annot_contents(ctx, doc, annot, &options);
+ for (annot = pdf_first_widget(ctx, page); annot != NULL; annot = pdf_next_annot(ctx, annot))
+ pdf_filter_annot_contents(ctx, doc, annot, &options);
}
fz_always(ctx)
fz_drop_page(ctx, &page->super);