@univerjs-pro/engine-formula v0.5.4
Interface: ICalculateFormulaService
Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:57
Properties
Property | Type | Defined 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
Parameter | Type |
---|---|
formulaString | string |
transformSuffix ? | boolean |
Returns
void
execute()
execute(formulaDatasetConfig): Promise<void>
Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:65
Parameters
Parameter | Type |
---|---|
formulaDatasetConfig | IFormulaDatasetConfig |
Returns
Promise
<void
>
setRuntimeFeatureCellData()
setRuntimeFeatureCellData(featureId, featureData): void
Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:61
Parameters
Parameter | Type |
---|---|
featureId | string |
featureData | IRuntimeUnitDataType |
Returns
void
setRuntimeFeatureRange()
setRuntimeFeatureRange(featureId, featureRange): void
Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:63
Parameters
Parameter | Type |
---|---|
featureId | string |
featureRange | IFeatureDirtyRangeType |
Returns
void
stopFormulaExecution()
stopFormulaExecution(): void
Defined in: submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:67
Returns
void