office-gobmx/oox/CppunitTest_oox_shape.mk
Regina Henschel 9142d19ddc 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>
2021-10-18 19:13:42 +02:00

48 lines
1.2 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#*************************************************************************
$(eval $(call gb_CppunitTest_CppunitTest,oox_shape))
$(eval $(call gb_CppunitTest_use_externals,oox_shape,\
boost_headers \
))
$(eval $(call gb_CppunitTest_add_exception_objects,oox_shape, \
oox/qa/unit/shape \
))
$(eval $(call gb_CppunitTest_use_libraries,oox_shape, \
comphelper \
cppu \
oox \
sal \
svx \
svxcore \
tl \
test \
unotest \
utl \
))
$(eval $(call gb_CppunitTest_use_sdk_api,oox_shape))
$(eval $(call gb_CppunitTest_use_ure,oox_shape))
$(eval $(call gb_CppunitTest_use_vcl,oox_shape))
$(eval $(call gb_CppunitTest_use_rdb,oox_shape,services))
$(eval $(call gb_CppunitTest_use_custom_headers,oox_shape,\
officecfg/registry \
))
$(eval $(call gb_CppunitTest_use_configuration,oox_shape))
# vim: set noet sw=4 ts=4: