6a189b2ac7
As in the copy part of copy&paste. The problem was that the document has an empty base URL during copy, and this was images were not exported at all. An alternative fix would be to use embedded images, but sadly Word's HTML import doesn't understand that markup, so use tempfiles instead. Change-Id: Iab8c555ac244d943c4958f24f8ac61cba4ec3aba Reviewed-on: https://gerrit.libreoffice.org/52003 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
75 lines
2 KiB
Makefile
75 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_uiwriter))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sw_uiwriter, \
|
|
sw/qa/extras/uiwriter/uiwriter \
|
|
))
|
|
|
|
# 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_uiwriter, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
editeng \
|
|
msword \
|
|
sal \
|
|
sfx \
|
|
svl \
|
|
svt \
|
|
svxcore \
|
|
sw \
|
|
test \
|
|
unotest \
|
|
vcl \
|
|
tl \
|
|
utl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sw_uiwriter,\
|
|
boost_headers \
|
|
libxml2 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sw_uiwriter,\
|
|
-I$(SRCDIR)/sw/inc \
|
|
-I$(SRCDIR)/sw/source/core/inc \
|
|
-I$(SRCDIR)/sw/source/uibase/inc \
|
|
-I$(SRCDIR)/sw/source/filter/inc \
|
|
-I$(SRCDIR)/sw/source/filter/html \
|
|
-I$(SRCDIR)/sw/qa/extras/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sw_uiwriter))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sw_uiwriter))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sw_uiwriter))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,sw_uiwriter,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sw_uiwriter))
|
|
|
|
$(eval $(call gb_CppunitTest_use_uiconfigs,sw_uiwriter, \
|
|
modules/swriter \
|
|
))
|
|
|
|
$(call gb_CppunitTest_get_target,sw_uiwriter): \
|
|
$(call gb_Library_get_target,textconv_dict)
|
|
|
|
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
|
$(call gb_CppunitTest_get_target,sw_uiwriter): \
|
|
$(call gb_ExternalPackage_get_target,fonts_liberation)
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|