summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2020-06-02 00:42:24 +0530
committerDennis Francis <dennis.francis@collabora.com>2020-07-06 17:26:58 +0200
commitbf9f97db8a0849d51a8498072d15ec320e6c3c46 (patch)
tree67e153a836d133acfbe93f1f7edc8290ce607792 /sc/inc/document.hxx
parent6c97e5d0d5012fe0ad8bad9157463a6293f34b8d (diff)
Allow print-twips version of ScDocument::GetNeededSize()...
via an optional boolean argument bInPrintTwips which is false by default. This is needed for edit-area calculation in print twips which will aid in the generation of edit-cursor/edit-selection messages in print twips for LOK clients. Change-Id: Ibb15411278b9196d956ac952444d6e31c62dccda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98117 Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 619bcbce8d38..5a487a0d94a9 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1920,7 +1920,8 @@ public:
OutputDevice* pDev,
double nPPTX, double nPPTY,
const Fraction& rZoomX, const Fraction& rZoomY,
- bool bWidth, bool bTotalSize = false );
+ bool bWidth, bool bTotalSize = false,
+ bool bInPrintTwips = false );
SC_DLLPUBLIC void ShowCol(SCCOL nCol, SCTAB nTab, bool bShow);
SC_DLLPUBLIC void ShowRow(SCROW nRow, SCTAB nTab, bool bShow);