From 2a28ebeef5ea3e2b01d836a7233d2316b765bf38 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 1 Jun 2022 11:18:26 +0300 Subject: Accessibility for IconView Change-Id: I65ca9d43f70a50e2e95aabfc3b8ba1b15f9ff8be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135226 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- vcl/inc/iconview.hxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'vcl/inc/iconview.hxx') diff --git a/vcl/inc/iconview.hxx b/vcl/inc/iconview.hxx index 971a638cc6ef..c5ece6d4aeb1 100644 --- a/vcl/inc/iconview.hxx +++ b/vcl/inc/iconview.hxx @@ -36,11 +36,22 @@ public: void PaintEntry(SvTreeListEntry&, tools::Long nX, tools::Long nY, vcl::RenderContext& rRenderContext); + virtual css::uno::Reference CreateAccessible() override; + + virtual OUString GetEntryAccessibleDescription(SvTreeListEntry* pEntry) const override; + void SetEntryAccessibleDescriptionHdl(const Link& rLink) + { + maEntryAccessibleDescriptionHdl = rLink; + } + virtual FactoryFunction GetUITestFactory() const override; virtual void DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) override; protected: virtual void CalcEntryHeight(SvTreeListEntry const* pEntry) override; + +private: + Link maEntryAccessibleDescriptionHdl; }; #endif -- cgit