@univerjs/engine-formula v0.5.0-beta.1 • Docs


Interface: IFormulaRuntimeService

Properties

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

Methods

clearReferenceAndNumberformatCache()

clearReferenceAndNumberformatCache(): void

Returns

void

Defined in

submodules/univer/packages/engine-formula/src/services/runtime.service.ts:182


disableCycleDependency()

disableCycleDependency(): void

Returns

void

Defined in

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


dispose()

dispose(): void

Returns

void

Defined in

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


enableCycleDependency()

enableCycleDependency(): void

Returns

void

Defined in

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


getAllRuntimeData()

getAllRuntimeData(): IAllRuntimeData

Returns

IAllRuntimeData

Defined in

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


getCompletedArrayFormulasCount()

getCompletedArrayFormulasCount(): number

Returns

number

Defined in

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


getCompletedFormulasCount()

getCompletedFormulasCount(): number

Returns

number

Defined in

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


getFormulaExecuteStage()

getFormulaExecuteStage(): FormulaExecuteStageType

Returns

FormulaExecuteStageType

Defined in

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


getFunctionDefinitionPrivacyVar()

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

Parameters

ParameterType
lambdaIdstring

Returns

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

Defined in

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


getRuntimeArrayFormulaCellData()

getRuntimeArrayFormulaCellData(): IRuntimeUnitDataType

Returns

IRuntimeUnitDataType

Defined in

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


getRuntimeFeatureCellData()

getRuntimeFeatureCellData(): {}

Returns

{}

Defined in

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


getRuntimeFeatureRange()

getRuntimeFeatureRange(): {}

Returns

{}

Defined in

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


getRuntimeOtherData()

getRuntimeOtherData(): IRuntimeOtherUnitDataType

Returns

IRuntimeOtherUnitDataType

Defined in

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


getRuntimeState()

getRuntimeState(): IExecutionInProgressParams

Returns

IExecutionInProgressParams

Defined in

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


getTotalArrayFormulasToCalculate()

getTotalArrayFormulasToCalculate(): number

Returns

number

Defined in

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


getTotalFormulasToCalculate()

getTotalFormulasToCalculate(): number

Returns

number

Defined in

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


getUnitArrayFormula()

getUnitArrayFormula(): IArrayFormulaRangeType

Returns

IArrayFormulaRangeType

Defined in

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


getUnitData()

getUnitData(): IRuntimeUnitDataType

Returns

IRuntimeUnitDataType

Defined in

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


isCycleDependency()

isCycleDependency(): boolean

Returns

boolean

Defined in

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


isStopExecution()

isStopExecution(): boolean

Returns

boolean

Defined in

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


markedAsInitialFunctionsExecuted()

markedAsInitialFunctionsExecuted(): void

Returns

void

Defined in

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


markedAsNoFunctionsExecuted()

markedAsNoFunctionsExecuted(): void

Returns

void

Defined in

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


markedAsStopFunctionsExecuted()

markedAsStopFunctionsExecuted(): void

Returns

void

Defined in

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


markedAsSuccessfullyExecuted()

markedAsSuccessfullyExecuted(): void

Returns

void

Defined in

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


registerFunctionDefinitionPrivacyVar()

registerFunctionDefinitionPrivacyVar(lambdaId, lambdaVar): void

Parameters

ParameterType
lambdaIdstring
lambdaVarMap<string, Nullable<BaseAstNode>>

Returns

void

Defined in

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


reset()

reset(): void

Returns

void

Defined in

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


setCompletedArrayFormulasCount()

setCompletedArrayFormulasCount(value): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

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


setCompletedFormulasCount()

setCompletedFormulasCount(value): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

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


setCurrent()

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

Parameters

ParameterType
rownumber
columnnumber
rowCountnumber
columnCountnumber
sheetIdstring
unitIdstring

Returns

void

Defined in

submodules/univer/packages/engine-formula/src/services/runtime.service.ts:105


setFormulaCycleIndex()

setFormulaCycleIndex(index): void

Parameters

ParameterType
indexnumber

Returns

void

Defined in

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


setFormulaExecuteStage()

setFormulaExecuteStage(type): void

Parameters

ParameterType
typeFormulaExecuteStageType

Returns

void

Defined in

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


setRuntimeData()

setRuntimeData(functionVariant): void

Parameters

ParameterType
functionVariantFunctionVariantType

Returns

void

Defined in

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


setRuntimeFeatureCellData()

setRuntimeFeatureCellData(featureId, featureData): void

Parameters

ParameterType
featureIdstring
featureDataIRuntimeUnitDataType

Returns

void

Defined in

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


setRuntimeFeatureRange()

setRuntimeFeatureRange(featureId, featureRange): void

Parameters

ParameterType
featureIdstring
featureRangeIFeatureDirtyRangeType

Returns

void

Defined in

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


setRuntimeOtherData()

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

Parameters

ParameterType
formulaIdstring
xnumber
ynumber
functionVariantFunctionVariantType

Returns

void

Defined in

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


setTotalArrayFormulasToCalculate()

setTotalArrayFormulasToCalculate(value): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

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


setTotalFormulasToCalculate()

setTotalFormulasToCalculate(value): void

Parameters

ParameterType
valuenumber

Returns

void

Defined in

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


stopExecution()

stopExecution(): void

Returns

void

Defined in

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