LibreOffice Module extensions (master) 1
|
Functions | |
bool | invokeDialog (const Reference< XComponentContext > &_rxORB, class weld::Window *_pParent, const Reference< XPropertySet > &_rxDataSource, AddressSettings &_rSettings) |
void | defaultMapping (const Reference< XComponentContext > &_rxContext, MapString2String &_rFieldAssignment) |
void | writeTemplateAddressFieldMapping (const Reference< XComponentContext > &_rxContext, MapString2String &&aFieldAssignment) |
bool | invokeDialog (const css::uno::Reference< css::uno::XComponentContext > &_rxORB, class weld::Window *_pParent, const css::uno::Reference< css::beans::XPropertySet > &_rxDataSource, AddressSettings &_rSettings) |
invokes the field mapping dialog More... | |
void | defaultMapping (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, MapString2String &_rFieldAssignment) |
creates a default field mapping for usage with the address book SDBC driver More... | |
void | writeTemplateAddressFieldMapping (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, MapString2String &&_rFieldAssignment) |
writes a field mapping for the template document address source More... | |
void abp::fieldmapping::defaultMapping | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxContext, |
MapString2String & | _rFieldAssignment | ||
) |
creates a default field mapping for usage with the address book SDBC driver
The column names as used by the SDBC driver for address books is stored in the configuration, and this function creates a mapping which uses this configuration information.
void abp::fieldmapping::defaultMapping | ( | const Reference< XComponentContext > & | _rxContext, |
MapString2String & | _rFieldAssignment | ||
) |
Definition at line 111 of file fieldmappingimpl.cxx.
References DBG_ASSERT, Exception, i, abp::sDriverSettingsNodeName, and TOOLS_WARN_EXCEPTION.
Referenced by abp::OAddressBookSourcePilot::implDoAutoFieldMapping().
bool abp::fieldmapping::invokeDialog | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxORB, |
class weld::Window * | _pParent, | ||
const css::uno::Reference< css::beans::XPropertySet > & | _rxDataSource, | ||
AddressSettings & | _rSettings | ||
) |
invokes the field mapping dialog
_rxORB | service factory to use for creating UNO services |
_pParent | window to use as parent for the dialog and error messages |
_rSettings | current settings. Upon return, the field mapping member of this structure will be filled with the settings the user did in the field mapping dialog. |
bool abp::fieldmapping::invokeDialog | ( | const Reference< XComponentContext > & | _rxORB, |
class weld::Window * | _pParent, | ||
const Reference< XPropertySet > & | _rxDataSource, | ||
AddressSettings & | _rSettings | ||
) |
Definition at line 56 of file fieldmappingimpl.cxx.
References abp::AddressSettings::aFieldMapping, abp::AddressSettings::bRegisterDataSource, DBG_ASSERT, Exception, weld::Window::GetXWindow(), compmodule::ModuleRes(), pMapping, abp::AddressSettings::sDataSourceName, abp::AddressSettings::sRegisteredDataSourceName, abp::AddressSettings::sSelectedTable, and TOOLS_WARN_EXCEPTION.
Referenced by abp::IMPL_LINK_NOARG().
void abp::fieldmapping::writeTemplateAddressFieldMapping | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxContext, |
MapString2String && | _rFieldAssignment | ||
) |
writes a field mapping for the template document address source
void abp::fieldmapping::writeTemplateAddressFieldMapping | ( | const Reference< XComponentContext > & | _rxContext, |
MapString2String && | aFieldAssignment | ||
) |
Definition at line 206 of file fieldmappingimpl.cxx.
References Any, DBG_ASSERT, abp::sAddressBookNodeName, SAL_WARN_IF, and u.
Referenced by abp::OAddressBookSourcePilot::implCommitAll().