diff options
author | Justin Luth <justin_luth@sil.org> | 2022-01-27 13:15:15 +0200 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-01-27 18:34:37 +0100 |
commit | c73670326ce5b571c31d43721729a05a11563b01 (patch) | |
tree | decd85c18cb540e2f94fce4ba2113590b1f4d760 /svx | |
parent | a951590bfb8d161096d87dbc953552f653318e92 (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 'svx')
-rw-r--r-- | svx/sdi/svx.sdi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index 84f959fc4e1b..2ea903df9edf 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -3008,6 +3008,25 @@ SfxVoidItem FontEffectsDialog SID_CHAR_DLG_EFFECT ] +SfxVoidItem FontPositionDialog SID_CHAR_DLG_POSITION +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerItem; + Asynchron; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Format; +] + + SvxFontHeightItem FontHeight SID_ATTR_CHAR_FONTHEIGHT [ |