LibreOffice Module svx (master) 1
|
Public Member Functions | |
DatabaseLocationInputController_Impl (const Reference< XComponentContext > &_rContext, SvtURLBox &_rLocationInput, weld::Button &_rBrowseButton, weld::Window &_rDialog) | |
bool | prepareCommit () |
void | setURL (const OUString &_rURL) |
OUString | getURL () const |
Private Member Functions | |
void | impl_initFilterProperties_nothrow () |
void | impl_onBrowseButtonClicked () |
OUString | impl_getCurrentURL () const |
DECL_LINK (OnButtonAction, weld::Button &, void) | |
Private Attributes | |
const Reference< XComponentContext > | m_xContext |
SvtURLBox & | m_rLocationInput |
weld::Window & | m_rDialog |
Sequence< OUString > | m_aFilterExtensions |
OUString | m_sFilterUIName |
bool | m_bNeedExistenceCheck |
Definition at line 52 of file databaselocationinput.cxx.
svx::DatabaseLocationInputController_Impl::DatabaseLocationInputController_Impl | ( | const Reference< XComponentContext > & | _rContext, |
SvtURLBox & | _rLocationInput, | ||
weld::Button & | _rBrowseButton, | ||
weld::Window & | _rDialog | ||
) |
Definition at line 82 of file databaselocationinput.cxx.
References weld::Button::connect_clicked(), impl_initFilterProperties_nothrow(), LINK, m_aFilterExtensions, m_rLocationInput, m_xContext, and SvtURLBox::SetFilter().
|
private |
OUString svx::DatabaseLocationInputController_Impl::getURL | ( | ) | const |
Definition at line 129 of file databaselocationinput.cxx.
References impl_getCurrentURL().
|
private |
Definition at line 182 of file databaselocationinput.cxx.
References svt::OFileNotation::get(), SvtURLBox::get_active_text(), m_rLocationInput, and svt::OFileNotation::N_URL.
Referenced by getURL(), impl_onBrowseButtonClicked(), and prepareCommit().
|
private |
Definition at line 134 of file databaselocationinput.cxx.
References utl::OConfigurationTreeRoot::createWithComponentContext(), DBG_UNHANDLED_EXCEPTION, Exception, utl::OConfigurationNode::getNodeValue(), comphelper::NamedValueCollection::getOrDefault(), m_aFilterExtensions, m_sFilterUIName, and m_xContext.
Referenced by DatabaseLocationInputController_Impl().
|
private |
Definition at line 193 of file databaselocationinput.cxx.
References sfx2::FileDialogHelper::AddFilter(), aURL, ERRCODE_NONE, sfx2::FileDialogHelper::Execute(), svt::OFileNotation::get(), sfx2::FileDialogHelper::GetPath(), impl_getCurrentURL(), m_aFilterExtensions, m_bNeedExistenceCheck, m_rDialog, m_rLocationInput, m_sFilterUIName, svt::OFileNotation::N_SYSTEM, INetURLObject::NONE, SvtURLBox::set_entry_text(), sfx2::FileDialogHelper::SetCurrentFilter(), sfx2::FileDialogHelper::SetDisplayDirectory(), and SvtURLBox::trigger_changed().
bool svx::DatabaseLocationInputController_Impl::prepareCommit | ( | ) |
Definition at line 101 of file databaselocationinput.cxx.
References Application::CreateMessageDialog(), SvtURLBox::getWidget(), impl_getCurrentURL(), m_bNeedExistenceCheck, m_rLocationInput, RET_YES, and SvxResId().
void svx::DatabaseLocationInputController_Impl::setURL | ( | const OUString & | _rURL | ) |
Definition at line 123 of file databaselocationinput.cxx.
References svt::OFileNotation::get(), m_rLocationInput, svt::OFileNotation::N_SYSTEM, and SvtURLBox::set_entry_text().
|
private |
Definition at line 77 of file databaselocationinput.cxx.
Referenced by DatabaseLocationInputController_Impl(), impl_initFilterProperties_nothrow(), and impl_onBrowseButtonClicked().
|
private |
Definition at line 79 of file databaselocationinput.cxx.
Referenced by impl_onBrowseButtonClicked(), and prepareCommit().
|
private |
Definition at line 76 of file databaselocationinput.cxx.
Referenced by impl_onBrowseButtonClicked().
|
private |
Definition at line 75 of file databaselocationinput.cxx.
Referenced by DatabaseLocationInputController_Impl(), impl_getCurrentURL(), impl_onBrowseButtonClicked(), prepareCommit(), and setURL().
|
private |
Definition at line 78 of file databaselocationinput.cxx.
Referenced by impl_initFilterProperties_nothrow(), and impl_onBrowseButtonClicked().
|
private |
Definition at line 74 of file databaselocationinput.cxx.
Referenced by impl_initFilterProperties_nothrow().