summaryrefslogtreecommitdiff
path: root/sc/inc/editutil.hxx
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2021-01-19 14:46:48 +0530
committerDennis Francis <dennis.francis@collabora.com>2021-02-09 09:55:34 +0100
commitd87fcadc242881c39d3c49c85b9d5ef83ec6dde4 (patch)
treeb3b6f0ca09f615a1160faa4e4c1394d78e021aba /sc/inc/editutil.hxx
parent3bc70b74befd2cad85e40c913467b60d0407fbfe (diff)
lok: Take indent and margins into account
... when painting tiles with edit-text content. Conflicts: sc/source/core/tool/editutil.cxx Change-Id: I31199c18ed5aab005d56241046a9f7109691db99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109755 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit bc025dac6ce3301f5798e8ada4fee07b415de76a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110619 Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sc/inc/editutil.hxx')
-rw-r--r--sc/inc/editutil.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx
index d760faf5c53e..4efadface0f4 100644
--- a/sc/inc/editutil.hxx
+++ b/sc/inc/editutil.hxx
@@ -84,6 +84,10 @@ public:
const Fraction& rX, const Fraction& rY, bool bPrintTwips = false );
tools::Rectangle GetEditArea( const ScPatternAttr* pPattern, bool bForceToTop );
+ tools::Long GetIndent(const ScPatternAttr* pPattern) const;
+ void GetMargins(const ScPatternAttr* pPattern, tools::Long& nLeftMargin, tools::Long& nTopMargin,
+ tools::Long& nRightMargin, tools::Long& BottomMargin) const;
+
};
class ScEditAttrTester