09954c3818
Commit 18b3feb8be
(n#778133 sw: add
BackgroundParaOverDrawings compat flag, 2012-09-12) added a layout
compat flag that is meant to make Writer behave the same as Word when it
comes to the order of various backgrounds.
The original fix was that in case there are background shapes and also
paragraph backgrounds, then this flag can opt in to have the paragraph
backgrounds on top of background shapes.
Cell backgrounds behave the same way in Word, so extend the behavior of
the compat flag to cover not only the background of text frames but also
of cell frames.
(The test could be hacked into CppunitTest_sw_uiwriter, but 1) this is
layout, not UI and 2) that one started to get rather large.)
Change-Id: Ifca1851217000f6daac50e6c9562c042aca6ff7d
Reviewed-on: https://gerrit.libreoffice.org/52469
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
72 lines
2 KiB
Makefile
72 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/.
|
|
#
|
|
#*************************************************************************
|
|
|
|
$(eval $(call gb_CppunitTest_CppunitTest,sw_layoutwriter))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sw_layoutwriter, \
|
|
sw/qa/extras/layout/layout \
|
|
))
|
|
|
|
# note: this links msword only for the reason to have a order dependency,
|
|
# because "make sw.check" will not see the dependency through services.rdb
|
|
$(eval $(call gb_CppunitTest_use_libraries,sw_layoutwriter, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
editeng \
|
|
msword \
|
|
sal \
|
|
sfx \
|
|
svl \
|
|
svt \
|
|
svxcore \
|
|
sw \
|
|
test \
|
|
unotest \
|
|
vcl \
|
|
tl \
|
|
utl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sw_layoutwriter,\
|
|
boost_headers \
|
|
libxml2 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sw_layoutwriter,\
|
|
-I$(SRCDIR)/sw/inc \
|
|
-I$(SRCDIR)/sw/source/core/inc \
|
|
-I$(SRCDIR)/sw/qa/extras/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sw_layoutwriter))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sw_layoutwriter))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sw_layoutwriter))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,sw_layoutwriter,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sw_layoutwriter))
|
|
|
|
$(eval $(call gb_CppunitTest_use_uiconfigs,sw_layoutwriter, \
|
|
modules/swriter \
|
|
))
|
|
|
|
$(call gb_CppunitTest_get_target,sw_layoutwriter): \
|
|
$(call gb_Library_get_target,textconv_dict)
|
|
|
|
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
|
$(call gb_CppunitTest_get_target,sw_layoutwriter): \
|
|
$(call gb_ExternalPackage_get_target,fonts_liberation)
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|