LibreOffice Module sw (master) 1
Classes | Macros | Functions | Variables
mmconfigitem.cxx File Reference
#include <mmconfigitem.hxx>
#include <comphelper/propertyvalue.hxx>
#include <vector>
#include <swtypes.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/sdbc/XDataSource.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/types.hxx>
#include <com/sun/star/sdb/CommandType.hpp>
#include <comphelper/sequence.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <unotools/configitem.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <mailmergehelper.hxx>
#include <swunohelper.hxx>
#include <dbmgr.hxx>
#include <view.hxx>
#include <unodispatch.hxx>
#include <wrtsh.hxx>
#include <dbui.hrc>
Include dependency graph for mmconfigitem.cxx:

Go to the source code of this file.

Classes

class  SwMailMergeConfigItem_Impl
 

Macros

#define SECURE_PORT   587
 
#define DEFAULT_PORT   25
 
#define POP_PORT   110
 
#define POP_SECURE_PORT   995
 
#define IMAP_PORT   143
 
#define IMAP_SECURE_PORT   993
 

Functions

static OUString lcl_CreateNodeName (Sequence< OUString > &rAssignments)
 
static void lcl_ConvertToNumbers (OUString &rBlock, const std::vector< std::pair< OUString, int > > &rHeaders)
 
static void lcl_ConvertFromNumbers (OUString &rBlock, const std::vector< std::pair< OUString, int > > &rHeaders)
 
static SwViewlcl_ExistsView (SwView *pView)
 

Variables

constexpr OUStringLiteral cAddressDataAssignments = u"AddressDataAssignments"
 
const char cDBColumnAssignments [] = "DBColumnAssignments"
 
const char cDataSourceName [] = "DataSource/DataSourceName"
 
const char cDataTableName [] = "DataSource/DataTableName"
 
const char cDataCommandType [] = "DataSource/DataCommandType"
 

Macro Definition Documentation

◆ DEFAULT_PORT

#define DEFAULT_PORT   25

Definition at line 66 of file mmconfigitem.cxx.

◆ IMAP_PORT

#define IMAP_PORT   143

Definition at line 69 of file mmconfigitem.cxx.

◆ IMAP_SECURE_PORT

#define IMAP_SECURE_PORT   993

Definition at line 70 of file mmconfigitem.cxx.

◆ POP_PORT

#define POP_PORT   110

Definition at line 67 of file mmconfigitem.cxx.

◆ POP_SECURE_PORT

#define POP_SECURE_PORT   995

Definition at line 68 of file mmconfigitem.cxx.

◆ SECURE_PORT

#define SECURE_PORT   587

Definition at line 65 of file mmconfigitem.cxx.

Function Documentation

◆ lcl_ConvertFromNumbers()

static void lcl_ConvertFromNumbers ( OUString &  rBlock,
const std::vector< std::pair< OUString, int > > &  rHeaders 
)
static

◆ lcl_ConvertToNumbers()

static void lcl_ConvertToNumbers ( OUString &  rBlock,
const std::vector< std::pair< OUString, int > > &  rHeaders 
)
static

Definition at line 375 of file mmconfigitem.cxx.

References i.

◆ lcl_CreateNodeName()

static OUString lcl_CreateNodeName ( Sequence< OUString > &  rAssignments)
static

Definition at line 358 of file mmconfigitem.cxx.

References comphelper::findValue().

Referenced by SwMailMergeConfigItem_Impl::ImplCommit().

◆ lcl_ExistsView()

static SwView * lcl_ExistsView ( SwView pView)
static

Variable Documentation

◆ cAddressDataAssignments

constexpr OUStringLiteral cAddressDataAssignments = u"AddressDataAssignments"
constexpr

◆ cDataCommandType

const char cDataCommandType[] = "DataSource/DataCommandType"

◆ cDataSourceName

const char cDataSourceName[] = "DataSource/DataSourceName"

◆ cDataTableName

const char cDataTableName[] = "DataSource/DataTableName"

◆ cDBColumnAssignments

const char cDBColumnAssignments[] = "DBColumnAssignments"