c40b39375d
LibreOffice writes the ODF attributes 'display' and 'protected' of the 'layer' element since version 6.2. It can read the ODF attributes since version 6.2. But they are only evaluated if non of the config items VisibleLayers, PrintableLayers and LockedLayers exists. If the option is set to 'false' no config items are written and so reading of ODF attributes is forced. Version 6.1 is the last one which needs the config items. So until version 6.1 is end of life the default value is 'true'. The patch introduces this option and adapts the relevant unit tests to consider the option. Change-Id: I2f8fc61506b14820f6bee8bf153d89363690b9e8 Reviewed-on: https://gerrit.libreoffice.org/67784 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
127 lines
3.1 KiB
Makefile
127 lines
3.1 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,sd_misc_tests))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sd_misc_tests,\
|
|
boost_headers \
|
|
libxml2 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sd_misc_tests, \
|
|
sd/qa/unit/misc-tests \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sd_misc_tests, \
|
|
$(call gb_Helper_optional,AVMEDIA,avmedia) \
|
|
basegfx \
|
|
canvastools \
|
|
comphelper \
|
|
cppcanvas \
|
|
cppu \
|
|
cppuhelper \
|
|
drawinglayer \
|
|
editeng \
|
|
for \
|
|
forui \
|
|
i18nlangtag \
|
|
i18nutil \
|
|
msfilter \
|
|
oox \
|
|
sal \
|
|
salhelper \
|
|
sax \
|
|
sb \
|
|
sd \
|
|
sfx \
|
|
sot \
|
|
svl \
|
|
svt \
|
|
svx \
|
|
svxcore \
|
|
test \
|
|
tl \
|
|
tk \
|
|
ucbhelper \
|
|
unotest \
|
|
utl \
|
|
vcl \
|
|
xo \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sd_misc_tests,\
|
|
-I$(SRCDIR)/sd/inc \
|
|
-I$(SRCDIR)/sd/source/ui/inc \
|
|
-I$(SRCDIR)/sd/source/ui/slidesorter/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sd_misc_tests))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sd_misc_tests,\
|
|
boost_headers \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sd_misc_tests))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sd_misc_tests))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,sd_misc_tests,\
|
|
animations/source/animcore/animcore \
|
|
basic/util/sb \
|
|
chart2/source/chartcore \
|
|
chart2/source/controller/chartcontroller \
|
|
comphelper/util/comphelp \
|
|
configmgr/source/configmgr \
|
|
dbaccess/util/dba \
|
|
desktop/source/deployment/deployment \
|
|
embeddedobj/util/embobj \
|
|
filter/source/config/cache/filterconfig1 \
|
|
filter/source/odfflatxml/odfflatxml \
|
|
filter/source/svg/svgfilter \
|
|
filter/source/xmlfilteradaptor/xmlfa \
|
|
filter/source/xmlfilterdetect/xmlfd \
|
|
forms/util/frm \
|
|
framework/util/fwk \
|
|
i18npool/util/i18npool \
|
|
linguistic/source/lng \
|
|
oox/util/oox \
|
|
package/source/xstor/xstor \
|
|
package/util/package2 \
|
|
sax/source/expatwrap/expwrap \
|
|
sd/util/sd \
|
|
sd/util/sdfilt \
|
|
sd/util/sdd \
|
|
sfx2/util/sfx \
|
|
sot/util/sot \
|
|
svl/source/fsstor/fsstorage \
|
|
svtools/util/svt \
|
|
toolkit/util/tk \
|
|
ucb/source/core/ucb1 \
|
|
ucb/source/ucp/expand/ucpexpand1 \
|
|
ucb/source/ucp/file/ucpfile1 \
|
|
ucb/source/ucp/package/ucppkg1 \
|
|
ucb/source/ucp/tdoc/ucptdoc1 \
|
|
unotools/util/utl \
|
|
unoxml/source/rdf/unordf \
|
|
unoxml/source/service/unoxml \
|
|
uui/util/uui \
|
|
vcl/vcl.common \
|
|
xmloff/util/xo \
|
|
xmlsecurity/util/xmlsecurity \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_custom_headers,sd_misc_tests,\
|
|
officecfg/registry \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sd_misc_tests))
|
|
|
|
# vim: set noet sw=4 ts=4:
|