e216988657
Inset values for top, bottom are calcualted differently in OOXML and need to be coverted on import to the text distance LO values, that place the text relative to the shape correctly. At export, the values can be converted back to the OOXML inset compatible values, but the values are not always converted back to the same values as the conversion is not bijective, however they do render the same. This also adds the test for the conversion when importing and checks that the exported values are expected. Change-Id: Ic64eec1a2a80ddad997f916da3e87dc30aaa12be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135463 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
77 lines
2 KiB
Makefile
77 lines
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/.
|
|
#
|
|
|
|
include $(SRCDIR)/sd/export_setup.mk
|
|
include $(SRCDIR)/sd/import_setup.mk
|
|
|
|
$(eval $(call gb_Module_Module,sd))
|
|
|
|
$(eval $(call gb_Module_add_targets,sd,\
|
|
Library_sd \
|
|
Library_sdd \
|
|
Library_sdfilt \
|
|
Library_sdui \
|
|
Package_opengl \
|
|
Package_web \
|
|
Package_xml \
|
|
UIConfig_sdraw \
|
|
UIConfig_simpress \
|
|
))
|
|
|
|
$(eval $(call gb_Module_add_l10n_targets,sd,\
|
|
AllLangMoTarget_sd \
|
|
))
|
|
|
|
ifeq ($(filter DRAGONFLY FREEBSD,$(OS)),)
|
|
$(eval $(call gb_Module_add_slowcheck_targets,sd,\
|
|
$(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
|
|
CppunitTest_sd_uimpress) \
|
|
CppunitTest_sd_import_tests \
|
|
CppunitTest_sd_import_tests2 \
|
|
CppunitTest_sd_import_tests-smartart \
|
|
CppunitTest_sd_export_tests-ooxml1 \
|
|
CppunitTest_sd_export_tests-ooxml2 \
|
|
CppunitTest_sd_export_tests-ooxml3 \
|
|
CppunitTest_sd_export_tests \
|
|
CppunitTest_sd_filters_test \
|
|
CppunitTest_sd_layout_tests \
|
|
CppunitTest_sd_misc_tests \
|
|
CppunitTest_sd_uiimpress \
|
|
CppunitTest_sd_html_export_tests \
|
|
CppunitTest_sd_activex_controls_tests \
|
|
CppunitTest_sd_pdf_import_test \
|
|
CppunitTest_sd_png_export_tests \
|
|
CppunitTest_sd_filter_eppt \
|
|
CppunitTest_sd_shape_import_export_tests \
|
|
))
|
|
endif
|
|
|
|
ifneq ($(DISABLE_GUI),TRUE)
|
|
ifeq ($(OS),LINUX)
|
|
$(eval $(call gb_Module_add_slowcheck_targets,sd,\
|
|
CppunitTest_sd_svg_export_tests \
|
|
CppunitTest_sd_tiledrendering \
|
|
))
|
|
endif
|
|
endif
|
|
|
|
# screenshots
|
|
$(eval $(call gb_Module_add_screenshot_targets,sd, \
|
|
CppunitTest_sd_dialogs_test \
|
|
))
|
|
|
|
$(eval $(call gb_Module_add_subsequentcheck_targets,sd,\
|
|
JunitTest_sd_unoapi \
|
|
))
|
|
|
|
$(eval $(call gb_Module_add_uicheck_targets,sd,\
|
|
UITest_impress_tests \
|
|
UITest_sd_findReplace \
|
|
))
|
|
# vim: set noet sw=4 ts=4:
|