diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2021-01-19 14:46:48 +0530 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-02-03 13:32:01 +0100 |
commit | bc025dac6ce3301f5798e8ada4fee07b415de76a (patch) | |
tree | e2f373fd887ff5bc9984b52e36d6997e3e35500c /sc/inc | |
parent | 15f031f75ed3c4940d591bb005d6197894fd14ef (diff) |
lok: Take indent and margins into account
... when painting tiles with edit-text content.
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>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/editutil.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index 6cfb2f3cae8a..72532fae5d1a 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 ); + long GetIndent(const ScPatternAttr* pPattern) const; + void GetMargins(const ScPatternAttr* pPattern, long& nLeftMargin, long& nTopMargin, + long& nRightMargin, long& BottomMargin) const; + }; class ScEditAttrTester |