diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2020-06-03 21:33:24 +0530 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.com> | 2020-07-06 17:44:55 +0200 |
commit | e02bd1b5aa22c463fbb985df546edc94e63a7c98 (patch) | |
tree | be19f367a51037413e736d4b001509a95c269489 /include | |
parent | 18d8297fe2ae9a312473a0fc4e450fc6dcfa6450 (diff) |
scPrintTwipsMsgs: Use print-twips paper-size
Paper size for the EditEngine is calculated based on per-cell pixel
alignment. So lets use the exact print-twips version whenever we need it
to compute/adjust output-area and visible-area of EditView.
Change-Id: I7da6db9363d09965315ff5ca9d01f0fea141a533
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98066
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/editeng.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 4c603a1b8b07..c5baa182e2e1 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -623,6 +623,9 @@ public: // the same type expands the original instead of inserting another. But the // spell check dialog doesn't want that behaviour void DisableAttributeExpanding(); + + void SetLOKSpecialPaperSize(const Size& rSize); + const Size& GetLOKSpecialPaperSize() const; }; #endif // INCLUDED_EDITENG_EDITENG_HXX |