diff options
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 11 | ||||
-rw-r--r-- | sc/source/ui/inc/tabview.hxx | 3 |
2 files changed, 9 insertions, 5 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index eb9a3450ad22..d476ce15222e 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -313,13 +313,16 @@ public: void PostEditView( ScEditEngineDefaulter* pEditEngine, const ScAddress& rCursorPos ); + tools::Long GetPixelWidthHint(const ScAddress& rPos); + void PostPaint( SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab, PaintPartFlags nPart, - sal_uInt16 nExtFlags = 0 ); - void PostPaint( const ScRangeList& rRanges, PaintPartFlags nPart, sal_uInt16 nExtFlags = 0 ); + sal_uInt16 nExtFlags = 0, tools::Long nMaxWidthAffectedHint = -1 ); + void PostPaint( const ScRangeList& rRanges, PaintPartFlags nPart, sal_uInt16 nExtFlags = 0, + tools::Long nMaxWidthAffectedHint = -1 ); - void PostPaintCell( SCCOL nCol, SCROW nRow, SCTAB nTab ); - void PostPaintCell( const ScAddress& rPos ); + void PostPaintCell( SCCOL nCol, SCROW nRow, SCTAB nTab, tools::Long nMaxWidthAffectedHint = -1); + void PostPaintCell( const ScAddress& rPos, tools::Long nMaxWidthAffectedHint = -1); void PostPaintGridAll(); void PostPaintExtras(); diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index 9c6a2138e6d7..93f1b60e5759 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.hxx @@ -483,7 +483,8 @@ public: // Drawing void PaintArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, - ScUpdateMode eMode = ScUpdateMode::All ); + ScUpdateMode eMode = ScUpdateMode::All, + tools::Long nMaxWidthAffectedHint = -1 ); void PaintGrid(); |