summaryrefslogtreecommitdiff
path: root/sc/sdi
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2017-03-14 15:35:26 +0300
committerEike Rathke <erack@redhat.com>2017-05-05 00:13:13 +0200
commit9691f2652f157f375881aea3bf5e39d72a133e0f (patch)
tree004315d3e3b16330a9e1326ab33cf8524d4c1d88 /sc/sdi
parent87a5be1cb579cb1e215c39990986c0a770c18b50 (diff)
tdf#95885 Add new toolbar and toggle icons for Cell Protection
Change-Id: Ib0d7f2a8cc07988d27f5cf96e5c57727ad1eca71 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/35218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/sdi')
-rw-r--r--sc/sdi/formatsh.sdi1
-rw-r--r--sc/sdi/scalc.sdi18
2 files changed, 19 insertions, 0 deletions
diff --git a/sc/sdi/formatsh.sdi b/sc/sdi/formatsh.sdi
index cb2a76cb57da..3663955aadfa 100644
--- a/sc/sdi/formatsh.sdi
+++ b/sc/sdi/formatsh.sdi
@@ -76,6 +76,7 @@ interface FormatForSelection
SID_ALIGN_ANY_VDEFAULT [ ExecMethod = ExecuteAlignment; StateMethod = GetAlignState; ]
SID_SCATTR_PROTECTION [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; ]
+ SID_SCATTR_CELLPROTECTION [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; ]
SID_BACKGROUND_COLOR [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; ]
SID_ATTR_BRUSH [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; ]
SID_ATTR_CHAR_OVERLINE [ ExecMethod = ExecuteAttr; StateMethod = GetAttrState; ]
diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi
index 68d63700c0b3..dff77d40c255 100644
--- a/sc/sdi/scalc.sdi
+++ b/sc/sdi/scalc.sdi
@@ -6109,6 +6109,24 @@ ScProtectionAttr Protection SID_SCATTR_PROTECTION
]
+SfxBoolItem CellProtection SID_SCATTR_CELLPROTECTION
+
+[
+ AutoUpdate = FALSE,
+ FastCall = TRUE,
+ ReadOnlyDoc = FALSE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_FORMAT;
+]
+
+
SfxVoidItem SelectArrayFormula SID_MARKARRAYFORMULA
()
[