diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-27 09:11:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-27 11:00:42 +0200 |
commit | d378cd2f766eeb1fd1c98f62c9ae6b5b59fd00f1 (patch) | |
tree | f5a131942180636d8c6b801cdf6d238140c9dd89 /sw/sdi | |
parent | bae1e2aa636f144fe01cb8d9721e54525fed8b2c (diff) |
tdf#87914 sw: add an initial .uno:SmallCaps command
- handle it in SwTextShell (for normal Writer text)
- simple icon in the galaxy theme
Change-Id: Ib8f11dbca28b19a2fc0411c92d9f0b4b052277bb
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_textsh.sdi | 6 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 18 |
2 files changed, 24 insertions, 0 deletions
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi index a6991e8ab8d1..88a1f9cf2eba 100644 --- a/sw/sdi/_textsh.sdi +++ b/sw/sdi/_textsh.sdi @@ -1442,6 +1442,12 @@ interface BaseText StateMethod = GetAttrState ; DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; ] + FN_SET_SMALL_CAPS + [ + ExecMethod = ExecCharAttr ; + StateMethod = GetAttrState ; + DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; + ] SID_ATTR_CHAR_CASEMAP // status(final|play) [ ExecMethod = ExecTextCtrl; diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index c5c65688c47a..93c18fae6b15 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -5737,6 +5737,24 @@ SfxBoolItem SuperScript FN_SET_SUPER_SCRIPT GroupId = GID_FORMAT; ] +SfxBoolItem SmallCaps FN_SET_SMALL_CAPS + +[ + AutoUpdate = TRUE, + FastCall = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = GID_FORMAT; +] + SfxVoidItem SwBrwInsert FN_SBA_BRW_INSERT () [ |