LibreOffice Module sw (master) 1
|
Public Member Functions | |
SwMailMergeConfigItem_Impl () | |
virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames) override |
Sequence< OUString > | GetAddressBlocks (bool bConvertToConfig=false) const |
void | SetAddressBlocks (const Sequence< OUString > &rBlocks, bool bConvertFromConfig=false) |
uno::Sequence< OUString > | GetGreetings (SwMailMergeConfigItem::Gender eType, bool bConvertToConfig=false) const |
void | SetGreetings (SwMailMergeConfigItem::Gender eType, const uno::Sequence< OUString > &rBlocks, bool bConvertFromConfig=false) |
void | SetCurrentAddressBlockIndex (sal_Int32 nSet) |
sal_Int32 | GetCurrentAddressBlockIndex () const |
sal_Int32 | GetCurrentGreeting (SwMailMergeConfigItem::Gender eType) const |
void | SetCurrentGreeting (SwMailMergeConfigItem::Gender eType, sal_Int32 nIndex) |
Public Member Functions inherited from utl::ConfigItem | |
virtual | ~ConfigItem () override |
ConfigItem (ConfigItem const &)=default | |
ConfigItem (ConfigItem &&)=default | |
ConfigItem & | operator= (ConfigItem const &)=delete |
ConfigItem & | operator= (ConfigItem &&)=delete |
virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0 |
const OUString & | GetSubTreeName () const |
bool | IsModified () const |
void | Commit () |
ConfigItemMode | GetMode () const |
Public Member Functions inherited from utl::ConfigurationBroadcaster | |
void | AddListener (utl::ConfigurationListener *pListener) |
void | RemoveListener (utl::ConfigurationListener const *pListener) |
void | NotifyListeners (ConfigurationHints nHint) |
ConfigurationBroadcaster () | |
ConfigurationBroadcaster (ConfigurationBroadcaster const &) | |
virtual | ~ConfigurationBroadcaster () |
ConfigurationBroadcaster & | operator= (ConfigurationBroadcaster const &other) |
virtual void | BlockBroadcasts (bool bBlock) |
Private Member Functions | |
virtual void | ImplCommit () override |
Static Private Member Functions | |
static const Sequence< OUString > & | GetPropertyNames () |
Friends | |
class | SwMailMergeConfigItem |
Additional Inherited Members | |
Static Public Member Functions inherited from utl::ConfigItem | |
static css::uno::Sequence< OUString > | GetNodeNames (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, ConfigNameFormat eFormat) |
static css::uno::Sequence< css::uno::Any > | GetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales) |
static bool | PutProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales) |
static bool | ClearNodeSet (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode) |
static bool | ReplaceSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bAllLocales) |
static bool | SetSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
Protected Member Functions inherited from utl::ConfigItem | |
ConfigItem (OUString aSubTree, ConfigItemMode nMode=ConfigItemMode::NONE) | |
void | SetModified () |
void | ClearModified () |
css::uno::Sequence< css::uno::Any > | GetProperties (const css::uno::Sequence< OUString > &rNames) |
css::uno::Sequence< sal_Bool > | GetReadOnlyStates (const css::uno::Sequence< OUString > &rNames) |
bool | PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues) |
bool | EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false) |
void | DisableNotification () |
css::uno::Sequence< OUString > | GetNodeNames (const OUString &rNode) |
css::uno::Sequence< OUString > | GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat) |
bool | ClearNodeSet (const OUString &rNode) |
bool | ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements) |
bool | SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
bool | ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
bool | AddNode (const OUString &rNode, const OUString &rNewNode) |
Definition at line 90 of file mmconfigitem.cxx.
SwMailMergeConfigItem_Impl::SwMailMergeConfigItem_Impl | ( | ) |
Definition at line 186 of file mmconfigitem.cxx.
References aName, Any, begin, cAddressDataAssignments, cDataCommandType, cDataSourceName, cDataTableName, cDBColumnAssignments, utl::ConfigItem::ClearModified(), SwMailMergeConfigItem::FEMALE, utl::ConfigItem::GetNodeNames(), utl::ConfigItem::GetProperties(), GetPropertyNames(), m_aAddressDataAssignments, m_aDBData, m_AddressHeaderSA, m_aSavedDocuments, m_bIncludeCountry, m_bInServerPOP, m_bIsAddressBlock, m_bIsAuthentication, m_bIsEMailSupported, m_bIsGreetingLine, m_bIsGreetingLineInMail, m_bIsHideEmptyParagraphs, m_bIsIndividualGreetingLine, m_bIsIndividualGreetingLineInMail, m_bIsMailReplyTo, m_bIsOutputToLetter, m_bIsSecureConnection, m_bIsSMPTAfterPOP, m_nCurrentAddressBlock, m_nCurrentFemaleGreeting, m_nCurrentMaleGreeting, m_nCurrentNeutralGreeting, m_nInServerPort, m_nMailPort, m_sExcludeCountry, m_sFemaleGenderValue, m_sFilter, m_sInServerName, m_sInServerPassword, m_sInServerUserName, m_sMailAddress, m_sMailDisplayName, m_sMailPassword, m_sMailReplyTo, m_sMailServer, m_sMailUserName, SwDBData::nCommandType, nIndex, pValues, SwDBData::sCommand, SwDBData::sDataSource, SetAddressBlocks(), SetGreetings(), SwResId(), and SWUnoHelper::UCB_IsFile().
Sequence< OUString > SwMailMergeConfigItem_Impl::GetAddressBlocks | ( | bool | bConvertToConfig = false | ) | const |
Definition at line 577 of file mmconfigitem.cxx.
References m_aAddressBlocks.
Referenced by ImplCommit().
|
inline |
Definition at line 179 of file mmconfigitem.cxx.
References m_nCurrentAddressBlock.
sal_Int32 SwMailMergeConfigItem_Impl::GetCurrentGreeting | ( | SwMailMergeConfigItem::Gender | eType | ) | const |
Definition at line 646 of file mmconfigitem.cxx.
References eType, SwMailMergeConfigItem::FEMALE, m_nCurrentFemaleGreeting, m_nCurrentMaleGreeting, m_nCurrentNeutralGreeting, and SwMailMergeConfigItem::MALE.
Sequence< OUString > SwMailMergeConfigItem_Impl::GetGreetings | ( | SwMailMergeConfigItem::Gender | eType, |
bool | bConvertToConfig = false |
||
) | const |
Definition at line 607 of file mmconfigitem.cxx.
References eType, SwMailMergeConfigItem::FEMALE, m_aFemaleGreetingLines, m_aMaleGreetingLines, m_aNeutralGreetingLines, and SwMailMergeConfigItem::MALE.
Referenced by ImplCommit().
|
staticprivate |
Definition at line 420 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 469 of file mmconfigitem.cxx.
References Any, cAddressDataAssignments, cDataCommandType, cDataSourceName, cDataTableName, cDBColumnAssignments, SwMailMergeConfigItem::FEMALE, GetAddressBlocks(), GetGreetings(), utl::ConfigItem::GetNodeNames(), GetPropertyNames(), lcl_CreateNodeName(), m_aAddressDataAssignments, m_aDBData, m_aSavedDocuments, m_bIncludeCountry, m_bInServerPOP, m_bIsAddressBlock, m_bIsAddressBlock_LastUserSetting, m_bIsAuthentication, m_bIsEMailSupported, m_bIsGreetingLine, m_bIsGreetingLine_LastUserSetting, m_bIsGreetingLineInMail, m_bIsGreetingLineInMail_LastUserSetting, m_bIsHideEmptyParagraphs, m_bIsIndividualGreetingLine, m_bIsIndividualGreetingLineInMail, m_bIsMailReplyTo, m_bIsOutputToLetter, m_bIsSecureConnection, m_bIsSMPTAfterPOP, m_bUserSettingWereOverwritten, m_nCurrentAddressBlock, m_nCurrentFemaleGreeting, m_nCurrentMaleGreeting, m_nCurrentNeutralGreeting, m_nInServerPort, m_nMailPort, m_sExcludeCountry, m_sFemaleGenderValue, m_sFilter, m_sInServerName, m_sInServerPassword, m_sInServerUserName, m_sMailAddress, m_sMailDisplayName, m_sMailPassword, m_sMailReplyTo, m_sMailServer, m_sMailUserName, comphelper::makePropertyValue(), SwDBData::nCommandType, utl::ConfigItem::PutProperties(), pValues, SwDBData::sCommand, SwDBData::sDataSource, and utl::ConfigItem::SetSetProperties().
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 467 of file mmconfigitem.cxx.
void SwMailMergeConfigItem_Impl::SetAddressBlocks | ( | const Sequence< OUString > & | rBlocks, |
bool | bConvertFromConfig = false |
||
) |
Definition at line 591 of file mmconfigitem.cxx.
References m_aAddressBlocks, m_nCurrentAddressBlock, and utl::ConfigItem::SetModified().
Referenced by SwMailMergeConfigItem_Impl().
void SwMailMergeConfigItem_Impl::SetCurrentAddressBlockIndex | ( | sal_Int32 | nSet | ) |
Definition at line 349 of file mmconfigitem.cxx.
References m_aAddressBlocks, m_nCurrentAddressBlock, and utl::ConfigItem::SetModified().
void SwMailMergeConfigItem_Impl::SetCurrentGreeting | ( | SwMailMergeConfigItem::Gender | eType, |
sal_Int32 | nIndex | ||
) |
Definition at line 659 of file mmconfigitem.cxx.
References eType, SwMailMergeConfigItem::FEMALE, m_nCurrentFemaleGreeting, m_nCurrentMaleGreeting, m_nCurrentNeutralGreeting, SwMailMergeConfigItem::MALE, nIndex, and utl::ConfigItem::SetModified().
void SwMailMergeConfigItem_Impl::SetGreetings | ( | SwMailMergeConfigItem::Gender | eType, |
const uno::Sequence< OUString > & | rBlocks, | ||
bool | bConvertFromConfig = false |
||
) |
Definition at line 625 of file mmconfigitem.cxx.
References eType, SwMailMergeConfigItem::FEMALE, m_aFemaleGreetingLines, m_aMaleGreetingLines, m_aNeutralGreetingLines, SwMailMergeConfigItem::MALE, and utl::ConfigItem::SetModified().
Referenced by SwMailMergeConfigItem_Impl().
|
friend |
Definition at line 92 of file mmconfigitem.cxx.
|
private |
Definition at line 102 of file mmconfigitem.cxx.
Referenced by GetAddressBlocks(), SetAddressBlocks(), and SetCurrentAddressBlockIndex().
|
private |
Definition at line 101 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 97 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 147 of file mmconfigitem.cxx.
Referenced by SwMailMergeConfigItem_Impl().
|
private |
Definition at line 113 of file mmconfigitem.cxx.
Referenced by GetGreetings(), and SetGreetings().
|
private |
Definition at line 115 of file mmconfigitem.cxx.
Referenced by GetGreetings(), and SetGreetings().
|
private |
Definition at line 150 of file mmconfigitem.cxx.
|
private |
Definition at line 117 of file mmconfigitem.cxx.
Referenced by GetGreetings(), and SetGreetings().
|
private |
Definition at line 120 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 108 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 136 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 104 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 155 of file mmconfigitem.cxx.
Referenced by ImplCommit().
|
private |
Definition at line 143 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 145 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 111 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 157 of file mmconfigitem.cxx.
Referenced by ImplCommit().
|
private |
Definition at line 122 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 156 of file mmconfigitem.cxx.
Referenced by ImplCommit().
|
private |
Definition at line 105 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 112 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 123 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 141 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 107 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 142 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 133 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 154 of file mmconfigitem.cxx.
Referenced by ImplCommit().
|
private |
Definition at line 103 of file mmconfigitem.cxx.
Referenced by GetCurrentAddressBlockIndex(), ImplCommit(), SetAddressBlocks(), SetCurrentAddressBlockIndex(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 114 of file mmconfigitem.cxx.
Referenced by GetCurrentGreeting(), ImplCommit(), SetCurrentGreeting(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 116 of file mmconfigitem.cxx.
Referenced by GetCurrentGreeting(), ImplCommit(), SetCurrentGreeting(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 118 of file mmconfigitem.cxx.
Referenced by GetCurrentGreeting(), ImplCommit(), SetCurrentGreeting(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 135 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 140 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 99 of file mmconfigitem.cxx.
|
private |
Definition at line 109 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 119 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 98 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 134 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 138 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 137 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 127 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 126 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 131 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 128 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 129 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 130 of file mmconfigitem.cxx.
Referenced by ImplCommit(), and SwMailMergeConfigItem_Impl().
|
private |
Definition at line 95 of file mmconfigitem.cxx.
|
private |
Definition at line 94 of file mmconfigitem.cxx.
|
private |
Definition at line 96 of file mmconfigitem.cxx.
|
private |
Definition at line 93 of file mmconfigitem.cxx.