summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-03-24 23:14:28 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-04-01 00:11:02 -0400
commit7df4c7feacf51c141a7beaa2a8404d932d7c2e86 (patch)
tree382fc1f4af02a368cc905f9e7dd341e152f9965c /sc/inc/table.hxx
parentd8e16e5559b715b8c2853f262a0636e79f5c1853 (diff)
Support sheet-local anonymous database ranges.
This is for an Easy Hack to allow one autofilter per sheet, not per document.
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index a4be4abff773..d3be0754dec4 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -38,6 +38,7 @@
#include "column.hxx"
#include "sortparam.hxx"
#include "compressedarray.hxx"
+#include "dbcolect.hxx"
#include <memory>
#include <set>
@@ -187,6 +188,7 @@ private:
Color aTabBgColor;
sal_uInt16 nScenarioFlags;
sal_Bool bActiveScenario;
+ ScDBData* pDBDataNoName;
mutable ScRangeName* mpRangeName;
bool mbPageBreaksValid;
@@ -270,6 +272,9 @@ public:
void GetName( String& rName ) const;
void SetName( const String& rNewName );
+ void SetAnonymousDBData(ScDBData* aDBData);
+ ScDBData* GetAnonymousDBData();
+
void GetCodeName( String& rName ) const { rName = aCodeName; }
void SetCodeName( const String& rNewName ) { aCodeName = rNewName; }
@@ -795,6 +800,7 @@ public:
void SetRangeName(ScRangeName* pNew);
ScRangeName* GetRangeName() const;
+ void UpdateMoveTab(SCTAB nOldPos,SCTAB nNewPos);
private:
void FillSeries( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,