@univerjs/engine-formula v0.5.0-beta.1Docs


Class: FFormula

This interface class provides methods to modify the behavior of the operation formula.

Extends

Constructors

new FFormula()

new FFormula(_commandService, _injector): FFormula

Parameters

ParameterType
_commandServiceICommandService
_injectorInjector

Returns

FFormula

Overrides

FBase.constructor

Defined in

submodules/univer/packages/engine-formula/src/facade/f-formula.ts:26

Properties

PropertyModifierTypeDefined in
_injectorreadonlyInjectorsubmodules/univer/packages/engine-formula/src/facade/f-formula.ts:28

Methods

_initialize()

_initialize(): void

Returns

void

Inherited from

FBase._initialize

Defined in

submodules/univer/packages/core/src/facade/f-base.ts:33


calculationEnd()

calculationEnd(callback): IDisposable

Listening calculation ends.

Parameters

ParameterType
callback(functionsExecutedState) => void

Returns

IDisposable

Defined in

submodules/univer/packages/engine-formula/src/facade/f-formula.ts:62


calculationProcessing()

calculationProcessing(callback): IDisposable

Listening calculation processing.

Parameters

ParameterType
callback(stageInfo) => void

Returns

IDisposable

Defined in

submodules/univer/packages/engine-formula/src/facade/f-formula.ts:94


calculationStart()

calculationStart(callback): IDisposable

Listening calculation starts.

Parameters

ParameterType
callback(forceCalculation) => void

Returns

IDisposable

Defined in

submodules/univer/packages/engine-formula/src/facade/f-formula.ts:50


executeCalculation()

executeCalculation(): void

Start the calculation of the formula.

Returns

void

Defined in

submodules/univer/packages/engine-formula/src/facade/f-formula.ts:36


onCalculationEnd()

onCalculationEnd(): Promise<void>

Returns

Promise<void>

Defined in

submodules/univer/packages/engine-formula/src/facade/f-formula.ts:76


stopCalculation()

stopCalculation(): void

Stop the calculation of the formula.

Returns

void

Defined in

submodules/univer/packages/engine-formula/src/facade/f-formula.ts:43


extend()

static extend(source): void

Parameters

ParameterType
sourceany

Returns

void

Inherited from

FBase.extend

Defined in

submodules/univer/packages/core/src/facade/f-base.ts:35