@univerjs/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
Parameter | Type |
---|---|
_currentConfigService | IFormulaCurrentConfigService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
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
getAllRuntimeData()
getAllRuntimeData(): IAllRuntimeData
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:636
Returns
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
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
Parameter | Type |
---|---|
lambdaId | string |
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
Implementation of
IFormulaRuntimeService
.getRuntimeArrayFormulaCellData
getRuntimeClearArrayFormulaCellData()
getRuntimeClearArrayFormulaCellData(): IRuntimeUnitDataType
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:616
Returns
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
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
Implementation of
IFormulaRuntimeService
.getUnitArrayFormula
getUnitData()
getUnitData(): IRuntimeUnitDataType
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:600
Returns
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
Parameter | Type |
---|---|
lambdaId | string |
lambdaVar | Map <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
setCompletedArrayFormulasCount()
setCompletedArrayFormulasCount(value): void
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:291
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
Implementation of
IFormulaRuntimeService
.setCompletedArrayFormulasCount
setCompletedFormulasCount()
setCompletedFormulasCount(value): void
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:307
Parameters
Parameter | Type |
---|---|
value | number |
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
Parameter | Type |
---|---|
row | number |
column | number |
rowCount | number |
columnCount | number |
sheetId | string |
unitId | string |
Returns
void
Implementation of
IFormulaRuntimeService
.setCurrent
setFormulaCycleIndex()
setFormulaCycleIndex(index): void
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:275
Parameters
Parameter | Type |
---|---|
index | number |
Returns
void
Implementation of
IFormulaRuntimeService
.setFormulaCycleIndex
setFormulaExecuteStage()
setFormulaExecuteStage(type): void
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:341
Parameters
Parameter | Type |
---|---|
type | FormulaExecuteStageType |
Returns
void
Implementation of
IFormulaRuntimeService
.setFormulaExecuteStage
setRuntimeData()
setRuntimeData(functionVariant): void
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:450
Parameters
Parameter | Type |
---|---|
functionVariant | FunctionVariantType |
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
Parameter | Type |
---|---|
featureId | string |
featureData | IRuntimeUnitDataType |
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
Parameter | Type |
---|---|
featureId | string |
featureRange | IFeatureDirtyRangeType |
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
Parameter | Type |
---|---|
formulaId | string |
x | number |
y | number |
functionVariant | FunctionVariantType |
Returns
void
Implementation of
IFormulaRuntimeService
.setRuntimeOtherData
setTotalArrayFormulasToCalculate()
setTotalArrayFormulasToCalculate(value): void
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:283
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
Implementation of
IFormulaRuntimeService
.setTotalArrayFormulasToCalculate
setTotalFormulasToCalculate()
setTotalFormulasToCalculate(value): void
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:299
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
Implementation of
IFormulaRuntimeService
.setTotalFormulasToCalculate
stopExecution()
stopExecution(): void
Defined in: submodules/univer/packages/engine-formula/src/services/runtime.service.ts:331
Returns
void