Skip to contents

Returns the set of FPDF_ANNOT_* subtype codes the document's form-fill module accepts for tab-focus, as names. Widget annotations are always focusable by default; other subtypes can be registered via FPDFAnnot_SetFocusableSubtypes (writer side, not yet exposed). Wraps FPDFAnnot_GetFocusableSubtypesCount and FPDFAnnot_GetFocusableSubtypes.

Usage

pdf_doc_focusable_subtypes(doc, password = NULL)

Arguments

doc

A pdfium_doc from pdf_doc_open(), or a character path.

password

Optional password for encrypted PDFs when doc is a path. Ignored when doc is already an open pdfium_doc.

Value

Character vector of annotation-subtype names. Empty when the document has no form-fill module or no focusable subtypes.

Details

Mostly a viewer-UI concern; exposed here for round-trip completeness against the v0.2.0 setter.

See also

pdf_annotations() (subtype column maps to the same names).