summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKatarina Machalkova <kmachalkova@suse.cz>2011-04-12 23:50:03 +0200
committerKatarina Machalkova <kmachalkova@suse.cz>2011-04-12 23:50:03 +0200
commit2c2ea10d446b32d24f6268116093969b454f47b8 (patch)
tree4d374e47ffd3777e2ac3d199e8f748fa093ffeb9 /sc/inc
parent0ebbbaccdb81fa12c75c25b2809558d1421d2bd4 (diff)
fdo#35345: Don't overwrite hidden cells in drag-fill operation
Also i#89232. Extracting relevant parts from 'calc66' CWS
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dbcolect.hxx2
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/inc/table.hxx1
3 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/dbcolect.hxx b/sc/inc/dbcolect.hxx
index 8583b710e437..937dcfc89f0c 100644
--- a/sc/inc/dbcolect.hxx
+++ b/sc/inc/dbcolect.hxx
@@ -44,6 +44,7 @@ class ScDocument;
class ScDBData : public ScDataObject, public ScRefreshTimer
{
+friend class ScDBCollection;
private:
// DBParam
String aName;
@@ -214,6 +215,7 @@ public:
virtual sal_Bool IsEqual(ScDataObject* pKey1, ScDataObject* pKey2) const;
ScDBData* GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Bool bStartOnly) const;
ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const;
+ ScDBData* GetFilterDBAtTable(SCTAB nTab) const;
ScDBData* GetDBNearCursor(SCCOL nCol, SCROW nRow, SCTAB nTab );
sal_Bool SearchName( const String& rName, sal_uInt16& rIndex ) const;
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index f41edffbe291..901bc3615ac2 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -484,6 +484,8 @@ public:
ScDBData* GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab,
sal_Bool bStartOnly = false) const;
ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const;
+ ScDBData* GetFilterDBAtTable(SCTAB nTab) const;
+
SC_DLLPUBLIC const ScRangeData* GetRangeAtBlock( const ScRange& rBlock, String* pName=NULL ) const;
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 14f8ddf821bb..634acac0be6c 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -690,6 +690,7 @@ public:
/// @return the index of the last changed row (flags and row height, auto pagebreak is ignored).
SCROW GetLastChangedRow() const;
+ sal_Bool IsDataFiltered() const;
sal_uInt8 GetColFlags( SCCOL nCol ) const;
sal_uInt8 GetRowFlags( SCROW nRow ) const;