@univerjs/engine-formula v0.4.2 • Docs
Interface: IDependencyManagerService
Methods
addDependencyRTreeCache()
addDependencyRTreeCache(tree): void
Parameters
Parameter | Type |
---|---|
tree | FormulaDependencyTree |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:66 (opens in a new tab)
addFeatureFormulaDependency()
addFeatureFormulaDependency(
unitId,
sheetId,
featureId,
dependencyTree): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureId | string |
dependencyTree | FormulaDependencyTree |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:50 (opens in a new tab)
addFormulaDependency()
addFormulaDependency(
unitId,
sheetId,
row,
column,
dependencyTree): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
dependencyTree | FormulaDependencyTree |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:56 (opens in a new tab)
addOtherFormulaDependency()
addOtherFormulaDependency(
unitId,
sheetId,
formulaId,
dependencyTree): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string |
dependencyTree | FormulaDependencyTree |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:44 (opens in a new tab)
buildDependencyTree()
buildDependencyTree(shouldBeBuildTrees, dependencyTrees?): FormulaDependencyTree[]
Parameters
Parameter | Type |
---|---|
shouldBeBuildTrees | FormulaDependencyTree [] |
dependencyTrees ? | FormulaDependencyTree [] |
Returns
FormulaDependencyTree
[]
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:38 (opens in a new tab)
clearDependencyAll()
clearDependencyAll(): void
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:72 (opens in a new tab)
clearDependencyForTree()
clearDependencyForTree(shouldBeClearTree): void
Parameters
Parameter | Type |
---|---|
shouldBeClearTree | Nullable <FormulaDependencyTree > |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:40 (opens in a new tab)
clearFeatureFormulaDependency()
clearFeatureFormulaDependency(unitId, sheetId?): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:75 (opens in a new tab)
clearFormulaDependency()
clearFormulaDependency(unitId, sheetId?): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:64 (opens in a new tab)
clearOtherFormulaDependency()
clearOtherFormulaDependency(unitId, sheetId?): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId ? | string |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:74 (opens in a new tab)
closeKdTree()
closeKdTree(): void
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:78 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:34 (opens in a new tab)
getAllTree()
getAllTree(): FormulaDependencyTree[]
Returns
FormulaDependencyTree
[]
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:36 (opens in a new tab)
getFeatureFormulaDependency()
getFeatureFormulaDependency(
unitId,
sheetId,
featureId): Nullable<FormulaDependencyTree>
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureId | string |
Returns
Nullable
<FormulaDependencyTree
>
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:54 (opens in a new tab)
getFormulaDependency()
getFormulaDependency(
unitId,
sheetId,
row,
column): Nullable<FormulaDependencyTree>
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
Returns
Nullable
<FormulaDependencyTree
>
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:60 (opens in a new tab)
getLastTreeId()
getLastTreeId(): number
Returns
number
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:70 (opens in a new tab)
getOtherFormulaDependency()
getOtherFormulaDependency(
unitId,
sheetId,
formulaId): Nullable<FormulaDependencyTree>
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string |
Returns
Nullable
<FormulaDependencyTree
>
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:48 (opens in a new tab)
getTreeById()
getTreeById(treeId): Nullable<FormulaDependencyTree>
Parameters
Parameter | Type |
---|---|
treeId | number |
Returns
Nullable
<FormulaDependencyTree
>
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:80 (opens in a new tab)
openKdTree()
openKdTree(): void
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:77 (opens in a new tab)
removeFeatureFormulaDependency()
removeFeatureFormulaDependency(
unitId,
sheetId,
featureIds): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
featureIds | string [] |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:52 (opens in a new tab)
removeFormulaDependency()
removeFormulaDependency(
unitId,
sheetId,
row,
column): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
row | number |
column | number |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:58 (opens in a new tab)
removeFormulaDependencyByDefinedName()
removeFormulaDependencyByDefinedName(unitId, definedName): void
Parameters
Parameter | Type |
---|---|
unitId | string |
definedName | string |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:62 (opens in a new tab)
removeOtherFormulaDependency()
removeOtherFormulaDependency(
unitId,
sheetId,
formulaId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
formulaId | string [] |
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:46 (opens in a new tab)
reset()
reset(): void
Returns
void
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:42 (opens in a new tab)
searchDependency()
searchDependency(search): Set<number>
Parameters
Parameter | Type |
---|---|
search | IUnitRange [] |
Returns
Set
<number
>
Defined in
packages/engine-formula/src/services/dependency-manager.service.ts:68 (opens in a new tab)