LibreOffice Module extensions (master) 1
|
a non-UNO wrapper for the data source context More...
#include <datasourcehandling.hxx>
Public Member Functions | |
ODataSourceContext (const css::uno::Reference< css::uno::XComponentContext > &_rxORB) | |
~ODataSourceContext () | |
void | getDataSourceNames (StringBag &_rNames) const |
retrieves the names of all data sources More... | |
void | disambiguate (OUString &_rDataSourceName) |
disambiguates the given name by appending successive numbers More... | |
ODataSource | createNewThunderbird (const OUString &_rName) |
creates a new Thunderbird data source More... | |
ODataSource | createNewEvolution (const OUString &_rName) |
creates a new Evolution local data source More... | |
ODataSource | createNewEvolutionLdap (const OUString &_rName) |
creates a new Evolution LDAP data source More... | |
ODataSource | createNewEvolutionGroupwise (const OUString &_rName) |
creates a new Evolution GROUPWISE data source More... | |
ODataSource | createNewKab (const OUString &_rName) |
creates a new KDE address book data source More... | |
ODataSource | createNewMacab (const OUString &_rName) |
creates a new macOS address book data source More... | |
ODataSource | createNewOther (const OUString &_rName) |
creates a new Other data source; tdf117101: Spreadsheet by default More... | |
Private Attributes | |
std::unique_ptr< ODataSourceContextImpl > | m_pImpl |
a non-UNO wrapper for the data source context
Definition at line 44 of file datasourcehandling.hxx.
|
explicit |
Definition at line 193 of file datasourcehandling.cxx.
References Exception, abp::lcl_getDataSourceContext(), m_pImpl, m_pImpl, and TOOLS_WARN_EXCEPTION.
abp::ODataSourceContext::~ODataSourceContext | ( | ) |
Definition at line 214 of file datasourcehandling.cxx.
ODataSource abp::ODataSourceContext::createNewEvolution | ( | const OUString & | _rName | ) |
creates a new Evolution local data source
Definition at line 257 of file datasourcehandling.cxx.
References abp::lcl_implCreateAndSetURL(), and m_pImpl.
Referenced by abp::OAddressBookSourcePilot::implCreateDataSource().
ODataSource abp::ODataSourceContext::createNewEvolutionGroupwise | ( | const OUString & | _rName | ) |
creates a new Evolution GROUPWISE data source
Definition at line 252 of file datasourcehandling.cxx.
References abp::lcl_implCreateAndSetURL(), and m_pImpl.
Referenced by abp::OAddressBookSourcePilot::implCreateDataSource().
ODataSource abp::ODataSourceContext::createNewEvolutionLdap | ( | const OUString & | _rName | ) |
creates a new Evolution LDAP data source
Definition at line 247 of file datasourcehandling.cxx.
References abp::lcl_implCreateAndSetURL(), and m_pImpl.
Referenced by abp::OAddressBookSourcePilot::implCreateDataSource().
ODataSource abp::ODataSourceContext::createNewKab | ( | const OUString & | _rName | ) |
creates a new KDE address book data source
Definition at line 263 of file datasourcehandling.cxx.
References abp::lcl_implCreateAndSetURL(), and m_pImpl.
Referenced by abp::OAddressBookSourcePilot::implCreateDataSource().
ODataSource abp::ODataSourceContext::createNewMacab | ( | const OUString & | _rName | ) |
creates a new macOS address book data source
Definition at line 269 of file datasourcehandling.cxx.
References abp::lcl_implCreateAndSetURL(), and m_pImpl.
Referenced by abp::OAddressBookSourcePilot::implCreateDataSource().
ODataSource abp::ODataSourceContext::createNewOther | ( | const OUString & | _rName | ) |
creates a new Other data source; tdf117101: Spreadsheet by default
Definition at line 276 of file datasourcehandling.cxx.
References abp::lcl_implCreateAndSetURL(), and m_pImpl.
Referenced by abp::OAddressBookSourcePilot::implCreateDataSource().
ODataSource abp::ODataSourceContext::createNewThunderbird | ( | const OUString & | _rName | ) |
creates a new Thunderbird data source
Definition at line 241 of file datasourcehandling.cxx.
References abp::lcl_implCreateAndSetURL(), and m_pImpl.
Referenced by abp::OAddressBookSourcePilot::implCreateDataSource().
void abp::ODataSourceContext::disambiguate | ( | OUString & | _rDataSourceName | ) |
disambiguates the given name by appending successive numbers
Definition at line 219 of file datasourcehandling.cxx.
References m_pImpl.
Referenced by abp::OAddressBookSourcePilot::implCreateDataSource().
void abp::ODataSourceContext::getDataSourceNames | ( | StringBag & | _rNames | ) | const |
retrieves the names of all data sources
Definition at line 236 of file datasourcehandling.cxx.
References m_pImpl.
Referenced by abp::FinalPage::Activate().
|
private |
Definition at line 47 of file datasourcehandling.hxx.
Referenced by createNewEvolution(), createNewEvolutionGroupwise(), createNewEvolutionLdap(), createNewKab(), createNewMacab(), createNewOther(), createNewThunderbird(), disambiguate(), getDataSourceNames(), and ODataSourceContext().