summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2019-10-05 22:52:42 +0200
committerRegina Henschel <rb.henschel@t-online.de>2019-10-09 20:43:38 +0200
commit5e68f0e2a13cc21f95a875cf694e926e01642050 (patch)
tree38a0ac1af49d81db9c0c4b2d8c628870169496f0 /stoc
parent7d361e96c9ea822790db21806e9fc05279423833 (diff)
tdf#127785 Apply 180deg compensation for flipV to text range
If a shape is vertically flipped, then the text is rotated by 180deg around the shape center. The rotation is done by SdrTextObj, where text rectangle and shape rectangle are the same, so the rotated text rectangle has the correct position despite 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 compensates the flip-rotation by pre-rotate the text rectangle. This replaces commit caaa8fe7c4bb88185b5b11591ee8a619cff0eced. The error in the old patch was, that it has uses a translation instead of a rotation, and has used a wrong place. The result was, that a text box, which has an own TextRotateAngle, had got a wrong position. Change-Id: Id38e8c1839afa5091cd251fc5237315ba7944263 Reviewed-on: https://gerrit.libreoffice.org/80310 Reviewed-by: Regina Henschel <rb.henschel@t-online.de> Tested-by: Regina Henschel <rb.henschel@t-online.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'stoc')
0 files changed, 0 insertions, 0 deletions