summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2019-11-18 19:43:29 -0900
committerJim Raykowski <raykowj@gmail.com>2019-11-20 22:50:33 +0100
commitb8bbe9a3ca4758102ce6aa5d1e0fbb077eedbe64 (patch)
tree676b66ecc37c7b82a4515c2983d820ce5342f758 /include
parent1906f3f2f7c39ea9a3e04f1081dbfc24a1de3212 (diff)
tdf#128557 Add tooltips to styles lists
Change-Id: Ia8f00cd882c1c8c239b95de8e917ff317a6485e8 Reviewed-on: https://gerrit.libreoffice.org/83152 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/strings.hrc2
-rw-r--r--include/svl/style.hxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc
index d1196842d36c..52d24f048671 100644
--- a/include/sfx2/strings.hrc
+++ b/include/sfx2/strings.hrc
@@ -350,6 +350,8 @@
#define STR_CTRLCLICKHYPERLINK NC_("STR_CTRLCLICKHYPERLINK", "%{key}-click to open hyperlink: %{link}")
#define STR_CLICKHYPERLINK NC_("STR_CLICKHYPERLINK", "Click to open hyperlink: %{link}")
+
+#define STR_STYLEUSEDBY NC_("STR_STYLEUSEDBY", "(used by: %STYLELIST)")
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index 9ac7151f48d8..24656eb2318a 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -157,6 +157,8 @@ public:
virtual bool IsUsed() const; // Default true
virtual OUString GetDescription( MapUnit eMetric );
+ virtual OUString GetUsedBy() { return OUString(); }
+
SfxStyleSheetBasePool* GetPool() { return m_pPool; }
SfxStyleFamily GetFamily() const { return nFamily; }
SfxStyleSearchBits GetMask() const { return nMask; }