diff options
author | Gulsah Kose <gulsah.1004@gmail.com> | 2018-01-17 19:09:13 +0300 |
---|---|---|
committer | Gülşah Köse <gulsah.1004@gmail.com> | 2018-01-24 13:29:55 +0100 |
commit | 844c92793c1399e2f14f671f964ea35e1bce24ac (patch) | |
tree | 678c6e33e945e70168a123d8e8d531ccb9ddc2eb /sc/sdi | |
parent | 2adf811370116cfb0e6280d74abdd733e078e8ff (diff) |
[Pardus] tdf#108989 Add contextual validity command.
When cursor is in a cell has following validity attributes
SC_VALID_WHOLE, SC_VALID_DECIMAL, SC_VALID_DATE,
SC_VALID_TIME,SC_VALID_TEXTLEN, SC_VALID_LIST,
SC_VALID_CUSTOM, Validity command appears on context
menu.
This patch is sponsored by ULAKBIM/Pardus project.
Change-Id: I47c0de7b62befdf02c343c1419cf32441d8f4df2
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/48067
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'sc/sdi')
-rw-r--r-- | sc/sdi/cellsh.sdi | 1 | ||||
-rw-r--r-- | sc/sdi/scalc.sdi | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/sc/sdi/cellsh.sdi b/sc/sdi/cellsh.sdi index decb76cfc659..b21769d8d258 100644 --- a/sc/sdi/cellsh.sdi +++ b/sc/sdi/cellsh.sdi @@ -60,6 +60,7 @@ interface CellSelection SID_SUBTOTALS [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] SID_PIVOT_TABLE [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] FID_VALIDATION [ ExecMethod = ExecuteDB; StateMethod = GetBlockState; ] + FID_CURRENTVALIDATION [ ExecMethod = ExecuteDB; StateMethod = GetState; ] SID_TEXT_TO_COLUMNS [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] // } database operations diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index 6db3054a7cf6..956bacaae8e3 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -5618,6 +5618,24 @@ SfxVoidItem Validation FID_VALIDATION ] +SfxVoidItem CurrentValidation FID_CURRENTVALIDATION +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Data; +] + + ScDoubleItem Value SID_RANGE_VALUE [ |