diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-02-11 16:37:00 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-02-11 18:50:08 +0100 |
commit | b11db88d0174fbad25f7ee04726ae27ceb1488c3 (patch) | |
tree | 42166c5bfa038246b796d478c21f83eea4e4cb4f /sw/Module_sw.mk | |
parent | 8180bdc75c2bf3c1f813469eabd38db0612f1c91 (diff) |
sw tooltip on bibliography fields: add the actual tooltip functionality
- Similar to e.g. SwMacroField::GetMacro(), add a new
SwAuthorityField::GetAuthority() that returns a string which is similar
to the one-liner text node in the bibliography table for a given
bibliography reference.
- Base this on the recently added
SwAuthorityFieldType::CreateTOXInternational() and
SwTOXAuthority::GetText() to share code with
sw::ToxTextGenerator::GenerateText() and SwTOXBaseSection::Update().
- Finally extend SwEditWin::RequestHelp() to actually provide the
tooltip on mouse hover.
Change-Id: I33a58076c6d141566298259e7e4681541fac1055
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110765
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/Module_sw.mk')
-rw-r--r-- | sw/Module_sw.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk index 123b7acf5321..fc4498ca29be 100644 --- a/sw/Module_sw.mk +++ b/sw/Module_sw.mk @@ -120,6 +120,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,sw,\ CppunitTest_sw_uibase_uno \ CppunitTest_sw_core_accessibilitycheck \ CppunitTest_sw_core_layout \ + CppunitTest_sw_core_fields \ CppunitTest_sw_core_frmedt \ CppunitTest_sw_core_txtnode \ CppunitTest_sw_core_objectpositioning \ |