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/source/ui/inc | |
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/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/cellsh.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/inputhdl.hxx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx index fa83707c6315..2318cf86acc5 100644 --- a/sc/source/ui/inc/cellsh.hxx +++ b/sc/source/ui/inc/cellsh.hxx @@ -61,6 +61,8 @@ private: void ExecuteXMLSourceDialog(); void ExecuteSubtotals(SfxRequest& rReq); + void ExecuteFillSingleEdit(); + DECL_LINK( ClipboardChanged, TransferableDataHelper* ); DECL_LINK( DialogClosed, void* ); diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx index 231e9ad81bce..937313832e1a 100644 --- a/sc/source/ui/inc/inputhdl.hxx +++ b/sc/source/ui/inc/inputhdl.hxx @@ -164,7 +164,7 @@ public: ScInputHandler(); virtual ~ScInputHandler(); - void SetMode( ScInputMode eNewMode ); + void SetMode( ScInputMode eNewMode, const OUString* pInitText = NULL ); bool IsInputMode() const { return (eMode != SC_INPUT_NONE); } bool IsEditMode() const { return (eMode != SC_INPUT_NONE && eMode != SC_INPUT_TYPE); } |