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