Files
med-notes/.pnpm-store/v10/files/fa/746bf1e827c21fb17a811384644763bc8b6c6c29594f4be3b440f29bd6ac6b09b99347f346efdd1c215cda721c115bba4d3e8e15d65e0bbdc1fb70e3277d5c
2025-05-09 05:30:08 +02:00

22 lines
747 B
Plaintext

export type TextContent = import("./api").TextContent;
/** @typedef {import("./api").TextContent} TextContent */
export class XfaText {
/**
* Walk an XFA tree and create an array of text nodes that is compatible
* with a regular PDFs TextContent. Currently, only TextItem.str is supported,
* all other fields and styles haven't been implemented.
*
* @param {Object} xfa - An XFA fake DOM object.
*
* @returns {TextContent}
*/
static textContent(xfa: Object): TextContent;
/**
* @param {string} name - DOM node name. (lower case)
*
* @returns {boolean} true if the DOM node should have a corresponding text
* node.
*/
static shouldBuildText(name: string): boolean;
}