@univerjs-pro/engine-formula v0.5.4
Class: DependencyManagerBaseService
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:59
Extends
Extended by
Implements
Constructors
new DependencyManagerBaseService()
new DependencyManagerBaseService(): DependencyManagerBaseService
Returns
Inherited from
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_definedNameMap | protected | Map <string , Map <string , Set <number >>> | undefined | - | submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:78 |
_dependencyRTreeCache | protected | RTree | undefined | - | submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:82 |
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
_featureFormulaData | protected | Map <string , Map <string , Map <string , Nullable <number >>>> | undefined | - | submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:74 |
_formulaData | protected | Map <string , Map <string , ObjectMatrix <number >>> | undefined | - | submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:76 |
_otherFormulaData | protected | Map <string , Map <string , Map <string , ObjectMatrix <number >>>> | undefined | - | submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:72 |
_otherFormulaDataMainData | protected | Set <string > | undefined | - | submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:80 |
Methods
_addAllTreeMap()
protected _addAllTreeMap(tree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:187
Parameters
Parameter | Type |
---|---|
tree | IFormulaDependencyTree |
Returns
void
_addDefinedName()
protected _addDefinedName(
unitId,
definedName,
treeId): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:191
Parameters
Parameter | Type |
---|---|
unitId | string |
definedName | string |
treeId | number |
Returns
void
_removeDependencyRTreeCacheById()
protected _removeDependencyRTreeCacheById(unitId, sheetId): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:150
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
Returns
void
_restDependencyTreeId()
protected _restDependencyTreeId(): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:134
Returns
void
addDependencyRTreeCache()
addDependencyRTreeCache(tree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:162
Parameters
Parameter | Type |
---|---|
tree | IFormulaDependencyTree |
Returns
void
Implementation of
IDependencyManagerService
.addDependencyRTreeCache
addFeatureFormulaDependency()
addFeatureFormulaDependency(
unitId,
sheetId,
featureId,
dependencyTree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:102
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureId | string |
dependencyTree | FormulaDependencyTree |
Returns
void
Implementation of
IDependencyManagerService
.addFeatureFormulaDependency
addFormulaDependency()
addFormulaDependency(
unitId,
sheetId,
row,
column,
dependencyTree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:114
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
dependencyTree | IFormulaDependencyTree |
Returns
void
Implementation of
IDependencyManagerService
.addFormulaDependency
addFormulaDependencyByDefinedName()
addFormulaDependencyByDefinedName(tree, node): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:206
Parameters
Parameter | Type |
---|---|
tree | IFormulaDependencyTree |
node | Nullable <AstRootNode > |
Returns
void
Implementation of
IDependencyManagerService
.addFormulaDependencyByDefinedName
addOtherFormulaDependency()
addOtherFormulaDependency(
unitId,
sheetId,
formulaId,
dependencyTree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:90
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string |
dependencyTree | IFormulaDependencyTree |
Returns
void
Implementation of
IDependencyManagerService
.addOtherFormulaDependency
addOtherFormulaDependencyMainData()
addOtherFormulaDependencyMainData(formulaId): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:142
Parameters
Parameter | Type |
---|---|
formulaId | string |
Returns
void
Implementation of
IDependencyManagerService
.addOtherFormulaDependencyMainData
buildDependencyTree()
buildDependencyTree(shouldBeBuildTrees, dependencyTrees?): IFormulaDependencyTree[]
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:60
Parameters
Parameter | Type |
---|---|
shouldBeBuildTrees | IFormulaDependencyTree [] |
dependencyTrees ? | IFormulaDependencyTree [] |
Returns
Implementation of
IDependencyManagerService
.buildDependencyTree
clearFeatureFormulaDependency()
clearFeatureFormulaDependency(unitId, sheetId?): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:110
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
Implementation of
IDependencyManagerService
.clearFeatureFormulaDependency
clearFormulaDependency()
clearFormulaDependency(unitId, sheetId?): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:122
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
Implementation of
IDependencyManagerService
.clearFormulaDependency
clearOtherFormulaDependency()
clearOtherFormulaDependency(unitId, sheetId?): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:98
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
Implementation of
IDependencyManagerService
.clearOtherFormulaDependency
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Implementation of
IDependencyManagerService
.dispose
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getAllTree()
getAllTree(): IFormulaDependencyTree[]
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:68
Returns
Implementation of
IDependencyManagerService
.getAllTree
getFeatureFormulaDependency()
getFeatureFormulaDependency(
unitId,
sheetId,
featureId): Nullable<number>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:154
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureId | string |
Returns
Nullable
<number
>
Implementation of
IDependencyManagerService
.getFeatureFormulaDependency
getFormulaDependency()
getFormulaDependency(
unitId,
sheetId,
row,
column): Nullable<number>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:158
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
Returns
Nullable
<number
>
Implementation of
IDependencyManagerService
.getFormulaDependency
getLastTreeId()
getLastTreeId(): number
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:181
Returns
number
Implementation of
IDependencyManagerService
.getLastTreeId
getOtherFormulaDependency()
getOtherFormulaDependency(
unitId,
sheetId,
formulaId):
| undefined
| ObjectMatrix<number>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:138
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string |
Returns
| undefined
| ObjectMatrix
<number
>
Implementation of
IDependencyManagerService
.getOtherFormulaDependency
getTreeById()
getTreeById(treeId): Nullable<IFormulaDependencyTree>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:64
Parameters
Parameter | Type |
---|---|
treeId | number |
Returns
Nullable
<IFormulaDependencyTree
>
Implementation of
IDependencyManagerService
.getTreeById
hasOtherFormulaDataMainData()
hasOtherFormulaDataMainData(formulaId): boolean
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:146
Parameters
Parameter | Type |
---|---|
formulaId | string |
Returns
boolean
Implementation of
IDependencyManagerService
.hasOtherFormulaDataMainData
removeFeatureFormulaDependency()
removeFeatureFormulaDependency(
unitId,
sheetId,
featureIds): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:106
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureIds | string [] |
Returns
void
Implementation of
IDependencyManagerService
.removeFeatureFormulaDependency
removeFormulaDependency()
removeFormulaDependency(
unitId,
sheetId,
row,
column): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:118
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
Returns
void
Implementation of
IDependencyManagerService
.removeFormulaDependency
removeFormulaDependencyByDefinedName()
removeFormulaDependencyByDefinedName(unitId, definedName): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:126
Parameters
Parameter | Type |
---|---|
unitId | string |
definedName | string |
Returns
void
Implementation of
IDependencyManagerService
.removeFormulaDependencyByDefinedName
removeOtherFormulaDependency()
removeOtherFormulaDependency(
unitId,
sheetId,
formulaId): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:94
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string [] |
Returns
void
Implementation of
IDependencyManagerService
.removeOtherFormulaDependency
reset()
reset(): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:86
Returns
void
Implementation of
IDependencyManagerService
.reset
searchDependency()
searchDependency(search, exceptTreeIds?): Set<number>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:130
Parameters
Parameter | Type |
---|---|
search | IUnitRange [] |
exceptTreeIds ? | Set <number > |
Returns
Set
<number
>