summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2022-01-04 12:55:45 +0530
committerAndras Timar <andras.timar@collabora.com>2022-01-11 11:18:09 +0100
commit0fe02bb99e5dfa8379a49de75683fc350e4c4dbd (patch)
tree4601ca376bccbf779e73cb7b34eea20f2adaae68 /include
parentbb37b46182bcff2f10edcc590cedbc4bb5820c4b (diff)
lokCalcRTL: fix editing of shape text
Inform editeng that negated document x coordinates are used in this case and ensure that editeng generated invalidation rectangles always have positive X coordinates. Change-Id: I2e450707ce02f7bcd8e4d299f857c37ebbd5e2c6
Diffstat (limited to 'include')
-rw-r--r--include/editeng/editview.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 117cc68b7c99..2c073de906f4 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -361,6 +361,10 @@ public:
void SuppressLOKMessages(bool bSet);
bool IsSuppressLOKMessages() const;
+
+ /// To inform editeng that negated x document coordinates are in use.
+ void SetNegativeX(bool bSet);
+ bool IsNegativeX() const;
};
#endif // INCLUDED_EDITENG_EDITVIEW_HXX