summaryrefslogtreecommitdiff
path: root/icon-themes
diff options
context:
space:
mode:
authorSzabolcs Toth <toth.szabolcs@nisz.hu>2020-09-17 11:22:09 +0200
committerLászló Németh <nemeth@numbertext.org>2020-10-06 09:45:51 +0200
commitff5ca4e5fc6a9fb24b0eb6eb629210b024473f67 (patch)
treeb8855d7478fea1aaee4d3a61aacd6695a68a1e45 /icon-themes
parentdfa1856cdb4c69985ef1e809d33055427b6fbd76 (diff)
tdf#137000 XLSX shape export: fix upright
Upright is an XML attribute of xdr:txBody/a:bodyPr. It is set in MSO when in a textbox menu we choose "Do not rotate this element". LO import uses a text rotation opposite shape rotation to create upright text, but when exporting the attribute "upright" we must make sure that the text rotation in bodyPr is 0, not the temporary opposite value. Otherwise MSO rotates the text. Note: integer precision of rotation is enough for interoperability, because it's possible to rotate the shapes only by whole degrees in MSO. Follow-up of commit 8c23be49fb5a9044989532e6e20feb1e3ff64f2b (tdf#106197 XLSX shape import: keep text upright). Co-authored-by: Balázs Regényi Change-Id: I0ffae41f83d3fc3a1fa37f413a8fc9fd8ccd9b6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103094 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'icon-themes')
0 files changed, 0 insertions, 0 deletions