Skip to content

happypdf / PDFAcroForm

Class: PDFAcroForm

Defined in: src/core/acroform/PDFAcroForm.ts:10

Properties

dict

ts
readonly dict: PDFDict;

Defined in: src/core/acroform/PDFAcroForm.ts:11

Methods

addField()

ts
addField(field): void;

Defined in: src/core/acroform/PDFAcroForm.ts:63

Parameters

ParameterType
fieldPDFRef

Returns

void


create()

ts
static create(context): PDFAcroForm;

Defined in: src/core/acroform/PDFAcroForm.ts:15

Parameters

ParameterType
contextPDFContext

Returns

PDFAcroForm


Fields()

ts
Fields(): PDFArray | undefined;

Defined in: src/core/acroform/PDFAcroForm.ts:24

Returns

PDFArray | undefined


fromDict()

ts
static fromDict(dict): PDFAcroForm;

Defined in: src/core/acroform/PDFAcroForm.ts:13

Parameters

ParameterType
dictPDFDict

Returns

PDFAcroForm


getAllFields()

ts
getAllFields(): [PDFAcroField, PDFRef][];

Defined in: src/core/acroform/PDFAcroForm.ts:43

Returns

[PDFAcroField, PDFRef][]


getFields()

ts
getFields(): [PDFAcroField, PDFRef][];

Defined in: src/core/acroform/PDFAcroForm.ts:30

Returns

[PDFAcroField, PDFRef][]


normalizedEntries()

ts
normalizedEntries(): {
  Fields: PDFArray;
};

Defined in: src/core/acroform/PDFAcroForm.ts:87

Returns

ts
{
  Fields: PDFArray;
}
Fields
ts
Fields: PDFArray;

removeField()

ts
removeField(field): void;

Defined in: src/core/acroform/PDFAcroForm.ts:68

Parameters

ParameterType
fieldPDFAcroField

Returns

void

MIT Licensed. A fork of pdf-lib.