@univerjs/sheets-formula v0.5.4
Interface: IDescriptionService
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:52
Methods
getDescriptions()
getDescriptions(): Map<IFunctionNames, IFunctionInfo>
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:56
get all descriptions
Returns
Map
<IFunctionNames
, IFunctionInfo
>
getFunctionInfo()
getFunctionInfo(searchText):
| undefined
| IFunctionInfo
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:64
get function info by name
Parameters
Parameter | Type |
---|---|
searchText | string |
Returns
| undefined
| IFunctionInfo
getSearchListByName()
getSearchListByName(searchText): ISearchItem[]
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:71
get search list by name
Parameters
Parameter | Type |
---|---|
searchText | string |
Returns
getSearchListByNameFirstLetter()
getSearchListByNameFirstLetter(searchText): ISearchItem[]
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:78
get search list by name, from first letter
Parameters
Parameter | Type |
---|---|
searchText | string |
Returns
getSearchListByType()
getSearchListByType(type): ISearchItem[]
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:85
get search list by type, if type is -1, return all
Parameters
Parameter | Type |
---|---|
type | number |
Returns
hasDefinedNameDescription()
hasDefinedNameDescription(name): boolean
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:109
check if has defined name description
Parameters
Parameter | Type |
---|---|
name | string |
Returns
boolean
hasDescription()
hasDescription(name): boolean
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:103
check if has description
Parameters
Parameter | Type |
---|---|
name | string |
Returns
boolean
hasFunction()
hasFunction(searchText): boolean
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:58
Parameters
Parameter | Type |
---|---|
searchText | string |
Returns
boolean
isFormulaDefinedName()
isFormulaDefinedName(name): boolean
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:115
check if is formula defined name
Parameters
Parameter | Type |
---|---|
name | string |
Returns
boolean
registerDescriptions()
registerDescriptions(functionList): IDisposable
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:91
register descriptions
Parameters
Parameter | Type |
---|---|
functionList | IFunctionInfo [] |
Returns
unregisterDescriptions()
unregisterDescriptions(functionNames): void
Defined in: submodules/univer/packages/sheets-formula/src/services/description.service.ts:97
unregister descriptions
Parameters
Parameter | Type |
---|---|
functionNames | string [] |
Returns
void