LibreOffice Module extensions (master) 1
Functions
abp::fieldmapping Namespace Reference

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

Function Documentation

◆ defaultMapping() [1/2]

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.

◆ defaultMapping() [2/2]

void abp::fieldmapping::defaultMapping ( const Reference< XComponentContext > &  _rxContext,
MapString2String _rFieldAssignment 
)

◆ invokeDialog() [1/2]

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

Parameters
_rxORBservice factory to use for creating UNO services
_pParentwindow to use as parent for the dialog and error messages
_rSettingscurrent settings. Upon return, the field mapping member of this structure will be filled with the settings the user did in the field mapping dialog.

◆ invokeDialog() [2/2]

bool abp::fieldmapping::invokeDialog ( const Reference< XComponentContext > &  _rxORB,
class weld::Window _pParent,
const Reference< XPropertySet > &  _rxDataSource,
AddressSettings _rSettings 
)

◆ writeTemplateAddressFieldMapping() [1/2]

void abp::fieldmapping::writeTemplateAddressFieldMapping ( const css::uno::Reference< css::uno::XComponentContext > &  _rxContext,
MapString2String &&  _rFieldAssignment 
)

writes a field mapping for the template document address source

◆ writeTemplateAddressFieldMapping() [2/2]

void abp::fieldmapping::writeTemplateAddressFieldMapping ( const Reference< XComponentContext > &  _rxContext,
MapString2String &&  aFieldAssignment 
)