summaryrefslogtreecommitdiff
path: root/oox/CppunitTest_oox_shape.mk
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2021-10-17 23:49:17 +0200
committerRegina Henschel <rb.henschel@t-online.de>2021-10-18 19:13:42 +0200
commit9142d19ddc751e05041471aa1bbeca2f06729522 (patch)
tree0030104bcd438fbb5ac13cc47b71a46f0664e922 /oox/CppunitTest_oox_shape.mk
parent300a743048de760e3a5456e8dce549af5f42b11b (diff)
tdf#125582 use TextVerticalAlign_BOTTOM for textCircle
PowerPoint aligns the bottom of the text to the path for prstTxWarp 'textCircle'. That preset type is mapped to 'fontwork-circle-curve' on import with additional attribute ScaleX=true. Currently the property TextVerticalAlign is only evaluated in case ScaleX=true. Therefore I have written the condition similar as the already existing with 'fontwork-arch-up-curve'. If it will be necessary later, all those conditions can be changed to use rPresetType instead of rClass. The rendering is slightly different compared to PowerPoint, because descenders and paragraphs line-spacing are handled differently. The rendering has still the problem, that in PowerPoint the letters are placed without gap, but in LO they have additional distances from each other. The needed ODF attribute draw:text-path-mode is not yet implemented in LO. Its value 'normal' would be needed here. Change-Id: I1f03d4845312885eff9ee8dbe1d51ddd437ed8e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123726 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'oox/CppunitTest_oox_shape.mk')
-rw-r--r--oox/CppunitTest_oox_shape.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/CppunitTest_oox_shape.mk b/oox/CppunitTest_oox_shape.mk
index 9ae7bbd634cd..9b910f249160 100644
--- a/oox/CppunitTest_oox_shape.mk
+++ b/oox/CppunitTest_oox_shape.mk
@@ -24,6 +24,9 @@ $(eval $(call gb_CppunitTest_use_libraries,oox_shape, \
cppu \
oox \
sal \
+ svx \
+ svxcore \
+ tl \
test \
unotest \
utl \