diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-19 15:43:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-19 22:17:40 +0100 |
commit | b1249cea2e99873605332de888d03f163cba0128 (patch) | |
tree | bdedca2e8d7d2f144b72ec9ebc77137375102c90 /sw/source/uibase/inc | |
parent | 531a331ed2d5d8aa75002b271e8c90d108e55388 (diff) |
weld SwFieldVarPage
Change-Id: Ifd71cbb4c3ed3baa33136c5b86c042144faa5002
Reviewed-on: https://gerrit.libreoffice.org/69435
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r-- | sw/source/uibase/inc/condedit.hxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/inc/numfmtlb.hxx | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/condedit.hxx b/sw/source/uibase/inc/condedit.hxx index b433129dd49d..5c41e115cc28 100644 --- a/sw/source/uibase/inc/condedit.hxx +++ b/sw/source/uibase/inc/condedit.hxx @@ -77,6 +77,7 @@ public: bool get_value_changed_from_saved() const { return m_xControl->get_value_changed_from_saved(); } void set_sensitive(bool bSensitive) { m_xControl->set_sensitive(bSensitive); } void connect_changed(const Link<weld::Entry&, void>& rLink) { m_xControl->connect_changed(rLink); } + void replace_selection(const OUString& rText) { m_xControl->replace_selection(rText); } void hide() { m_xControl->hide(); } weld::Entry& get_widget() { return *m_xControl; } diff --git a/sw/source/uibase/inc/numfmtlb.hxx b/sw/source/uibase/inc/numfmtlb.hxx index 79fcafeee97c..9a043d56cd9b 100644 --- a/sw/source/uibase/inc/numfmtlb.hxx +++ b/sw/source/uibase/inc/numfmtlb.hxx @@ -165,6 +165,10 @@ public: virtual void insert_text(int nPos, const OUString& rText) override { mxControl->insert_text(nPos, rText); } virtual void set_active(int nPos) override { mxControl->select(nPos); } virtual void set_id(int nPos, const OUString& rId) override { mxControl->set_id(nPos, rId); } + OUString get_selected_text() const { return mxControl->get_selected_text(); } + bool get_visible() const { return mxControl->get_visible(); } + bool get_value_changed_from_saved() const { return mxControl->get_value_changed_from_saved(); } + void save_value() { return mxControl->save_value(); } void show() { mxControl->show(); } void hide() { mxControl->hide(); } int get_selected_index() const { return mxControl->get_selected_index(); } |