@univerjs/engine-formula v0.5.4
Interface: IDefinedNamesService
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:45
Properties
Property | Type | Defined in |
---|---|---|
currentRange$ | Observable <IUnitRange > | submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:68 |
focusRange$ | Observable <IDefinedNamesServiceFocusParam > | submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:72 |
update$ | Observable <unknown > | submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:70 |
Methods
focusRange()
focusRange(unitId, id): void
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:74
Parameters
Parameter | Type |
---|---|
unitId | string |
id | string |
Returns
void
getCurrentRange()
getCurrentRange(): IUnitRange
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:64
Returns
getCurrentRangeForString()
getCurrentRangeForString(): string
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:66
Returns
string
getDefinedNameMap()
getDefinedNameMap(unitId): Nullable<IDefinedNameMapItem>
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:50
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
getValueById()
getValueById(unitId, id): Nullable<IDefinedNamesServiceParam>
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:54
Parameters
Parameter | Type |
---|---|
unitId | string |
id | string |
Returns
Nullable
<IDefinedNamesServiceParam
>
getValueByName()
getValueByName(unitId, name): Nullable<IDefinedNamesServiceParam>
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:52
Parameters
Parameter | Type |
---|---|
unitId | string |
name | string |
Returns
Nullable
<IDefinedNamesServiceParam
>
getWorksheetByRef()
getWorksheetByRef(unitId, ref): Nullable<Worksheet>
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:76
Parameters
Parameter | Type |
---|---|
unitId | string |
ref | string |
Returns
hasDefinedName()
hasDefinedName(unitId): boolean
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:60
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
boolean
registerDefinedName()
registerDefinedName(unitId, param): void
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:46
Parameters
Parameter | Type |
---|---|
unitId | string |
param | IDefinedNamesServiceParam |
Returns
void
registerDefinedNames()
registerDefinedNames(unitId, params): void
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:48
Parameters
Parameter | Type |
---|---|
unitId | string |
params | IDefinedNameMapItem |
Returns
void
removeDefinedName()
removeDefinedName(unitId, name): void
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:56
Parameters
Parameter | Type |
---|---|
unitId | string |
name | string |
Returns
void
removeUnitDefinedName()
removeUnitDefinedName(unitId): void
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:58
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
setCurrentRange()
setCurrentRange(range): void
Defined in: submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:62
Parameters
Parameter | Type |
---|---|
range | IUnitRange |
Returns
void