Skip to main content

parse_acroform

Function parse_acroform 

Source
pub fn parse_acroform(
    resolver: &Resolver<'_>,
    sink: &WarningSink,
) -> Option<FormCatalog>
Expand description

Parse the document’s /AcroForm if present.

Returns None when the catalog has no /AcroForm entry. Always returns a populated value otherwise; malformed sub-entries are tolerated (defaulted) rather than fatal, and structural truncations (cycle, depth-cap, field-cap) push ParseWarnings into sink.