diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-13 16:57:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-21 09:53:46 +0200 |
commit | 8477bbf8d6867e656b8132f0ddd682d08590a547 (patch) | |
tree | 11d1f70190b6478bf3b070480393f364d58c81ab /include/vcl | |
parent | c764b37489fb5f639c9e1c4faba64ebe405cc347 (diff) |
weld ListBoxControl
Change-Id: I5a8c7d68e4c147eb938b0217dc6368c832e465c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94154
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/weld.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index fd734309d6a9..d7a9ec278731 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -749,6 +749,16 @@ public: virtual void set_max_mru_count(int nCount) = 0; virtual OUString get_mru_entries() const = 0; virtual void set_mru_entries(const OUString& rEntries) = 0; + + // Form Controls List Box related multi-selection support + // Only SelectionMode::Single or SelectionMode::Multiple are supported. + // SelectionMode::Multiple mode is basically bizarre but in use in + // the Form Controls List Box which we seem stuck with + virtual void set_selection_mode(SelectionMode eMode) = 0; + virtual void scroll_to_row(int pos) = 0; + virtual void select(int pos) = 0; + virtual void unselect(int pos) = 0; + virtual std::vector<int> get_selected_rows() const = 0; }; class VCL_DLLPUBLIC TreeIter |