summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2018-04-04 16:31:03 +0200
committerHeiko Tietze <tietze.heiko@gmail.com>2018-04-06 13:09:48 +0200
commit49a2ca259287173d86a303b5c75d25ce52a9e26c (patch)
tree9b2f0127d8689bc75aed1ccd4cd1e686d060b8ef
parent3b17a8ebad5251d7908cf1d992c8b76b88557578 (diff)
tdf#86404 - use Ctrl+TAB to switch between tabs/sheets
Introduced mod1+tab and mod1+shitf+tab and assigned it to next/prev sheet in Calc Change-Id: I49e4dee685bbf81595f24222907664a271a3f121 Reviewed-on: https://gerrit.libreoffice.org/52392 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
-rw-r--r--cui/source/customize/acccfg.cxx2
-rw-r--r--officecfg/registry/data/org/openoffice/Office/Accelerators.xcu48
2 files changed, 26 insertions, 24 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index 9f1c75341ace..46f42b400f3b 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -201,6 +201,7 @@ static const sal_uInt16 KEYCODE_ARRAY[] =
KEY_MOD1 | KEY_POINT,
KEY_MOD1 | KEY_COMMA,
KEY_MOD1 | KEY_TILDE,
+ KEY_MOD1 | KEY_TAB,
KEY_MOD1 | KEY_F1,
KEY_MOD1 | KEY_F2,
@@ -281,6 +282,7 @@ static const sal_uInt16 KEYCODE_ARRAY[] =
KEY_SHIFT | KEY_MOD1 | KEY_POINT,
KEY_SHIFT | KEY_MOD1 | KEY_COMMA,
KEY_SHIFT | KEY_MOD1 | KEY_TILDE,
+ KEY_SHIFT | KEY_MOD1 | KEY_TAB,
KEY_SHIFT | KEY_MOD1 | KEY_F1,
KEY_SHIFT | KEY_MOD1 | KEY_F2,
diff --git a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu
index 6e9182150a56..2e0c0d4ab9e6 100644
--- a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu
@@ -1029,12 +1029,6 @@
<value xml:lang="en-US">.uno:GoDownBlock</value>
</prop>
</node>
- <node oor:name="PAGEDOWN_MOD1" oor:op="replace">
- <prop oor:name="Command">
- <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
- <value xml:lang="en-US">.uno:JumpToNextTable</value>
- </prop>
- </node>
<node oor:name="PAGEDOWN_SHIFT" oor:op="replace">
<prop oor:name="Command">
<value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
@@ -1053,12 +1047,6 @@
<value xml:lang="en-US">.uno:GoUpBlock</value>
</prop>
</node>
- <node oor:name="PAGEUP_MOD1" oor:op="replace">
- <prop oor:name="Command">
- <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
- <value xml:lang="en-US">.uno:JumpToPrevTable</value>
- </prop>
- </node>
<node oor:name="PAGEUP_SHIFT" oor:op="replace">
<prop oor:name="Command">
<value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
@@ -1330,6 +1318,18 @@
<value xml:lang="en-US">.uno:InsertAnnotation</value>
</prop>
</node>
+ <node oor:name="TAB_MOD1" oor:op="replace">
+ <prop oor:name="Command">
+ <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
+ <value xml:lang="en-US">.uno:JumpToNextTable</value>
+ </prop>
+ </node>
+ <node oor:name="TAB_SHIFT_MOD1" oor:op="replace">
+ <prop oor:name="Command">
+ <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
+ <value xml:lang="en-US">.uno:JumpToPrevTable</value>
+ </prop>
+ </node>
</node>
<node oor:name="com.sun.star.chart2.ChartDocument" oor:op="replace">
<node oor:name="9_SHIFT_MOD1_MOD2" oor:op="replace">
@@ -7406,6 +7406,18 @@
<value xml:lang="en-US">.uno:Undo</value>
</prop>
</node>
+ <node oor:name="PAGEDOWN_MOD1" oor:op="replace">
+ <prop oor:name="Command">
+ <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
+ <value xml:lang="en-US">.uno:JumpToNextTable</value>
+ </prop>
+ </node>
+ <node oor:name="PAGEUP_MOD1" oor:op="replace">
+ <prop oor:name="Command">
+ <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
+ <value xml:lang="en-US">.uno:JumpToPrevTable</value>
+ </prop>
+ </node>
</node>
<node oor:name="com.sun.star.chart2.ChartDocument" oor:op="replace">
<node oor:name="BACKSPACE_MOD2" oor:op="replace">
@@ -7887,18 +7899,6 @@
<value xml:lang="en-US">.uno:Undo</value>
</prop>
</node>
- <node oor:name="TAB_MOD1" oor:op="replace">
- <prop oor:name="Command">
- <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
- <value xml:lang="en-US">.uno:NextMark</value>
- </prop>
- </node>
- <node oor:name="TAB_SHIFT_MOD1" oor:op="replace">
- <prop oor:name="Command">
- <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value>
- <value xml:lang="en-US">.uno:PrevMark</value>
- </prop>
- </node>
<node oor:name="SUBTRACT" oor:op="replace">
<prop oor:name="Command">
<value xml:lang="en-US">.uno:CollapseSection</value>