diff options
author | Gülşah Köse <gulsah.kose@collabora.com> | 2020-10-05 14:57:33 +0300 |
---|---|---|
committer | Gülşah Köse <gulsah.kose@collabora.com> | 2020-10-16 12:05:02 +0200 |
commit | c7ada1cc8a294f0d2da32ffc02d0941b1b1afd29 (patch) | |
tree | 22ba18439f8dbe7ef3db43131572b4f523dc0843 /include/svx/svdotext.hxx | |
parent | 3503c03ece2fd912f4ba4767894eb97d8f9aae07 (diff) |
tdf#128212 Change the text z camera rotation order.
Old order:
1) Apply all rotation values (normal and camera z)
2) Do the adjustment (top, middle, bottom)
New Order:
1) Apply rotation values except camera z
2) Do the adjustment (top, middle, bottom)
3) Apply camera z rotation.
We rotate the text at the center of the already positioned rectangle
of the text, which depends on e.g. the length of the laid out text.
This matches the PowerPoint behavior.
Change-Id: I8741cf443834bf01cc07c04318fd6205ed6a0dd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103965
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
Diffstat (limited to 'include/svx/svdotext.hxx')
-rw-r--r-- | include/svx/svdotext.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx index 1de1b3edd89c..fd69b4a681b7 100644 --- a/include/svx/svdotext.hxx +++ b/include/svx/svdotext.hxx @@ -577,6 +577,7 @@ public: // Set single item at the local ItemSet. *Does not use* AllowItemChange(), // ItemChange(), PostItemChange() and ItemSetChanged() calls. void SetObjectItemNoBroadcast(const SfxPoolItem& rItem); + double GetCameraZRotation() const; public: |