@univerjs/sheets-hyper-link-ui v0.4.2 • Docs
Class: SheetsHyperLinkResolverService
Constructors
new SheetsHyperLinkResolverService()
new SheetsHyperLinkResolverService(
_univerInstanceService,
_commandService,
_definedNamesService,
_messageService,
_localeService,
_configService): SheetsHyperLinkResolverService
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_commandService | ICommandService |
_definedNamesService | IDefinedNamesService |
_messageService | IMessageService |
_localeService | LocaleService |
_configService | IConfigService |
Returns
SheetsHyperLinkResolverService
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:58 (opens in a new tab)
Methods
buildHyperLink()
buildHyperLink(
unitId,
sheetId,
range?): string
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetId | string |
range ? | string | IRange |
Returns
string
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:174 (opens in a new tab)
navigateTo()
navigateTo(params): void
Parameters
Parameter | Type |
---|---|
params | ISheetUrlParams |
Returns
void
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:121 (opens in a new tab)
navigateToDefineName()
navigateToDefineName(unitId, rangeid): Promise<boolean>
Parameters
Parameter | Type |
---|---|
unitId | string |
rangeid | string |
Returns
Promise
<boolean
>
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:302 (opens in a new tab)
navigateToOtherWebsite()
navigateToOtherWebsite(url): Promise<void>
Parameters
Parameter | Type |
---|---|
url | string |
Returns
Promise
<void
>
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:307 (opens in a new tab)
navigateToRange()
navigateToRange(
unitId,
subUnitId,
range): Promise<void>
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
range | IRange |
Returns
Promise
<void
>
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:212 (opens in a new tab)
navigateToSheet()
navigateToSheet(unitId, sheetName): Promise<undefined | boolean>
Parameters
Parameter | Type |
---|---|
unitId | string |
sheetName | string |
Returns
Promise
<undefined
| boolean
>
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:233 (opens in a new tab)
navigateToSheetById()
navigateToSheetById(unitId, subUnitId): Promise<false | Worksheet>
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
Returns
Promise
<false
| Worksheet
>
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:264 (opens in a new tab)
parseHyperLink()
parseHyperLink(urlStr): ISheetHyperLinkInfo
Parameters
Parameter | Type |
---|---|
urlStr | string |
Returns
Defined in
sheets-hyper-link-ui/src/services/resolver.service.ts:178 (opens in a new tab)