pdf-lite - v1.5.0
    Preparing search index...

    Interface FormContext<TField>

    Interface that PdfAcroForm implements, used by PdfFormField to avoid circular imports. Uses generic field type to avoid circular dependency.

    interface FormContext<TField = any> {
        defaultAppearance: string | null;
        defaultResources: PdfDefaultResourcesDictionary | null;
        fields: TField[];
        fontEncodingMaps: Map<string, Map<number, string>>;
        fontRefs: Map<string, PdfObjectReference>;
        isFontUnicode: (fontName: string) => boolean;
        needAppearances: boolean;
    }

    Type Parameters

    • TField = any

    Implemented by

    Index

    Properties

    defaultAppearance: string | null
    defaultResources: PdfDefaultResourcesDictionary | null
    fields: TField[]
    fontEncodingMaps: Map<string, Map<number, string>>
    fontRefs: Map<string, PdfObjectReference>

    Object references for all resolved fonts, keyed by resource name.

    isFontUnicode: (fontName: string) => boolean
    needAppearances: boolean