@univerjs/engine-formula v0.5.4


Interface: ICalculateFormulaService

Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:57

Properties

PropertyTypeDefined in
executionCompleteListener$Observable<IAllRuntimeData>submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:59
executionInProgressListener$Observable<IExecutionInProgressParams>submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:58

Methods

calculate()

calculate(formulaString, transformSuffix?): void

Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:69

Parameters

ParameterType
formulaStringstring
transformSuffix?boolean

Returns

void


execute()

execute(formulaDatasetConfig): Promise<void>

Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:65

Parameters

ParameterType
formulaDatasetConfigIFormulaDatasetConfig

Returns

Promise<void>


setRuntimeFeatureCellData()

setRuntimeFeatureCellData(featureId, featureData): void

Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:61

Parameters

ParameterType
featureIdstring
featureDataIRuntimeUnitDataType

Returns

void


setRuntimeFeatureRange()

setRuntimeFeatureRange(featureId, featureRange): void

Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:63

Parameters

ParameterType
featureIdstring
featureRangeIFeatureDirtyRangeType

Returns

void


stopFormulaExecution()

stopFormulaExecution(): void

Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:67

Returns

void