sempdf
sempdf v1.9.1Interfaces

Interface: ParsedPdfFormField

sempdf v1.9.1


sempdf / ParsedPdfFormField

Defined in: src/parser.ts:246

Form field metadata discovered while parsing an existing PDF.

Properties

PropertyModifierTypeDescriptionDefined in
buttonKind?readonly"checkBox" | "pushButton" | "radio"Resolved button field subtype.src/parser.ts:254
checked?readonlybooleanInitial checkbox checked state.src/parser.ts:262
choiceMode?readonly"list" | "combo"Resolved choice field display mode.src/parser.ts:260
fieldType?readonlystringRaw AcroForm field type name.src/parser.ts:252
multiline?readonlybooleanWhether the text field accepts multiple lines.src/parser.ts:272
namereadonlystringName of the item, field, destination, or signer.src/parser.ts:250
objectIdreadonlynumberPDF indirect object number for the parsed item.src/parser.ts:248
options?readonlyreadonly string[]Options that control this item.src/parser.ts:258
pageObjectId?readonlynumberObject id of the page associated with this item.src/parser.ts:264
readOnly?readonlybooleanWhether the form field is read-only.src/parser.ts:268
rect?readonlyreadonly number[]Annotation or widget rectangle in PDF coordinates.src/parser.ts:266
required?readonlybooleanWhether the form field is required.src/parser.ts:270
value?readonlystringCurrent or default value for the option.src/parser.ts:256

On this page