diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2019-10-01 18:20:53 +0200 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2019-10-02 13:36:17 +0200 |
commit | caaa8fe7c4bb88185b5b11591ee8a619cff0eced (patch) | |
tree | 540a0598db429ec1d98ece0cf52c2e0ccbd59417 /svx/qa/unit/data | |
parent | 14ee9ffe01ecadaddc7e9b97dae00077dd051d7a (diff) |
tdf#127785 compensate 180deg rotation for position of text box
If a shape is vertically flipped, then the text is rotated by 180deg
around the shape center. The rotation is done by SdrTextObj. There
text rectangle and shape rectangle are the same, so the rotated text
rectangle has the correct position in regard to flipping. But the
text rectangle for SdrObjCustomShape is set by the shape author in
the TextFrames attribute and might have an asymmetric position. The
patch translates the text rectangle so, that is will be at the
correct position after the 180deg rotation.
Change-Id: I42e552394cc4b0103530eab48750dd621c52cc5e
Reviewed-on: https://gerrit.libreoffice.org/79984
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'svx/qa/unit/data')
-rw-r--r-- | svx/qa/unit/data/tdf127785_asymmetricTextBoxFlipV.odg | bin | 0 -> 12166 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/svx/qa/unit/data/tdf127785_asymmetricTextBoxFlipV.odg b/svx/qa/unit/data/tdf127785_asymmetricTextBoxFlipV.odg Binary files differnew file mode 100644 index 000000000000..ea700eaf7e49 --- /dev/null +++ b/svx/qa/unit/data/tdf127785_asymmetricTextBoxFlipV.odg |