From c73670326ce5b571c31d43721729a05a11563b01 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Thu, 27 Jan 2022 13:15:15 +0200 Subject: 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 Reviewed-by: Justin Luth --- include/svx/svxids.hrc | 1 + 1 file changed, 1 insertion(+) (limited to 'include/svx') diff --git a/include/svx/svxids.hrc b/include/svx/svxids.hrc index 467a96ef421a..f4623b6e0e77 100644 --- a/include/svx/svxids.hrc +++ b/include/svx/svxids.hrc @@ -958,6 +958,7 @@ class SvxViewLayoutItem; #define SID_CELL_FORMAT_BORDER ( SID_SVX_START + 1132 ) #define SID_CHAR_DLG_EFFECT ( SID_SVX_START + 1133 ) +#define SID_CHAR_DLG_POSITION ( SID_SVX_START + 1134 ) #define FN_SVX_SET_NUMBER ( SID_SVX_START + 1136 ) #define FN_SVX_SET_BULLET ( SID_SVX_START + 1137 ) -- cgit