@univerjs/engine-formula v0.5.4
Interface: IDependencyManagerService
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:22
Methods
addDependencyRTreeCache()
addDependencyRTreeCache(tree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:47
Parameters
Parameter | Type |
---|---|
tree | IFormulaDependencyTree |
Returns
void
addFeatureFormulaDependency()
addFeatureFormulaDependency(
unitId,
sheetId,
featureId,
dependencyTree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:34
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureId | string |
dependencyTree | FormulaDependencyTree |
Returns
void
addFormulaDependency()
addFormulaDependency(
unitId,
sheetId,
row,
column,
dependencyTree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:39
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
dependencyTree | IFormulaDependencyTree |
Returns
void
addFormulaDependencyByDefinedName()
addFormulaDependencyByDefinedName(tree, node): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:45
Parameters
Parameter | Type |
---|---|
tree | IFormulaDependencyTree |
node | Nullable <AstRootNode > |
Returns
void
addOtherFormulaDependency()
addOtherFormulaDependency(
unitId,
sheetId,
formulaId,
dependencyTree): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:27
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string |
dependencyTree | IFormulaDependencyTree |
Returns
void
addOtherFormulaDependencyMainData()
addOtherFormulaDependencyMainData(formulaId): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:28
Parameters
Parameter | Type |
---|---|
formulaId | string |
Returns
void
buildDependencyTree()
buildDependencyTree(shouldBeBuildTrees, dependencyTrees?): IFormulaDependencyTree[]
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:56
Parameters
Parameter | Type |
---|---|
shouldBeBuildTrees | IFormulaDependencyTree [] |
dependencyTrees ? | IFormulaDependencyTree [] |
Returns
clearFeatureFormulaDependency()
clearFeatureFormulaDependency(unitId, sheetId?): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:37
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
clearFormulaDependency()
clearFormulaDependency(unitId, sheetId?): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:42
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
clearOtherFormulaDependency()
clearOtherFormulaDependency(unitId, sheetId?): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:31
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
dispose()
dispose(): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:23
Returns
void
getAllTree()
getAllTree(): IFormulaDependencyTree[]
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:54
Returns
getFeatureFormulaDependency()
getFeatureFormulaDependency(
unitId,
sheetId,
featureId): Nullable<number>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:36
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureId | string |
Returns
Nullable
<number
>
getFormulaDependency()
getFormulaDependency(
unitId,
sheetId,
row,
column): Nullable<number>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:41
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
Returns
Nullable
<number
>
getLastTreeId()
getLastTreeId(): number
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:50
Returns
number
getOtherFormulaDependency()
getOtherFormulaDependency(
unitId,
sheetId,
formulaId): Nullable<ObjectMatrix<number>>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:32
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string |
Returns
Nullable
<ObjectMatrix
<number
>>
getTreeById()
getTreeById(treeId): Nullable<IFormulaDependencyTree>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:52
Parameters
Parameter | Type |
---|---|
treeId | number |
Returns
Nullable
<IFormulaDependencyTree
>
hasOtherFormulaDataMainData()
hasOtherFormulaDataMainData(formulaId): boolean
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:30
Parameters
Parameter | Type |
---|---|
formulaId | string |
Returns
boolean
removeFeatureFormulaDependency()
removeFeatureFormulaDependency(
unitId,
sheetId,
featureIds): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:35
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureIds | string [] |
Returns
void
removeFormulaDependency()
removeFormulaDependency(
unitId,
sheetId,
row,
column): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:40
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
Returns
void
removeFormulaDependencyByDefinedName()
removeFormulaDependencyByDefinedName(unitId, definedName): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:44
Parameters
Parameter | Type |
---|---|
unitId | string |
definedName | string |
Returns
void
removeOtherFormulaDependency()
removeOtherFormulaDependency(
unitId,
sheetId,
formulaId): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:29
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string [] |
Returns
void
reset()
reset(): void
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:25
Returns
void
searchDependency()
searchDependency(search, exceptTreeIds?): Set<number>
Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:48
Parameters
Parameter | Type |
---|---|
search | IUnitRange [] |
exceptTreeIds ? | Set <number > |
Returns
Set
<number
>