@univerjssheets-formulafacadeclassesFformulasheetsmixin

@univerjs/sheets-formula v0.5.1Docs


Class: FFormulaSheetsMixin

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

Extends

Implements

Constructors

new FFormulaSheetsMixin()

new FFormulaSheetsMixin(_commandService, _injector): FFormulaSheetsMixin

Parameters

ParameterType
_commandServiceICommandService
_injectorInjector

Returns

FFormulaSheetsMixin

Inherited from

FFormula.constructor

Defined in

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

Properties

PropertyModifierTypeInherited fromDefined in
_injectorreadonlyInjectorFFormula._injectorsubmodules/univer/packages/engine-formula/src/facade/f-formula.ts:28

Methods

_initialize()

_initialize(): void

Returns

void

Inherited from

FFormula._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

Inherited from

FFormula.calculationEnd

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

Inherited from

FFormula.calculationProcessing

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

Inherited from

FFormula.calculationStart

Defined in

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


executeCalculation()

executeCalculation(): void

Start the calculation of the formula.

Returns

void

Inherited from

FFormula.executeCalculation

Defined in

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


onCalculationEnd()

onCalculationEnd(): Promise<void>

Returns

Promise<void>

Inherited from

FFormula.onCalculationEnd

Defined in

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


setInitialFormulaComputing()

setInitialFormulaComputing(calculationMode): void

Update the calculation mode of the formula.

Parameters

ParameterType
calculationModeCalculationMode

Returns

void

Implementation of

IFFormulaSheetsMixin.setInitialFormulaComputing

Overrides

FFormula.setInitialFormulaComputing

Defined in

submodules/univer/packages/sheets-formula/src/facade/f-formula.ts:33


stopCalculation()

stopCalculation(): void

Stop the calculation of the formula.

Returns

void

Inherited from

FFormula.stopCalculation

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

FFormula.extend

Defined in

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