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-18 21:36:09 +0200 |
commit | eda0fa64b5de798e6fd73a4bc598b86fb4bd1fb1 (patch) | |
tree | 3bd553cfcf760eb1f951f3e9e4ad113d92ac2300 /include | |
parent | 42eb4dc116cdc239965117276a49ade40fd7ad22 (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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104448
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdoashp.hxx | 1 | ||||
-rw-r--r-- | include/svx/svdotext.hxx | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx index ff51e20ec974..a5ab4eac2d12 100644 --- a/include/svx/svdoashp.hxx +++ b/include/svx/svdoashp.hxx @@ -142,7 +142,6 @@ public: double GetObjectRotation() const { return fObjectRotation;} double GetExtraTextRotation( const bool bPreRotation = false ) const; - double GetCameraRotation() const; SdrObjCustomShape(SdrModel& rSdrModel); diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx index 020bcb6cdd22..6efae0b58feb 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: |