diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-02 15:30:20 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-02 15:43:46 -0400 |
commit | 56cce6fd8151a916e1be540ac18724b46d1b15fc (patch) | |
tree | 18eddb22ce667f8a999d96339b10577cf7c21084 /sc/sdi | |
parent | dd9c9a69da7b22c4166391df082ac23878312a01 (diff) |
Implement "fill single edit" mode and map it to Ctrl-' by default.
Excel does this apparently, and lots of people want it.
Change-Id: Ia741ebb84526197d28caa323d36709e38b8f1323
Diffstat (limited to 'sc/sdi')
-rw-r--r-- | sc/sdi/cellsh.sdi | 1 | ||||
-rw-r--r-- | sc/sdi/scalc.sdi | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/sc/sdi/cellsh.sdi b/sc/sdi/cellsh.sdi index b77b4f88cca8..62ce4858c957 100644 --- a/sc/sdi/cellsh.sdi +++ b/sc/sdi/cellsh.sdi @@ -150,6 +150,7 @@ interface CellSelection FID_FILL_TAB [ ExecMethod = ExecuteEdit; StateMethod = GetState; ] FID_FILL_SERIES [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] FID_FILL_AUTO [ ExecMethod = ExecuteEdit; StateMethod = GetState; ] + FID_FILL_SINGLE_EDIT [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] SID_RANDOM_NUMBER_GENERATOR_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] SID_SAMPLING_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] SID_DESCRIPTIVE_STATISTICS_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index d260cdae945b..fe3d780e7ccc 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -2414,6 +2414,31 @@ SfxVoidItem FillLeft FID_FILL_TO_LEFT ] +SfxVoidItem FillSingleEdit FID_FILL_SINGLE_EDIT +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + + SfxVoidItem FillModeEnd SID_FILL_NONE () [ |