@univerjs/engine-formula v0.5.0-beta.1 • Docs
Interface: ICalculateFormulaService
Properties
Property | Type | Defined in |
---|---|---|
executionCompleteListener$ | Observable <IAllRuntimeData > | submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:61 |
executionInProgressListener$ | Observable <IExecutionInProgressParams > | submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:60 |
Methods
calculate()
calculate(formulaString, transformSuffix?): void
Parameters
Parameter | Type |
---|---|
formulaString | string |
transformSuffix ? | boolean |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:71
execute()
execute(formulaDatasetConfig): Promise<void>
Parameters
Parameter | Type |
---|---|
formulaDatasetConfig | IFormulaDatasetConfig |
Returns
Promise
<void
>
Defined in
submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:67
setRuntimeFeatureCellData()
setRuntimeFeatureCellData(featureId, featureData): void
Parameters
Parameter | Type |
---|---|
featureId | string |
featureData | IRuntimeUnitDataType |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:63
setRuntimeFeatureRange()
setRuntimeFeatureRange(featureId, featureRange): void
Parameters
Parameter | Type |
---|---|
featureId | string |
featureRange | IFeatureDirtyRangeType |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:65
stopFormulaExecution()
stopFormulaExecution(): void
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/calculate-formula.service.ts:69