summaryrefslogtreecommitdiff
path: root/sc/sdi
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2023-03-17 11:09:49 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2023-03-17 14:34:04 +0000
commit796c9c5ac2196e62546bcef229dcd08a3b8724db (patch)
tree017d19598153c5d86d82f73139451138c2591dff /sc/sdi
parent34f7c8cce9c16861940f403f9a633fe8b26ba4ad (diff)
sc drawstyles: Move style commands to ScTabViewShell
For them to be available also when shapes are selected. This commit alone shouldn't cause any change in behavior. Change-Id: Ic038618fe8b450ef2c93a19efb2e27c41f6de0f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149047 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sc/sdi')
-rw-r--r--sc/sdi/formatsh.sdi11
-rw-r--r--sc/sdi/tabvwsh.sdi12
2 files changed, 12 insertions, 11 deletions
diff --git a/sc/sdi/formatsh.sdi b/sc/sdi/formatsh.sdi
index 4e566eb5069e..3cb4c050feaa 100644
--- a/sc/sdi/formatsh.sdi
+++ b/sc/sdi/formatsh.sdi
@@ -39,17 +39,6 @@ interface TableFont
interface FormatForSelection
{
// slots which are disabled in the DrawShell {{
- SID_STYLE_FAMILY2 [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_APPLY [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_WATERCAN [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_NEW_BY_EXAMPLE [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_UPDATE_BY_EXAMPLE [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_NEW [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_FAMILY4 [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_EDIT [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_DELETE [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_HIDE [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
- SID_STYLE_SHOW [ ExecMethod = ExecuteStyle; StateMethod = GetStyleState; ]
SID_STYLE_PREVIEW [ ExecMethod = ExecuteStyle; ]
SID_STYLE_END_PREVIEW [ ExecMethod = ExecuteStyle; ]
SID_CLASSIFICATION_APPLY [ ExecMethod = ExecuteStyle; ]
diff --git a/sc/sdi/tabvwsh.sdi b/sc/sdi/tabvwsh.sdi
index 50049bad7abc..5938317eb8aa 100644
--- a/sc/sdi/tabvwsh.sdi
+++ b/sc/sdi/tabvwsh.sdi
@@ -205,6 +205,18 @@ interface TableEditView
SID_GRID_USE [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; ]
SID_HELPLINES_MOVE [ ExecMethod = ExecDrawOpt; StateMethod = GetDrawOptState; ]
+ SID_STYLE_FAMILY2 [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_FAMILY4 [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_APPLY [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_WATERCAN [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_NEW_BY_EXAMPLE [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_UPDATE_BY_EXAMPLE [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_NEW [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_EDIT [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_DELETE [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_HIDE [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+ SID_STYLE_SHOW [ ExecMethod = ExecStyle; StateMethod = GetStyleState; ]
+
SID_GETUNDOSTRINGS [ StateMethod = GetUndoState; ]
SID_GETREDOSTRINGS [ StateMethod = GetUndoState; ]
SID_UNDO [ ExecMethod = ExecuteUndo; StateMethod = GetUndoState; ]