API Reference
@univerjs
@univerjs/facade
classes
Fformula

@univerjs/facade v0.4.2Docs


Class: FFormula

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

Constructors

new FFormula()

new FFormula(_commandService): FFormula

Parameters

ParameterType
_commandServiceICommandService

Returns

FFormula

Defined in

submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:26 (opens in a new tab)

Methods

calculationEnd()

calculationEnd(callback): IDisposable

Listening calculation ends.

Parameters

ParameterType
callback(functionsExecutedState) => void

Returns

IDisposable

Defined in

submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:69 (opens in a new tab)


calculationProcessing()

calculationProcessing(callback): IDisposable

Listening calculation processing.

Parameters

ParameterType
callback(stageInfo) => void

Returns

IDisposable

Defined in

submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:101 (opens in a new tab)


calculationStart()

calculationStart(callback): IDisposable

Listening calculation starts.

Parameters

ParameterType
callback(forceCalculation) => void

Returns

IDisposable

Defined in

submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:57 (opens in a new tab)


executeCalculation()

executeCalculation(): void

Start the calculation of the formula.

Returns

void

Defined in

submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:34 (opens in a new tab)


onCalculationEnd()

onCalculationEnd(): Promise<void>

Returns

Promise<void>

Defined in

submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:83 (opens in a new tab)


stopCalculation()

stopCalculation(): void

Stop the calculation of the formula.

Returns

void

Defined in

submodules/univer/packages/facade/src/apis/sheets/f-formula.ts:50 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.