@univerjs-pro/engine-formula v0.5.4


Interface: IFormulaRuntimeService

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:90

Properties

PropertyTypeDefined in
currentColumnnumbersubmodules/univer/packages/engine-formula/src/services/runtime.service.ts:93
currentRownumbersubmodules/univer/packages/engine-formula/src/services/runtime.service.ts:91
currentSubUnitIdstringsubmodules/univer/packages/engine-formula/src/services/runtime.service.ts:95
currentUnitIdstringsubmodules/univer/packages/engine-formula/src/services/runtime.service.ts:97

Methods

clearReferenceAndNumberformatCache()

clearReferenceAndNumberformatCache(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:180

Returns

void


disableCycleDependency()

disableCycleDependency(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:166

Returns

void


dispose()

dispose(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:99

Returns

void


enableCycleDependency()

enableCycleDependency(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:164

Returns

void


getAllRuntimeData()

getAllRuntimeData(): IAllRuntimeData

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:136

Returns

IAllRuntimeData


getCompletedArrayFormulasCount()

getCompletedArrayFormulasCount(): number

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:162

Returns

number


getCompletedFormulasCount()

getCompletedFormulasCount(): number

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:152

Returns

number


getFormulaExecuteStage()

getFormulaExecuteStage(): FormulaExecuteStageType

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:130

Returns

FormulaExecuteStageType


getFunctionDefinitionPrivacyVar()

getFunctionDefinitionPrivacyVar(lambdaId): Nullable<Map<string, Nullable<BaseAstNode>>>

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:114

Parameters

ParameterType
lambdaIdstring

Returns

Nullable<Map<string, Nullable<BaseAstNode>>>


getRuntimeArrayFormulaCellData()

getRuntimeArrayFormulaCellData(): IRuntimeUnitDataType

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:170

Returns

IRuntimeUnitDataType


getRuntimeFeatureCellData()

getRuntimeFeatureCellData(): {}

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:174

Returns

{}

getRuntimeFeatureRange()

getRuntimeFeatureRange(): {}

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:172

Returns

{}

getRuntimeOtherData()

getRuntimeOtherData(): IRuntimeOtherUnitDataType

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:134

Returns

IRuntimeOtherUnitDataType


getRuntimeState()

getRuntimeState(): IExecutionInProgressParams

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:154

Returns

IExecutionInProgressParams


getTotalArrayFormulasToCalculate()

getTotalArrayFormulasToCalculate(): number

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:158

Returns

number


getTotalFormulasToCalculate()

getTotalFormulasToCalculate(): number

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:148

Returns

number


getUnitArrayFormula()

getUnitArrayFormula(): IArrayFormulaRangeType

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:120

Returns

IArrayFormulaRangeType


getUnitData()

getUnitData(): IRuntimeUnitDataType

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:118

Returns

IRuntimeUnitDataType


isCycleDependency()

isCycleDependency(): boolean

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:168

Returns

boolean


isStopExecution()

isStopExecution(): boolean

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:128

Returns

boolean


markedAsInitialFunctionsExecuted()

markedAsInitialFunctionsExecuted(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:144

Returns

void


markedAsNoFunctionsExecuted()

markedAsNoFunctionsExecuted(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:140

Returns

void


markedAsStopFunctionsExecuted()

markedAsStopFunctionsExecuted(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:142

Returns

void


markedAsSuccessfullyExecuted()

markedAsSuccessfullyExecuted(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:138

Returns

void


registerFunctionDefinitionPrivacyVar()

registerFunctionDefinitionPrivacyVar(lambdaId, lambdaVar): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:112

Parameters

ParameterType
lambdaIdstring
lambdaVarMap<string, Nullable<BaseAstNode>>

Returns

void


reset()

reset(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:101

Returns

void


setCompletedArrayFormulasCount()

setCompletedArrayFormulasCount(value): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:160

Parameters

ParameterType
valuenumber

Returns

void


setCompletedFormulasCount()

setCompletedFormulasCount(value): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:150

Parameters

ParameterType
valuenumber

Returns

void


setCurrent()

setCurrent(
   row, 
   column, 
   rowCount, 
   columnCount, 
   sheetId, 
   unitId): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:103

Parameters

ParameterType
rownumber
columnnumber
rowCountnumber
columnCountnumber
sheetIdstring
unitIdstring

Returns

void


setFormulaCycleIndex()

setFormulaCycleIndex(index): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:126

Parameters

ParameterType
indexnumber

Returns

void


setFormulaExecuteStage()

setFormulaExecuteStage(type): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:124

Parameters

ParameterType
typeFormulaExecuteStageType

Returns

void


setRuntimeData()

setRuntimeData(functionVariant): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:116

Parameters

ParameterType
functionVariantFunctionVariantType

Returns

void


setRuntimeFeatureCellData()

setRuntimeFeatureCellData(featureId, featureData): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:176

Parameters

ParameterType
featureIdstring
featureDataIRuntimeUnitDataType

Returns

void


setRuntimeFeatureRange()

setRuntimeFeatureRange(featureId, featureRange): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:178

Parameters

ParameterType
featureIdstring
featureRangeIFeatureDirtyRangeType

Returns

void


setRuntimeOtherData()

setRuntimeOtherData(
   formulaId, 
   x, 
   y, 
   functionVariant): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:132

Parameters

ParameterType
formulaIdstring
xnumber
ynumber
functionVariantFunctionVariantType

Returns

void


setTotalArrayFormulasToCalculate()

setTotalArrayFormulasToCalculate(value): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:156

Parameters

ParameterType
valuenumber

Returns

void


setTotalFormulasToCalculate()

setTotalFormulasToCalculate(value): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:146

Parameters

ParameterType
valuenumber

Returns

void


stopExecution()

stopExecution(): void

Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:122

Returns

void