@univerjssheets-hyper-linkindexclassesSheetshyperlinkparserservice

@univerjs/sheets-hyper-link v0.5.0-beta.1Docs


Class: SheetsHyperLinkParserService

Constructors

new SheetsHyperLinkParserService()

new SheetsHyperLinkParserService(
   _univerInstanceService, 
   _localeService, 
   _definedNamesService): SheetsHyperLinkParserService

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_localeServiceLocaleService
_definedNamesServiceIDefinedNamesService

Returns

SheetsHyperLinkParserService

Defined in

sheets-hyper-link/src/services/parser.service.ts:38

Methods

buildHyperLink(
   unitId, 
   sheetId, 
   range?): string

Parameters

ParameterType
unitIdstring
sheetIdstring
range?string | IRange

Returns

string

Defined in

sheets-hyper-link/src/services/parser.service.ts:44


parseHyperLink(urlStr): ISheetHyperLinkInfo

Parameters

ParameterType
urlStrstring

Returns

ISheetHyperLinkInfo

Defined in

sheets-hyper-link/src/services/parser.service.ts:48