diff options
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r-- | sc/inc/table.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index a9d2ad71bd39..f81e3925964e 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -178,6 +178,12 @@ private: SCROW nRepeatStartY; SCROW nRepeatEndY; + // last used col and row + bool mbCellAreaDirty; + bool mbCellAreaEmpty; + SCCOL mnEndCol; + SCROW mnEndRow; + std::unique_ptr<ScTableProtection> pTabProtection; std::unique_ptr<ScCompressedArray<SCCOL, sal_uInt16>> mpColWidth; @@ -604,7 +610,8 @@ public: void InvalidateTableArea(); void InvalidatePageBreaks(); - bool GetCellArea( SCCOL& rEndCol, SCROW& rEndRow ) const; // FALSE = empty + void InvalidateCellArea() { mbCellAreaDirty = true; } + bool GetCellArea( SCCOL& rEndCol, SCROW& rEndRow ); // FALSE = empty bool GetTableArea( SCCOL& rEndCol, SCROW& rEndRow, bool bCalcHiddens = false) const; bool GetPrintArea( SCCOL& rEndCol, SCROW& rEndRow, bool bNotes, bool bCalcHiddens = false) const; bool GetPrintAreaHor( SCROW nStartRow, SCROW nEndRow, |