LibreOffice Module extensions (master) 1
Public Member Functions | Private Attributes | List of all members
abp::ODataSourceContext Class Reference

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< ODataSourceContextImplm_pImpl
 

Detailed Description

a non-UNO wrapper for the data source context

Definition at line 44 of file datasourcehandling.hxx.

Constructor & Destructor Documentation

◆ ODataSourceContext()

abp::ODataSourceContext::ODataSourceContext ( const css::uno::Reference< css::uno::XComponentContext > &  _rxORB)
explicit

◆ ~ODataSourceContext()

abp::ODataSourceContext::~ODataSourceContext ( )

Definition at line 214 of file datasourcehandling.cxx.

Member Function Documentation

◆ createNewEvolution()

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().

◆ createNewEvolutionGroupwise()

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().

◆ createNewEvolutionLdap()

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().

◆ createNewKab()

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().

◆ createNewMacab()

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().

◆ createNewOther()

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().

◆ createNewThunderbird()

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().

◆ disambiguate()

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().

◆ getDataSourceNames()

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().

Member Data Documentation

◆ m_pImpl

std::unique_ptr<ODataSourceContextImpl> abp::ODataSourceContext::m_pImpl
private

The documentation for this class was generated from the following files: