3829949e91
ODT export uses nested spans to represent a combination of named character style + automatic style (instead of having a parent for the automatic style), but librevenge doesn't allow nested spans, so handle this explicitly. The alternative would have been to remember the attribute list as member data, but the underlying SvXMLAttributeList is reused after startElement() returns, so it by the time characters() is invoked, it won't have the data we need anymore. (Would be a trade-off between doing the attributes -> property list conversion exactly once or depending the number of characters() invocation anyway.) Change-Id: I1dd2f060c421c126340db471a257093b30431d17 Reviewed-on: https://gerrit.libreoffice.org/42046 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
48 lines
1.3 KiB
Makefile
48 lines
1.3 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,writerperfect_epubexport))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_epubexport, \
|
|
writerperfect/qa/unit/EPUBExportTest \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_epubexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,writerperfect_epubexport, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
test \
|
|
tl \
|
|
unotest \
|
|
utl \
|
|
wpftwriter \
|
|
$(gb_UWINAPI) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,writerperfect_epubexport,\
|
|
epubgen \
|
|
libxml2 \
|
|
revenge \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_external,writerperfect_epubexport,boost_headers))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_epubexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,writerperfect_epubexport))
|
|
$(eval $(call gb_CppunitTest_use_vcl,writerperfect_epubexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,writerperfect_epubexport,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,writerperfect_epubexport))
|
|
|
|
# vim: set noet sw=4 ts=4:
|