summaryrefslogtreecommitdiff
path: root/sc/inc/inputopt.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-08-16 17:15:34 +0200
committerTomaž Vajngerl <quikee@gmail.com>2013-08-16 17:47:01 +0200
commit462b28770e4fa3dfa6fe4af71a6776cceb4c4640 (patch)
tree8c3207c9846da33c2157606d9ac15abba6387343 /sc/inc/inputopt.hxx
parent0f7de1dce1b8b6ce4ecb8cb9f70cb6f8bc9051a5 (diff)
fdo#37230 Add legacy cell selection behavior and config. option
When selecting cells with ctrl+shift, the legacy behaviour was to take in account to which cell the cursor moved. This allowed the user to make some convenient selections. This behaviour can now be turned on with a switch in the configuration (Tools > Options > Calc > General > Input Settings > "Use legacy cursor movement behavior when selecting"). Change-Id: I00ae7b4ee001b416cc680c7a650631daec71e51b
Diffstat (limited to 'sc/inc/inputopt.hxx')
-rw-r--r--sc/inc/inputopt.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/inputopt.hxx b/sc/inc/inputopt.hxx
index be5095a9a2a5..33e282a4cf8b 100644
--- a/sc/inc/inputopt.hxx
+++ b/sc/inc/inputopt.hxx
@@ -38,6 +38,7 @@ private:
sal_Bool bUseTabCol;
sal_Bool bTextWysiwyg;
sal_Bool bReplCellsWarn;
+ sal_Bool bLegacyCellSelection;
public:
ScInputOptions();
@@ -66,6 +67,8 @@ public:
sal_Bool GetTextWysiwyg() const { return bTextWysiwyg; }
void SetReplaceCellsWarn(sal_Bool bSet) { bReplCellsWarn = bSet; }
sal_Bool GetReplaceCellsWarn() const { return bReplCellsWarn; }
+ void SetLegacyCellSelection(sal_Bool bSet) { bLegacyCellSelection = bSet; }
+ sal_Bool GetLegacyCellSelection() const { return bLegacyCellSelection; }
const ScInputOptions& operator= ( const ScInputOptions& rOpt );
};