office-gobmx/sc/sdi/docsh.sdi
Sahil Gautam 14396a5361 tdf#123159 Make Hyperlinks keyboard accessible
Extend .uno:OpenHyperlinkOnCursor to open all hyperlinks
in a cell, when not in edit mode.

The UNO command can be assigned to a keyboard shortcut from
`Tools > Customize > Keyboard`. If the active cell is not in
edit mode, then pressing the shortcut opens all the hyperlinks
in the cell. If in edit mode, pressing the shortcut opens the
hyperlink under the caret "|".

Change-Id: I7ffdab54fa31b9f7f614e04cc3158d8be217825e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157666
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-03-28 21:41:51 +01:00

91 lines
4.5 KiB
Text

/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
interface TableSelection
{
SID_DELETE_PRINTAREA [ ExecMethod = Execute; StateMethod = GetState; ]
SID_OPENDLG_EDIT_PRINTAREA [ ExecMethod = Execute; StateMethod = GetState; ]
SID_CHANGE_PRINTAREA [ ExecMethod = Execute; ]
FID_DEL_MANUALBREAKS [ ExecMethod = Execute; StateMethod = GetState; ]
FID_RESET_PRINTZOOM [ ExecMethod = Execute; StateMethod = GetState; ]
UINT16 Index FID_TAB_INDEX ()
FID_PROTECT_TABLE [ ExecMethod = Execute; StateMethod = GetState; ]
FID_PROTECT_DOC [ ExecMethod = Execute; StateMethod = GetState; ]
SID_AUTO_OUTLINE [ ExecMethod = Execute; StateMethod = GetState; ]
SID_OUTLINE_DELETEALL [ ExecMethod = Execute; StateMethod = GetState; ]
SID_FORMATPAGE [ ExecMethod = Execute; StateMethod = GetState; ]
SID_HFEDIT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_DETECTIVE_DEL_ALL [ ExecMethod = Execute; StateMethod = GetState; ]
FID_TABLE_VISIBLE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
FID_TAB_MOVE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
FID_TAB_DUPLICATE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
FID_DELETE_TABLE [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
FID_TAB_RENAME [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
FID_TAB_RTL [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
FID_TAB_SET_TAB_BG_COLOR [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
FID_TAB_TOGGLE_GRID [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
FID_TOGGLEHIDDENCOLROW [ ExecMethod = ExecuteTable; StateMethod = GetState; ]
SID_TABLE_ACTIVATE [ ExecMethod = Execute; ]
}
interface TableDocument
{
SID_OPEN_CALC [ ExecMethod = Execute; StateMethod = GetState; ]
SID_SBA_IMPORT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_SC_SETTEXT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_TABLES_COUNT [ StateMethod = GetState; ]
SID_ATTR_YEAR2000 [ StateMethod = GetState; ExecMethod = Execute; ]
SID_CHART_SOURCE [ ExecMethod = Execute; ]
SID_CHART_ADDSOURCE [ ExecMethod = Execute; ]
FID_AUTO_CALC [ ExecMethod = Execute; StateMethod = GetState; ]
FID_RECALC [ ExecMethod = Execute; StateMethod = GetState; ]
SID_OPEN_HYPERLINK [ ExecMethod = Execute; StateMethod = GetState; ]
FID_HARD_RECALC [ ExecMethod = Execute; StateMethod = GetState; ]
SID_UPDATETABLINKS [ ExecMethod = Execute; ]
SID_REIMPORT_AFTER_LOAD [ ExecMethod = Execute; ]
SID_AUTO_STYLE [ ExecMethod = Execute; ]
SID_GET_COLORLIST [ ExecMethod = Execute; ]
FID_CHG_RECORD [ ExecMethod = Execute; StateMethod = GetState; ]
SID_DOCUMENT_COMPARE [ ExecMethod = Execute; StateMethod = GetState; ]
SID_DOCUMENT_MERGE [ ExecMethod = Execute; StateMethod = GetState; ]
SID_CHG_PROTECT [ ExecMethod = Execute; StateMethod = GetState; ]
SID_DELETE_SCENARIO [ ExecMethod = Execute; ]
SID_EDIT_SCENARIO [ ExecMethod = Execute; ]
SID_ATTR_CHAR_FONTLIST [ StateMethod = GetState; ]
SID_SHARE_DOC [ ExecMethod = Execute; StateMethod = GetState; ]
SID_NOTEBOOKBAR [ ExecMethod = Execute; StateMethod = GetState; ]
SID_LANGUAGE_STATUS [ ExecMethod = Execute; StateMethod = GetState; ]
SID_SPELLCHECK_IGNORE_ALL [ ExecMethod = Execute; StateMethod = GetState; ]
SID_SPELLCHECK_APPLY_SUGGESTION [ ExecMethod = Execute; StateMethod = GetState; ]
SID_REFRESH_VIEW [ ExecMethod = Execute; StateMethod = GetState; ]
}
shell ScDocShell
{
import TableDocument;
}