@univerjs-pro/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

ParameterType
treeIFormulaDependencyTree

Returns

void


addFeatureFormulaDependency()

addFeatureFormulaDependency(
   unitId, 
   sheetId, 
   featureId, 
   dependencyTree): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:34

Parameters

ParameterType
unitIdstring
sheetIdstring
featureIdstring
dependencyTreeFormulaDependencyTree

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

ParameterType
unitIdstring
sheetIdstring
rownumber
columnnumber
dependencyTreeIFormulaDependencyTree

Returns

void


addFormulaDependencyByDefinedName()

addFormulaDependencyByDefinedName(tree, node): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:45

Parameters

ParameterType
treeIFormulaDependencyTree
nodeNullable<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

ParameterType
unitIdstring
sheetIdstring
formulaIdstring
dependencyTreeIFormulaDependencyTree

Returns

void


addOtherFormulaDependencyMainData()

addOtherFormulaDependencyMainData(formulaId): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:28

Parameters

ParameterType
formulaIdstring

Returns

void


buildDependencyTree()

buildDependencyTree(shouldBeBuildTrees, dependencyTrees?): IFormulaDependencyTree[]

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:56

Parameters

ParameterType
shouldBeBuildTreesIFormulaDependencyTree[]
dependencyTrees?IFormulaDependencyTree[]

Returns

IFormulaDependencyTree[]


clearFeatureFormulaDependency()

clearFeatureFormulaDependency(unitId, sheetId?): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:37

Parameters

ParameterType
unitIdstring
sheetId?string

Returns

void


clearFormulaDependency()

clearFormulaDependency(unitId, sheetId?): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:42

Parameters

ParameterType
unitIdstring
sheetId?string

Returns

void


clearOtherFormulaDependency()

clearOtherFormulaDependency(unitId, sheetId?): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:31

Parameters

ParameterType
unitIdstring
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

IFormulaDependencyTree[]


getFeatureFormulaDependency()

getFeatureFormulaDependency(
   unitId, 
   sheetId, 
featureId): Nullable<number>

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:36

Parameters

ParameterType
unitIdstring
sheetIdstring
featureIdstring

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

ParameterType
unitIdstring
sheetIdstring
rownumber
columnnumber

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

ParameterType
unitIdstring
sheetIdstring
formulaIdstring

Returns

Nullable<ObjectMatrix<number>>


getTreeById()

getTreeById(treeId): Nullable<IFormulaDependencyTree>

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:52

Parameters

ParameterType
treeIdnumber

Returns

Nullable<IFormulaDependencyTree>


hasOtherFormulaDataMainData()

hasOtherFormulaDataMainData(formulaId): boolean

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:30

Parameters

ParameterType
formulaIdstring

Returns

boolean


removeFeatureFormulaDependency()

removeFeatureFormulaDependency(
   unitId, 
   sheetId, 
   featureIds): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:35

Parameters

ParameterType
unitIdstring
sheetIdstring
featureIdsstring[]

Returns

void


removeFormulaDependency()

removeFormulaDependency(
   unitId, 
   sheetId, 
   row, 
   column): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:40

Parameters

ParameterType
unitIdstring
sheetIdstring
rownumber
columnnumber

Returns

void


removeFormulaDependencyByDefinedName()

removeFormulaDependencyByDefinedName(unitId, definedName): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:44

Parameters

ParameterType
unitIdstring
definedNamestring

Returns

void


removeOtherFormulaDependency()

removeOtherFormulaDependency(
   unitId, 
   sheetId, 
   formulaId): void

Defined in: submodules/univer/packages/engine-formula/src/services/dependency-manager.service.ts:29

Parameters

ParameterType
unitIdstring
sheetIdstring
formulaIdstring[]

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

ParameterType
searchIUnitRange[]
exceptTreeIds?Set<number>

Returns

Set<number>