diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2020-06-02 01:08:50 +0530 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.com> | 2020-07-06 17:30:39 +0200 |
commit | 2947c08471c10fddd9e6b5b21aea2ac00d60d14c (patch) | |
tree | 54dd7ae7a06a28a6089914afc8c832479ae7b083 /sc/inc/editutil.hxx | |
parent | a3d3e85cfd292fcbe00d5d59347bc5ecff95a826 (diff) |
Allow print-twips version of ScEditUtil::GetEditArea()
This will be used in the generation of edit-cursor/edit-selection
messages in print twips for LOK clients.
Change-Id: I91d48372551d1b6aca80aa793023c51b3c59d7ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98054
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sc/inc/editutil.hxx')
-rw-r--r-- | sc/inc/editutil.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index 86d579bd1016..6cfb2f3cae8a 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -40,12 +40,13 @@ class ScEditUtil SCCOL const nCol; SCROW const nRow; SCTAB const nTab; - Point const aScrPos; + Point const aCellPos; VclPtr<OutputDevice> pDev; // MapMode has to be set double const nPPTX; double const nPPTY; Fraction const aZoomX; Fraction aZoomY; + bool bInPrintTwips; public: static OUString ModifyDelimiters( const OUString& rOld ); @@ -78,9 +79,9 @@ public: public: ScEditUtil( ScDocument* pDocument, SCCOL nX, SCROW nY, SCTAB nZ, - const Point& rScrPosPixel, + const Point& rCellPos, OutputDevice* pDevice, double nScaleX, double nScaleY, - const Fraction& rX, const Fraction& rY ); + const Fraction& rX, const Fraction& rY, bool bPrintTwips = false ); tools::Rectangle GetEditArea( const ScPatternAttr* pPattern, bool bForceToTop ); }; |