summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/viewdata.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-09-15 21:15:49 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-15 21:15:49 +0200
commitfe8f3ddf3a6eef5320ea185a32d042a22fb94a30 (patch)
tree7d6120b5d3d44ecbcb37ddecea939f6cb2440add /sc/source/ui/inc/viewdata.hxx
parent340f9bd08cfe91054d3ed36e13c26d4fccce154f (diff)
sc-sheet-gridline-toggle.diff: Toggle gridline display per sheet.
i#14893
Diffstat (limited to 'sc/source/ui/inc/viewdata.hxx')
-rw-r--r--sc/source/ui/inc/viewdata.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 05560b0872b2..52923d1d240c 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -139,6 +139,8 @@ private:
SCCOL nPosX[2];
SCROW nPosY[2];
+ bool bShowGrid; // per-sheet show grid-lines option.
+
BOOL bOldCurValid; // "virtuelle" Cursorpos. bei zusammengefassten
ScViewDataTable();
@@ -320,6 +322,9 @@ public:
const Fraction& GetZoomX() const { return bPagebreak ? pThisTab->aPageZoomX : pThisTab->aZoomX; }
const Fraction& GetZoomY() const { return bPagebreak ? pThisTab->aPageZoomY : pThisTab->aZoomY; }
+ void SetShowGrid( bool bShow );
+ bool GetShowGrid() const { return pThisTab->bShowGrid; }
+
const MapMode& GetLogicMode( ScSplitPos eWhich );
const MapMode& GetLogicMode(); // Offset 0