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

    Class PdfXfaManager

    Manages XFA (XML Forms Architecture) forms in PDF documents. Provides methods to read and write XFA form data as XML.

    Index

    Constructors

    Methods

    • Checks if the document contains XFA forms.

      Returns Promise<boolean>

      True if the document has XFA forms, false otherwise

    • Reads the XFA form data as XML string.

      Returns Promise<string | null>

      The XFA datasets XML content, or null if no XFA form exists

    • Writes XML content to the XFA datasets stream.

      Parameters

      • xml: string

        The XML content to write

      Returns Promise<void>

      Error if the document doesn't have XFA forms