Skip to content

cupertino-files / CellControl

Interface: CellControl

Defined in: src/tst/controls.ts:118

A control attached to one or more cells.

Properties

hasFormula

hasFormula: boolean

Defined in: src/tst/controls.ts:140

True when the control computes its value rather than storing one.


increment

increment: number | undefined

Defined in: src/tst/controls.ts:134


interactionType

interactionType: number | undefined

Defined in: src/tst/controls.ts:122

Raw interaction_type; the enum is not published, see the module note.


key

key: number

Defined in: src/tst/controls.ts:120

Key in the table's control-spec list, which cells point at.


maximum

maximum: number | undefined

Defined in: src/tst/controls.ts:133


minimum

minimum: number | undefined

Defined in: src/tst/controls.ts:132

Slider and stepper bounds.


populatedFields

populatedFields: number[]

Defined in: src/tst/controls.ts:149

Field numbers the archive actually populates.

The point of reporting these: with interaction_type unpublished, the set of populated fields is what distinguishes one widget from another, and scripts/probe-unknowns.ts prints it so a document made in Numbers pins the enum in one pass.


popupModelId

popupModelId: bigint | undefined

Defined in: src/tst/controls.ts:136

The popup model a chooser draws its items from.


shape

shape: ControlShape

Defined in: src/tst/controls.ts:130


startsWithFirstItem

startsWithFirstItem: boolean | undefined

Defined in: src/tst/controls.ts:138

True when a chooser starts on its first item rather than empty.


widget

widget: string | undefined

Defined in: src/tst/controls.ts:129

The widget Numbers draws, from INTERACTION_TYPE_NAMES.

undefined for a code this library has not seen — the raw number is still in interactionType, and shape still classifies it.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.