summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-06-22 15:47:44 +0200
committerJan Holesovsky <kendy@collabora.com>2015-06-22 15:51:02 +0200
commit11244e5bbc6eabf9b1402235729024adbbc36f27 (patch)
tree72b38e85fe272ca23bcd7754495710aa274cf1ce /sc/inc
parent72fe5a608793d0669da5f66030d0eb622b414e7d (diff)
sc tiled rendering: Set some minimal size of the document.
Let's default to 12x36 cells. Change-Id: Ic39739ec036a6e5867d31b7e05b6da12ce2e46d2
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/document.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 7ea90f19015f..69e6f5bd9586 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1157,6 +1157,9 @@ public:
SCROW& rEndRow, bool bNotes = true ) const;
void InvalidateTableArea();
+ /// Return the number of colums / rows that should be visible for the tiled rendering.
+ SC_DLLPUBLIC bool GetTiledRenderingArea(SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow) const;
+
SC_DLLPUBLIC bool GetDataStart( SCTAB nTab, SCCOL& rStartCol, SCROW& rStartRow ) const;
/**