diff options
author | Eike Rathke [er] <erAck@sun.com> | 2010-02-24 12:16:42 +0100 |
---|---|---|
committer | Eike Rathke [er] <erAck@sun.com> | 2010-02-24 12:16:42 +0100 |
commit | 19e19bafa255e9ff6daa0b9504eaa88cf1bfa4fa (patch) | |
tree | c983ce1cff87f1487685d285a1e5160f171400b0 /sc/inc/global.hxx | |
parent | 25b005cbda460837f063ddf996c1ec72d4f4865b (diff) |
calcfilterrange: #i109553# #160403# for filters (AutoFilter, StandardFilter, AdvancedFilter) shrink selected area to used data area and expand single selected row down to end of data
Diffstat (limited to 'sc/inc/global.hxx')
-rw-r--r-- | sc/inc/global.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index c938968ddfef..fafe1a3514f0 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -417,6 +417,29 @@ enum ScGetDBMode SC_DB_OLD // nicht neu anlegen }; +/// For ScDBFunc::GetDBData() +enum ScGetDBSelection +{ + /** Keep selection as is, expand to used data area if no selection. */ + SC_DBSEL_KEEP, + + /** Shrink selection to sheet's data area. */ + SC_DBSEL_SHRINK_TO_SHEET_DATA, + + /** Shrink selection to actually used data area within the selection. */ + SC_DBSEL_SHRINK_TO_USED_DATA, + + /** If only one row or portion thereof is selected, shrink row to used data + columns and select further rows down until end of data. If an area is + selected, shrink rows to actually used columns. Else, no selection, + expand to used data area. */ + SC_DBSEL_ROW_DOWN, + + /** Behave as if the range corresponding to a ScDBData area was selected, + for API use. */ + SC_DBSEL_FORCE_MARK +}; + enum ScLkUpdMode { //Verknuepfungen LM_ALWAYS, //immer aktualisieren |