summaryrefslogtreecommitdiff
path: root/sw/sdi
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2022-01-27 13:15:15 +0200
committerJustin Luth <jluth@mail.com>2022-01-27 18:34:37 +0100
commitc73670326ce5b571c31d43721729a05a11563b01 (patch)
treedecd85c18cb540e2f94fce4ba2113590b1f4d760 /sw/sdi
parenta951590bfb8d161096d87dbc953552f653318e92 (diff)
related tdf#111733 TextCharacterSpacingControl sw: goto position tab
The kerning button on the sidebar very unhelpfully launches the character properties dialog at the last-used tab, instead of bringing the user directly to the "position" tab where the kerning (.uno:Spacing) property can be found. Notes: -sw draw text (eg. textbox) does nothing - no dialog at all -sw comments also do nothing -sc does nothing -sd does nothing Somehow the sidebar is calling SID_ATTR_CHAR_KERNING, but I can't find out where. In any case, I have to change this SID_ATTR_CHAR_KERNING into SID_CHAR_DLG_POSITION for these "do nothing" situations. That can happen in separate commits for each situation. I basically copied SID_CHAR_DLG_EFFECTS which is explicitly called in underline's "more options", so it is used a bit differently. Change-Id: I833d54da3664b9c01325130a2c36bbbe90b2b878 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129043 Tested-by: Justin Luth <jluth@mail.com> Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r--sw/sdi/_textsh.sdi5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi
index 38359c593471..c30d3b2057ea 100644
--- a/sw/sdi/_textsh.sdi
+++ b/sw/sdi/_textsh.sdi
@@ -1531,6 +1531,11 @@ interface BaseText
ExecMethod = Execute ;
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
]
+ SID_CHAR_DLG_POSITION
+ [
+ ExecMethod = Execute ;
+ DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
+ ]
SID_CHAR_DLG_FOR_PARAGRAPH
[
ExecMethod = Execute ;