summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2019-10-01 18:20:53 +0200
committerRegina Henschel <rb.henschel@t-online.de>2019-10-02 13:36:17 +0200
commitcaaa8fe7c4bb88185b5b11591ee8a619cff0eced (patch)
tree540a0598db429ec1d98ece0cf52c2e0ccbd59417 /svl
parent14ee9ffe01ecadaddc7e9b97dae00077dd051d7a (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 'svl')
0 files changed, 0 insertions, 0 deletions