@univerjs/engine-formula v0.5.0-beta.1 • Docs
Interface: IDefinedNamesService
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
Parameters
Parameter | Type |
---|---|
unitId | string |
id | string |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:74
getCurrentRange()
getCurrentRange(): IUnitRange
Returns
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:64
getCurrentRangeForString()
getCurrentRangeForString(): string
Returns
string
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:66
getDefinedNameMap()
getDefinedNameMap(unitId): Nullable<IDefinedNameMapItem>
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:50
getValueById()
getValueById(unitId, id): Nullable<IDefinedNamesServiceParam>
Parameters
Parameter | Type |
---|---|
unitId | string |
id | string |
Returns
Nullable
<IDefinedNamesServiceParam
>
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:54
getValueByName()
getValueByName(unitId, name): Nullable<IDefinedNamesServiceParam>
Parameters
Parameter | Type |
---|---|
unitId | string |
name | string |
Returns
Nullable
<IDefinedNamesServiceParam
>
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:52
getWorksheetByRef()
getWorksheetByRef(unitId, ref): Nullable<Worksheet>
Parameters
Parameter | Type |
---|---|
unitId | string |
ref | string |
Returns
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:76
hasDefinedName()
hasDefinedName(unitId): boolean
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
boolean
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:60
registerDefinedName()
registerDefinedName(unitId, param): void
Parameters
Parameter | Type |
---|---|
unitId | string |
param | IDefinedNamesServiceParam |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:46
registerDefinedNames()
registerDefinedNames(unitId, params): void
Parameters
Parameter | Type |
---|---|
unitId | string |
params | IDefinedNameMapItem |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:48
removeDefinedName()
removeDefinedName(unitId, name): void
Parameters
Parameter | Type |
---|---|
unitId | string |
name | string |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:56
removeUnitDefinedName()
removeUnitDefinedName(unitId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:58
setCurrentRange()
setCurrentRange(range): void
Parameters
Parameter | Type |
---|---|
range | IUnitRange |
Returns
void
Defined in
submodules/univer/packages/engine-formula/src/services/defined-names.service.ts:62