summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2011-01-05 11:30:14 +0100
committerNiklas Nebel <nn@openoffice.org>2011-01-05 11:30:14 +0100
commitdc1685728a142b05bb2c7d97b6d6577f6f35ae8a (patch)
tree4a0ef1522ce6eed2bfe46f01ea6f92fb6dba9e73 /sc/inc/table.hxx
parent60851227548d3576a92898b13b0e1c15cc719f44 (diff)
calc64: #i116164# performance of filters with many filtered ranges
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx13
1 files changed, 12 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 63cefe22626a..042715c1f6a2 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -86,6 +86,17 @@ class ScFlatBoolRowSegments;
class ScFlatBoolColSegments;
+struct ScShowRowsEntry
+{
+ SCROW mnRow1;
+ SCROW mnRow2;
+ bool mbShow;
+
+ ScShowRowsEntry( SCROW nR1, SCROW nR2, bool bS ) :
+ mnRow1(nR1), mnRow2(nR2), mbShow(bS) {}
+};
+
+
class ScTable
{
private:
@@ -657,7 +668,7 @@ public:
void DBShowRow(SCROW nRow, bool bShow);
void ShowRows(SCROW nRow1, SCROW nRow2, bool bShow);
- void DBShowRows(SCROW nRow1, SCROW nRow2, bool bShow);
+ void DBShowRows(SCROW nRow1, SCROW nRow2, bool bShow, bool bSetFlags); // if bSetFlags=false, no SetRowHidden/SetRowFiltered
void SetColFlags( SCCOL nCol, BYTE nNewFlags );
void SetRowFlags( SCROW nRow, BYTE nNewFlags );