summaryrefslogtreecommitdiffstats
path: root/include/svx/weldeditview.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-04-13 12:19:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-04-19 16:54:14 +0200
commit20e8e09a40f5b82992655c565207f0537fc11d24 (patch)
tree30e7e569a77f9f6c99bd813c93c8f099dbd968c0 /include/svx/weldeditview.hxx
parentdo not overwrite bitmap if using existing one for png loading (diff)
downloadcore-20e8e09a40f5b82992655c565207f0537fc11d24.tar.gz
core-20e8e09a40f5b82992655c565207f0537fc11d24.zip
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/svx/weldeditview.hxx')
-rw-r--r--include/svx/weldeditview.hxx7
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); }