office-gobmx/sw/CppunitTest_sw_core_tox.mk
Miklos Vajna 3591c657dd sw bibliography: make URLs in the bibliography table clickable
- Don't reuse the <text:index-entry-link-start> /
  <text:index-entry-link-end> mechianism from
  <text:table-of-content-entry-template>, because
  <text:bibliography-entry-template> doesn't allow this

- Use STR_POOLCHR_INET_NORMAL as a char style, so the URL looks
  clickable

- Allow absolute URLs for ToxAuthorityField::AUTH_FIELD_URL (other URLs
  like ToC are always relative)

- Track the new text added by FillText() between the StartNewLink() and
  CloseLink() to figure out what is the URL to be launched on click

Change-Id: I126fa06aecfff783e62b65a548228ff781b62c5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111117
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2021-02-18 15:07:28 +01:00

76 lines
1.8 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_core_tox))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_core_tox))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_core_tox, \
sw/qa/core/tox/tox \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_core_tox, \
comphelper \
cppu \
cppuhelper \
sal \
sfx \
sw \
swqahelper \
test \
unotest \
utl \
vcl \
svt \
tl \
svl \
svxcore \
))
$(eval $(call gb_CppunitTest_use_externals,sw_core_tox,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_core_tox,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/source/uibase/inc \
-I$(SRCDIR)/sw/qa/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sw_core_tox,\
udkapi \
offapi \
oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sw_core_tox))
$(eval $(call gb_CppunitTest_use_vcl,sw_core_tox))
$(eval $(call gb_CppunitTest_use_rdb,sw_core_tox,services))
$(eval $(call gb_CppunitTest_use_custom_headers,sw_core_tox,\
officecfg/registry \
))
$(eval $(call gb_CppunitTest_use_configuration,sw_core_tox))
$(eval $(call gb_CppunitTest_use_uiconfigs,sw_core_tox, \
modules/swriter \
svt \
svx \
))
$(eval $(call gb_CppunitTest_use_more_fonts,sw_core_tox))
# vim: set noet sw=4 ts=4: