Skip to content

happypdf / PDFAcroListBox

Class: PDFAcroListBox

Defined in: src/core/acroform/PDFAcroListBox.ts:6

Extends

Constructors

Constructor

ts
protected new PDFAcroListBox(dict, ref): PDFAcroListBox;

Defined in: src/core/acroform/PDFAcroField.ts:22

Parameters

ParameterType
dictPDFDict
refPDFRef

Returns

PDFAcroListBox

Inherited from

PDFAcroChoice.constructor

Properties

dict

ts
readonly dict: PDFDict;

Defined in: src/core/acroform/PDFAcroField.ts:19

Inherited from

PDFAcroChoice.dict


ref

ts
readonly ref: PDFRef;

Defined in: src/core/acroform/PDFAcroField.ts:20

Inherited from

PDFAcroChoice.ref

Methods

addWidget()

ts
addWidget(ref): void;

Defined in: src/core/acroform/PDFAcroTerminal.ts:33

Parameters

ParameterType
refPDFRef

Returns

void

Inherited from

PDFAcroChoice.addWidget


ascend()

ts
ascend(visitor): void;

Defined in: src/core/acroform/PDFAcroField.ts:160

Parameters

ParameterType
visitor(node) => any

Returns

void

Inherited from

PDFAcroChoice.ascend


clearFlag()

ts
clearFlag(flag): void;

Defined in: src/core/acroform/PDFAcroField.ts:142

Parameters

ParameterType
flagnumber

Returns

void

Inherited from

PDFAcroChoice.clearFlag


create()

ts
static create(context): PDFAcroListBox;

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

Parameters

ParameterType
contextPDFContext

Returns

PDFAcroListBox


DA()

ts
DA(): 
  | PDFHexString
  | PDFString
  | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:49

Returns

| PDFHexString | PDFString | undefined

Inherited from

PDFAcroChoice.DA


Ff()

ts
Ff(): PDFNumber | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:31

Returns

PDFNumber | undefined

Inherited from

PDFAcroChoice.Ff


fromDict()

ts
static fromDict(dict, ref): PDFAcroListBox;

Defined in: src/core/acroform/PDFAcroListBox.ts:7

Parameters

ParameterType
dictPDFDict
refPDFRef

Returns

PDFAcroListBox

Overrides

PDFAcroChoice.fromDict


FT()

ts
FT(): PDFName;

Defined in: src/core/acroform/PDFAcroTerminal.ts:12

Returns

PDFName

Inherited from

PDFAcroChoice.FT


getDefaultAppearance()

ts
getDefaultAppearance(): string | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:97

Returns

string | undefined

Inherited from

PDFAcroChoice.getDefaultAppearance


getFlags()

ts
getFlags(): number;

Defined in: src/core/acroform/PDFAcroField.ts:124

Returns

number

Inherited from

PDFAcroChoice.getFlags


getFullyQualifiedName()

ts
getFullyQualifiedName(): string | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:78

Returns

string | undefined

Inherited from

PDFAcroChoice.getFullyQualifiedName


getInheritableAttribute()

ts
getInheritableAttribute(name): PDFObject | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:152

Parameters

ParameterType
namePDFName

Returns

PDFObject | undefined

Inherited from

PDFAcroChoice.getInheritableAttribute


getOptions()

ts
getOptions(): {
  display: PDFHexString | PDFString;
  value: PDFHexString | PDFString;
}[];

Defined in: src/core/acroform/PDFAcroChoice.ts:106

Returns

{ display: PDFHexString | PDFString; value: PDFHexString | PDFString; }[]

Inherited from

PDFAcroChoice.getOptions


getParent()

ts
getParent(): PDFAcroField | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:59

Returns

PDFAcroField | undefined

Inherited from

PDFAcroChoice.getParent


getPartialName()

ts
getPartialName(): string | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:84

Returns

string | undefined

Inherited from

PDFAcroChoice.getPartialName


getValues()

ts
getValues(): (PDFHexString | PDFString)[];

Defined in: src/core/acroform/PDFAcroChoice.ts:62

Returns

(PDFHexString | PDFString)[]

Inherited from

PDFAcroChoice.getValues


getWidgets()

ts
getWidgets(): PDFWidgetAnnotation[];

Defined in: src/core/acroform/PDFAcroTerminal.ts:17

Returns

PDFWidgetAnnotation[]

Inherited from

PDFAcroChoice.getWidgets


hasFlag()

ts
hasFlag(flag): boolean;

Defined in: src/core/acroform/PDFAcroField.ts:132

Parameters

ParameterType
flagnumber

Returns

boolean

Inherited from

PDFAcroChoice.hasFlag


Kids()

ts
Kids(): PDFArray | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:41

Returns

PDFArray | undefined

Inherited from

PDFAcroChoice.Kids


normalizedEntries()

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

Defined in: src/core/acroform/PDFAcroTerminal.ts:54

Returns

ts
{
  Kids: PDFArray;
}
Kids
ts
Kids: PDFArray;

Inherited from

PDFAcroChoice.normalizedEntries


Opt()

ts
Opt(): 
  | PDFHexString
  | PDFString
  | PDFArray
  | undefined;

Defined in: src/core/acroform/PDFAcroChoice.ts:83

Returns

| PDFHexString | PDFString | PDFArray | undefined

Inherited from

PDFAcroChoice.Opt


removeWidget()

ts
removeWidget(idx): void;

Defined in: src/core/acroform/PDFAcroTerminal.ts:38

Parameters

ParameterType
idxnumber

Returns

void

Inherited from

PDFAcroChoice.removeWidget


setDefaultAppearance()

ts
setDefaultAppearance(appearance): void;

Defined in: src/core/acroform/PDFAcroField.ts:93

Parameters

ParameterType
appearancestring

Returns

void

Inherited from

PDFAcroChoice.setDefaultAppearance


setFlag()

ts
setFlag(flag): void;

Defined in: src/core/acroform/PDFAcroField.ts:137

Parameters

ParameterType
flagnumber

Returns

void

Inherited from

PDFAcroChoice.setFlag


setFlags()

ts
setFlags(flags): void;

Defined in: src/core/acroform/PDFAcroField.ts:128

Parameters

ParameterType
flagsnumber

Returns

void

Inherited from

PDFAcroChoice.setFlags


setFlagTo()

ts
setFlagTo(flag, enable): void;

Defined in: src/core/acroform/PDFAcroField.ts:147

Parameters

ParameterType
flagnumber
enableboolean

Returns

void

Inherited from

PDFAcroChoice.setFlagTo


setFontSize()

ts
setFontSize(fontSize): void;

Defined in: src/core/acroform/PDFAcroField.ts:107

Parameters

ParameterType
fontSizenumber

Returns

void

Inherited from

PDFAcroChoice.setFontSize


setKids()

ts
setKids(kids): void;

Defined in: src/core/acroform/PDFAcroField.ts:55

Parameters

ParameterType
kidsPDFObject[]

Returns

void

Inherited from

PDFAcroChoice.setKids


setOptions()

ts
setOptions(options): void;

Defined in: src/core/acroform/PDFAcroChoice.ts:92

Parameters

ParameterType
options{ display?: PDFHexString | PDFString; value: PDFHexString | PDFString; }[]

Returns

void

Inherited from

PDFAcroChoice.setOptions


setParent()

ts
setParent(parent): void;

Defined in: src/core/acroform/PDFAcroField.ts:73

Parameters

ParameterType
parentPDFRef | undefined

Returns

void

Inherited from

PDFAcroChoice.setParent


setPartialName()

ts
setPartialName(partialName): void;

Defined in: src/core/acroform/PDFAcroField.ts:88

Parameters

ParameterType
partialNamestring | undefined

Returns

void

Inherited from

PDFAcroChoice.setPartialName


setValues()

ts
setValues(values): void;

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

Parameters

ParameterType
values(PDFHexString | PDFString)[]

Returns

void

Inherited from

PDFAcroChoice.setValues


T()

ts
T(): 
  | PDFHexString
  | PDFString
  | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:27

Returns

| PDFHexString | PDFString | undefined

Inherited from

PDFAcroChoice.T


updateSelectedIndices()

ts
updateSelectedIndices(values): void;

Defined in: src/core/acroform/PDFAcroChoice.ts:46

Parameters

ParameterType
values(PDFHexString | PDFString)[]

Returns

void

Inherited from

PDFAcroChoice.updateSelectedIndices


V()

ts
V(): PDFObject | undefined;

Defined in: src/core/acroform/PDFAcroField.ts:36

Returns

PDFObject | undefined

Inherited from

PDFAcroChoice.V


valuesAreValid()

ts
valuesAreValid(values): boolean;

Defined in: src/core/acroform/PDFAcroChoice.ts:35

Parameters

ParameterType
values(PDFHexString | PDFString)[]

Returns

boolean

Inherited from

PDFAcroChoice.valuesAreValid

MIT Licensed. A fork of pdf-lib.