|
LibreOffice Module dbaccess (master) 1
|
#include <opendoccontrols.hxx>
Public Member Functions | |
| OpenDocumentListBox (std::unique_ptr< weld::ComboBox > xControl, const char *_pAsciiModuleName) | |
| OUString | GetSelectedDocumentURL () const |
| void | set_sensitive (bool bSensitive) |
| int | get_count () const |
| void | set_active (int nPos) |
| void | connect_changed (const Link< weld::ComboBox &, void > &rLink) |
Private Types | |
| typedef std::pair< OUString, OUString > | StringPair |
Private Member Functions | |
| const StringPair & | impl_getDocumentAtIndex (sal_uInt16 _nListIndex) const |
| void | impl_init (const char *_pAsciiModuleName) |
Private Attributes | |
| std::vector< StringPair > | m_aURLs |
| std::unique_ptr< weld::ComboBox > | m_xControl |
Definition at line 51 of file opendoccontrols.hxx.
|
private |
Definition at line 54 of file opendoccontrols.hxx.
| dbaui::OpenDocumentListBox::OpenDocumentListBox | ( | std::unique_ptr< weld::ComboBox > | xControl, |
| const char * | _pAsciiModuleName | ||
| ) |
Definition at line 119 of file opendoccontrols.cxx.
References impl_init(), m_xControl, and m_xControl.
|
inline |
Definition at line 68 of file opendoccontrols.hxx.
References m_xControl.
|
inline |
Definition at line 66 of file opendoccontrols.hxx.
References m_xControl.
| OUString dbaui::OpenDocumentListBox::GetSelectedDocumentURL | ( | ) | const |
Definition at line 178 of file opendoccontrols.cxx.
References impl_getDocumentAtIndex(), and m_xControl.
|
private |
Definition at line 187 of file opendoccontrols.cxx.
References m_aURLs.
Referenced by GetSelectedDocumentURL().
|
private |
Definition at line 129 of file opendoccontrols.cxx.
References aURL, createInstance(), Exception, SvtHistoryOptions::GetList(), comphelper::SequenceAsHashMap::getUnpackedValueOrDefault(), INetURLObject::LAST_SEGMENT, m_aURLs, m_xControl, INetURLObject::NONE, sDocumentService, and INetURLObject::Unambiguous.
Referenced by OpenDocumentListBox().
|
inline |
Definition at line 67 of file opendoccontrols.hxx.
References m_xControl, and nPos.
|
inline |
Definition at line 65 of file opendoccontrols.hxx.
References m_xControl.
|
private |
Definition at line 56 of file opendoccontrols.hxx.
Referenced by impl_getDocumentAtIndex(), and impl_init().
|
private |
Definition at line 58 of file opendoccontrols.hxx.
Referenced by connect_changed(), get_count(), GetSelectedDocumentURL(), impl_init(), OpenDocumentListBox(), set_active(), and set_sensitive().