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

    Class PdfAcroForm<T>

    Type Parameters

    • T extends Record<string, string> = Record<string, string>

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    fontEncodingMaps: Map<string, Map<number, string> | null> = ...
    innerTokens: PdfToken[] = []
    modified: boolean = true

    Indicates whether the object has been modified. By default, assume it has been modified because it's a new object

    postTokens?: PdfToken[]

    Optional tokens to prepend or append during serialization

    preTokens?: PdfToken[]

    Optional tokens to prepend or append during serialization

    Accessors

    Methods

    • Type Parameters

      • K extends "Q" | "DA" | "Fields" | "NeedAppearances" | "SigFlags" | "CO" | "DR"

      Parameters

      Returns void

    • Gets the encoding map for a specific font in the form's resources. Returns null if no custom encoding is found. Results are cached for performance.

      Parameters

      • fontName: string

      Returns Promise<Map<number, string> | null>

    • Type Parameters

      • K extends "Q" | "DA" | "Fields" | "NeedAppearances" | "SigFlags" | "CO" | "DR"

      Parameters

      Returns boolean