diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-06 11:27:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-06 17:56:43 +0200 |
commit | 57ac9d6176305ad1d405b83a9423cd103bdaa20b (patch) | |
tree | a6af27de34e9f55a41f05aef5a1bccf680fa8354 /include | |
parent | 06eae82ca662c9e34df18417f0ab602c212ed64a (diff) |
add get_editable and clipboard interaction to TextView
Change-Id: I5d0e1823685ef2334571d5279a300d177ac4a9db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98206
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/weld.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index f2c6713dc77c..8c9788a2f589 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -2014,6 +2014,7 @@ public: virtual bool get_selection_bounds(int& rStartPos, int& rEndPos) = 0; virtual void replace_selection(const OUString& rText) = 0; virtual void set_editable(bool bEditable) = 0; + virtual bool get_editable() const = 0; virtual void set_monospace(bool bMonospace) = 0; int get_height_rows(int nRows) const { @@ -2030,6 +2031,10 @@ public: m_aCursorPositionHdl = rLink; } + virtual void cut_clipboard() = 0; + virtual void copy_clipboard() = 0; + virtual void paste_clipboard() = 0; + virtual int vadjustment_get_value() const = 0; virtual int vadjustment_get_upper() const = 0; virtual int vadjustment_get_lower() const = 0; |