summaryrefslogtreecommitdiff
path: root/sc/sdi
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2017-11-30 20:17:20 -0900
committerEike Rathke <erack@redhat.com>2017-12-08 18:32:23 +0100
commit92eb84ec047cd091d467fd02c8e8bc8d85002b2e (patch)
tree2fd2c0317eeb53e887791bb256754e9c4ac42bfe /sc/sdi
parenta126d37a90ebc2d94522c5bbbe64b288b87de7da (diff)
tdf#86085 add slot for toggling thousands separator
In preparation of adding a button to the toolbar. Change-Id: Icd97f828def1aacbb92297e8e74bdd2310c4d0f8 Reviewed-on: https://gerrit.libreoffice.org/45731 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-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 54771a8dbb80..7c188bba403b 100644
--- a/sc/sdi/formatsh.sdi
+++ b/sc/sdi/formatsh.sdi
@@ -113,6 +113,7 @@ interface FormatForSelection
SID_NUMBER_STANDARD [ ExecMethod = ExecuteNumFormat; StateMethod = GetNumFormatState; ]
SID_NUMBER_INCDEC [ ExecMethod = ExecuteNumFormat;]
SID_NUMBER_DECDEC [ ExecMethod = ExecuteNumFormat;]
+ SID_NUMBER_THOUSANDS [ ExecMethod = ExecuteNumFormat; StateMethod = GetNumFormatState; ]
SID_NUMBER_TYPE_FORMAT [ ExecMethod = ExecuteNumFormat;StateMethod = GetNumFormatState; ]
diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi
index db1a738fe8c8..071ed56e250f 100644
--- a/sc/sdi/scalc.sdi
+++ b/sc/sdi/scalc.sdi
@@ -3723,6 +3723,24 @@ SfxVoidItem NumberFormatTime SID_NUMBER_TIME
]
+SfxVoidItem NumberFormatThousands SID_NUMBER_THOUSANDS
+()
+[
+ AutoUpdate = FALSE,
+ FastCall = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ ToolBoxConfig = TRUE,
+ GroupId = SfxGroupId::Format;
+]
+
+
SfxInt32Item ObjectHeight SID_OBJECT_HEIGHT
[