summaryrefslogtreecommitdiff
path: root/oox/inc/drawingml
diff options
context:
space:
mode:
authorSzabolcs Toth <toth.szabolcs@nisz.hu>2020-09-16 14:41:24 +0200
committerLászló Németh <nemeth@numbertext.org>2020-09-24 12:54:14 +0200
commit8c23be49fb5a9044989532e6e20feb1e3ff64f2b (patch)
tree9479b0ea74d33dc582d8b9c7266cc3e9281dea74 /oox/inc/drawingml
parent4a899a5f8a72ea29a6919316afe3627de9f33e95 (diff)
tdf#106197 XLSX shape import: keep text upright
Handle and grab-bag attribute upright to keep text upright regardless of shape rotation, fixing the text direction after import and after a round-trip. Co-authored-by: Balázs Regényi Change-Id: If4c73aeaebad55af967cea894a94756068ca3766 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102870 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox/inc/drawingml')
-rw-r--r--oox/inc/drawingml/textbodyproperties.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/inc/drawingml/textbodyproperties.hxx b/oox/inc/drawingml/textbodyproperties.hxx
index 6e5e97fb94ba..26e34ac6a5f7 100644
--- a/oox/inc/drawingml/textbodyproperties.hxx
+++ b/oox/inc/drawingml/textbodyproperties.hxx
@@ -34,6 +34,7 @@ struct TextBodyProperties
OptValue< sal_Int32 > moRotation;
bool mbAnchorCtr;
OptValue< sal_Int32 > moVert;
+ bool moUpright = false;
std::optional< sal_Int32 > moInsets[4];
std::optional< sal_Int32 > moTextOffUpper;
std::optional< sal_Int32 > moTextOffLeft;