summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-28 20:08:01 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-29 00:04:22 -0500
commit8724aa7d6dc6a89855c0c0a1a5d5b9dc0331a679 (patch)
treeecdf410878457084576bdd8f49c8af8130768d4c /sc/inc
parent12854c322f799a8795b0054293ea987f11170d64 (diff)
Passed the selected sheet info to ScPreview.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/markdata.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/inc/markdata.hxx b/sc/inc/markdata.hxx
index 05157a2f7370..ef2671d82b51 100644
--- a/sc/inc/markdata.hxx
+++ b/sc/inc/markdata.hxx
@@ -45,11 +45,14 @@ class ScRangeList;
class SC_DLLPUBLIC ScMarkData
{
+public:
+ typedef std::set<SCTAB> MarkedTabsType;
private:
+ MarkedTabsType maTabMarked;
+
ScRange aMarkRange; // area
ScRange aMultiRange; // maximum area altogether
ScMarkArray* pMultiSel; // multi selection
- ::std::set<SCTAB> maTabMarked;
bool bMarked:1; // rectangle marked
bool bMultiMarked:1;
@@ -86,6 +89,7 @@ public:
SCTAB GetSelectCount() const;
SCTAB GetFirstSelected() const;
SCTAB GetLastSelected() const;
+ void GetSelectedTabs(MarkedTabsType& rTabs) const;
void SetMarkNegative( bool bFlag ) { bMarkIsNeg = bFlag; }
bool IsMarkNegative() const { return bMarkIsNeg; }