@univerjs/engine-formula v0.5.0-beta.1 • Docs
Interface: IFormulaRuntimeService
Properties
Property | Type | Defined in |
---|---|---|
currentColumn | number | submodules/univer/packages/engine-formula/src/services/runtime.service.ts:95 |
currentRow | number | submodules/univer/packages/engine-formula/src/services/runtime.service.ts:93 |
currentSubUnitId | string | submodules/univer/packages/engine-formula/src/services/runtime.service.ts:97 |
currentUnitId | string | submodules/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
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
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:132
getFunctionDefinitionPrivacyVar()
getFunctionDefinitionPrivacyVar(lambdaId): Nullable<Map<string, Nullable<BaseAstNode>>>
Parameters
Parameter | Type |
---|---|
lambdaId | string |
Returns
Nullable
<Map
<string
, Nullable
<BaseAstNode
>>>
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:116
getRuntimeArrayFormulaCellData()
getRuntimeArrayFormulaCellData(): IRuntimeUnitDataType
Returns
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
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
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:122
getUnitData()
getUnitData(): IRuntimeUnitDataType
Returns
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
Parameter | Type |
---|---|
lambdaId | string |
lambdaVar | Map <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
Parameter | Type |
---|---|
value | number |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:162
setCompletedFormulasCount()
setCompletedFormulasCount(value): void
Parameters
Parameter | Type |
---|---|
value | number |
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
Parameter | Type |
---|---|
row | number |
column | number |
rowCount | number |
columnCount | number |
sheetId | string |
unitId | string |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:105
setFormulaCycleIndex()
setFormulaCycleIndex(index): void
Parameters
Parameter | Type |
---|---|
index | number |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:128
setFormulaExecuteStage()
setFormulaExecuteStage(type): void
Parameters
Parameter | Type |
---|---|
type | FormulaExecuteStageType |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:126
setRuntimeData()
setRuntimeData(functionVariant): void
Parameters
Parameter | Type |
---|---|
functionVariant | FunctionVariantType |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:118
setRuntimeFeatureCellData()
setRuntimeFeatureCellData(featureId, featureData): void
Parameters
Parameter | Type |
---|---|
featureId | string |
featureData | IRuntimeUnitDataType |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:178
setRuntimeFeatureRange()
setRuntimeFeatureRange(featureId, featureRange): void
Parameters
Parameter | Type |
---|---|
featureId | string |
featureRange | IFeatureDirtyRangeType |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:180
setRuntimeOtherData()
setRuntimeOtherData(
formulaId,
x,
y,
functionVariant): void
Parameters
Parameter | Type |
---|---|
formulaId | string |
x | number |
y | number |
functionVariant | FunctionVariantType |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:134
setTotalArrayFormulasToCalculate()
setTotalArrayFormulasToCalculate(value): void
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/runtime.service.ts:158
setTotalFormulasToCalculate()
setTotalFormulasToCalculate(value): void
Parameters
Parameter | Type |
---|---|
value | number |
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