@univerjs-pro/engine-formula v0.5.4


Class: FormulaRuntimeService

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

Extends

Implements

Constructors

new FormulaRuntimeService()

new FormulaRuntimeService(_currentConfigService): FormulaRuntimeService

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

Parameters

ParameterType
_currentConfigServiceIFormulaCurrentConfigService

Returns

FormulaRuntimeService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Accessors

currentColumn

Get Signature

get currentColumn(): number

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

Returns

number

Implementation of

IFormulaRuntimeService.currentColumn


currentColumnCount

Get Signature

get currentColumnCount(): number

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

Returns

number


currentRow

Get Signature

get currentRow(): number

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

Returns

number

Implementation of

IFormulaRuntimeService.currentRow


currentRowCount

Get Signature

get currentRowCount(): number

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

Returns

number


currentSubUnitId

Get Signature

get currentSubUnitId(): string

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

Returns

string

Implementation of

IFormulaRuntimeService.currentSubUnitId


currentUnitId

Get Signature

get currentUnitId(): string

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

Returns

string

Implementation of

IFormulaRuntimeService.currentUnitId

Methods

clearFunctionDefinitionPrivacyVar()

clearFunctionDefinitionPrivacyVar(): void

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

Returns

void


clearReferenceAndNumberformatCache()

clearReferenceAndNumberformatCache(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.clearReferenceAndNumberformatCache


disableCycleDependency()

disableCycleDependency(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.disableCycleDependency


dispose()

dispose(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.dispose

Overrides

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


enableCycleDependency()

enableCycleDependency(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.enableCycleDependency


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


getAllRuntimeData()

getAllRuntimeData(): IAllRuntimeData

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

Returns

IAllRuntimeData

Implementation of

IFormulaRuntimeService.getAllRuntimeData


getCompletedArrayFormulasCount()

getCompletedArrayFormulasCount(): number

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

Returns

number

Implementation of

IFormulaRuntimeService.getCompletedArrayFormulasCount


getCompletedFormulasCount()

getCompletedFormulasCount(): number

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

Returns

number

Implementation of

IFormulaRuntimeService.getCompletedFormulasCount


getFormulaCycleIndex()

getFormulaCycleIndex(): number

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

Returns

number


getFormulaExecuteStage()

getFormulaExecuteStage(): FormulaExecuteStageType

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

Returns

FormulaExecuteStageType

Implementation of

IFormulaRuntimeService.getFormulaExecuteStage


getFunctionDefinitionPrivacyVar()

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

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

Parameters

ParameterType
lambdaIdstring

Returns

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

Implementation of

IFormulaRuntimeService.getFunctionDefinitionPrivacyVar


getRuntimeArrayFormulaCellData()

getRuntimeArrayFormulaCellData(): IRuntimeUnitDataType

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

Returns

IRuntimeUnitDataType

Implementation of

IFormulaRuntimeService.getRuntimeArrayFormulaCellData


getRuntimeClearArrayFormulaCellData()

getRuntimeClearArrayFormulaCellData(): IRuntimeUnitDataType

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

Returns

IRuntimeUnitDataType


getRuntimeFeatureCellData()

getRuntimeFeatureCellData(): {}

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

Returns

{}

Implementation of

IFormulaRuntimeService.getRuntimeFeatureCellData


getRuntimeFeatureRange()

getRuntimeFeatureRange(): {}

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

Returns

{}

Implementation of

IFormulaRuntimeService.getRuntimeFeatureRange


getRuntimeOtherData()

getRuntimeOtherData(): IRuntimeOtherUnitDataType

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

Returns

IRuntimeOtherUnitDataType

Implementation of

IFormulaRuntimeService.getRuntimeOtherData


getRuntimeState()

getRuntimeState(): IExecutionInProgressParams

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

Returns

IExecutionInProgressParams

Implementation of

IFormulaRuntimeService.getRuntimeState


getTotalArrayFormulasToCalculate()

getTotalArrayFormulasToCalculate(): number

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

Returns

number

Implementation of

IFormulaRuntimeService.getTotalArrayFormulasToCalculate


getTotalFormulasToCalculate()

getTotalFormulasToCalculate(): number

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

Returns

number

Implementation of

IFormulaRuntimeService.getTotalFormulasToCalculate


getUnitArrayFormula()

getUnitArrayFormula(): IArrayFormulaRangeType

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

Returns

IArrayFormulaRangeType

Implementation of

IFormulaRuntimeService.getUnitArrayFormula


getUnitData()

getUnitData(): IRuntimeUnitDataType

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

Returns

IRuntimeUnitDataType

Implementation of

IFormulaRuntimeService.getUnitData


isCycleDependency()

isCycleDependency(): boolean

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

Returns

boolean

Implementation of

IFormulaRuntimeService.isCycleDependency


isStopExecution()

isStopExecution(): boolean

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

Returns

boolean

Implementation of

IFormulaRuntimeService.isStopExecution


markedAsInitialFunctionsExecuted()

markedAsInitialFunctionsExecuted(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.markedAsInitialFunctionsExecuted


markedAsNoFunctionsExecuted()

markedAsNoFunctionsExecuted(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.markedAsNoFunctionsExecuted


markedAsStopFunctionsExecuted()

markedAsStopFunctionsExecuted(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.markedAsStopFunctionsExecuted


markedAsSuccessfullyExecuted()

markedAsSuccessfullyExecuted(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.markedAsSuccessfullyExecuted


registerFunctionDefinitionPrivacyVar()

registerFunctionDefinitionPrivacyVar(lambdaId, lambdaVar): void

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

Parameters

ParameterType
lambdaIdstring
lambdaVarMap<string, Nullable<BaseAstNode>>

Returns

void

Implementation of

IFormulaRuntimeService.registerFunctionDefinitionPrivacyVar


reset()

reset(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.reset


setCompletedArrayFormulasCount()

setCompletedArrayFormulasCount(value): void

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

Parameters

ParameterType
valuenumber

Returns

void

Implementation of

IFormulaRuntimeService.setCompletedArrayFormulasCount


setCompletedFormulasCount()

setCompletedFormulasCount(value): void

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

Parameters

ParameterType
valuenumber

Returns

void

Implementation of

IFormulaRuntimeService.setCompletedFormulasCount


setCurrent()

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

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

Parameters

ParameterType
rownumber
columnnumber
rowCountnumber
columnCountnumber
sheetIdstring
unitIdstring

Returns

void

Implementation of

IFormulaRuntimeService.setCurrent


setFormulaCycleIndex()

setFormulaCycleIndex(index): void

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

Parameters

ParameterType
indexnumber

Returns

void

Implementation of

IFormulaRuntimeService.setFormulaCycleIndex


setFormulaExecuteStage()

setFormulaExecuteStage(type): void

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

Parameters

ParameterType
typeFormulaExecuteStageType

Returns

void

Implementation of

IFormulaRuntimeService.setFormulaExecuteStage


setRuntimeData()

setRuntimeData(functionVariant): void

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

Parameters

ParameterType
functionVariantFunctionVariantType

Returns

void

Implementation of

IFormulaRuntimeService.setRuntimeData


setRuntimeFeatureCellData()

setRuntimeFeatureCellData(featureId, featureData): void

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

Parameters

ParameterType
featureIdstring
featureDataIRuntimeUnitDataType

Returns

void

Implementation of

IFormulaRuntimeService.setRuntimeFeatureCellData


setRuntimeFeatureRange()

setRuntimeFeatureRange(featureId, featureRange): void

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

Parameters

ParameterType
featureIdstring
featureRangeIFeatureDirtyRangeType

Returns

void

Implementation of

IFormulaRuntimeService.setRuntimeFeatureRange


setRuntimeOtherData()

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

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

Parameters

ParameterType
formulaIdstring
xnumber
ynumber
functionVariantFunctionVariantType

Returns

void

Implementation of

IFormulaRuntimeService.setRuntimeOtherData


setTotalArrayFormulasToCalculate()

setTotalArrayFormulasToCalculate(value): void

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

Parameters

ParameterType
valuenumber

Returns

void

Implementation of

IFormulaRuntimeService.setTotalArrayFormulasToCalculate


setTotalFormulasToCalculate()

setTotalFormulasToCalculate(value): void

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

Parameters

ParameterType
valuenumber

Returns

void

Implementation of

IFormulaRuntimeService.setTotalFormulasToCalculate


stopExecution()

stopExecution(): void

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

Returns

void

Implementation of

IFormulaRuntimeService.stopExecution