summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_core_tox.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-02-18 12:57:21 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-02-18 15:07:28 +0100
commit3591c657ddee42a0a4b05fe87b13a737c5bfe868 (patch)
treedbcf6f6528f42a5accd131fc3ed25ad8bb445f3e /sw/CppunitTest_sw_core_tox.mk
parent787158d528838bdb25d86139ab02ecdd4e341bdb (diff)
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
Diffstat (limited to 'sw/CppunitTest_sw_core_tox.mk')
-rw-r--r--sw/CppunitTest_sw_core_tox.mk76
1 files changed, 76 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_core_tox.mk b/sw/CppunitTest_sw_core_tox.mk
new file mode 100644
index 000000000000..4a99347239f5
--- /dev/null
+++ b/sw/CppunitTest_sw_core_tox.mk
@@ -0,0 +1,76 @@
+# -*- 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: