diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-04-13 12:19:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-04-19 16:54:14 +0200 |
commit | 20e8e09a40f5b82992655c565207f0537fc11d24 (patch) | |
tree | 30e7e569a77f9f6c99bd813c93c8f099dbd968c0 /include | |
parent | cbf98d15ebfdeb61d5b797b21442761c76cb5f02 (diff) |
weld SmEditTextWindow
reuse the WeldEditAccessible a11y impl and remove the then unused
starmath equivalent.
Change-Id: I2dc1e0436ffcd0b295e204c21bfcd365dae08bff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114044
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/weldeditview.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/weldeditview.hxx b/include/svx/weldeditview.hxx index d3697ad3ffb0..1f388cbabc73 100644 --- a/include/svx/weldeditview.hxx +++ b/include/svx/weldeditview.hxx @@ -40,6 +40,7 @@ public: bool HasSelection() const; + void Delete(); void Cut(); void Copy(); void Paste(); @@ -47,6 +48,7 @@ public: virtual ~WeldEditView() override; protected: + bool m_bAcceptsTab; std::unique_ptr<EditEngine> m_xEditEngine; std::unique_ptr<EditView> m_xEditView; rtl::Reference<WeldEditAccessible> m_xAccessible; @@ -67,6 +69,11 @@ protected: virtual void LoseFocus() override; virtual void Resize() override; + // Whether Tab will result in entering a tab or not + bool GetAcceptsTab() const { return m_bAcceptsTab; } + + void SetAcceptsTab(bool bAcceptsTab) { m_bAcceptsTab = bAcceptsTab; } + virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override; virtual void EditViewInvalidate(const tools::Rectangle& rRect) override { Invalidate(rRect); } |