LibreOffice Module sw (master) 1
|
#include <mmconfigitem.hxx>
Public Types | |
enum | Gender { FEMALE , MALE , NEUTRAL } |
Public Member Functions | |
SwMailMergeConfigItem () | |
~SwMailMergeConfigItem () | |
void | Commit () |
const std::vector< std::pair< OUString, int > > & | GetDefaultAddressHeaders () const |
void | SetCurrentConnection (css::uno::Reference< css::sdbc::XDataSource > const &xSource, const SharedConnection &rConnection, css::uno::Reference< css::sdbcx::XColumnsSupplier > const &xColumnsSupplier, const SwDBData &rDBData) |
css::uno::Reference< css::sdbc::XDataSource > const & | GetSource () const |
SharedConnection const & | GetConnection () const |
css::uno::Reference< css::sdbcx::XColumnsSupplier > const & | GetColumnsSupplier () |
css::uno::Reference< css::sdbc::XResultSet > const & | GetResultSet () const |
void | DisposeResultSet () |
OUString & | GetFilter () const |
void | SetFilter (OUString const &) |
void | SetCurrentDBData (const SwDBData &rDBData) |
const SwDBData & | GetCurrentDBData () const |
sal_Int32 | MoveResultSet (sal_Int32 nTarget) |
sal_Int32 | GetResultSetPosition () const |
bool | IsResultSetFirstLast (bool &bIsFirst, bool &bIsLast) |
bool | IsRecordIncluded (sal_uInt32 nRecord) const |
bool | IsRecordExcluded (sal_uInt32 nRecord) const |
void | ExcludeRecord (sal_Int32 nRecord, bool bExclude) |
css::uno::Sequence< css::uno::Any > | GetSelection () const |
const css::uno::Sequence< OUString > & | GetSavedDocuments () const |
bool | IsOutputToLetter () const |
void | SetOutputToLetter (bool bSet) |
bool | IsAddressBlock () const |
void | SetAddressBlock (bool bSet) |
bool | IsHideEmptyParagraphs () const |
void | SetHideEmptyParagraphs (bool bSet) |
css::uno::Sequence< OUString > | GetAddressBlocks () const |
void | SetAddressBlocks (const css::uno::Sequence< OUString > &rBlocks) |
void | SetCurrentAddressBlockIndex (sal_Int32 nSet) |
sal_Int32 | GetCurrentAddressBlockIndex () const |
bool | IsIncludeCountry () const |
OUString & | GetExcludeCountry () const |
void | SetCountrySettings (bool bSet, const OUString &sCountry) |
bool | IsIndividualGreeting (bool bInEMail) const |
void | SetIndividualGreeting (bool bSet, bool bInEMail) |
bool | IsGreetingLine (bool bInEMail) const |
void | SetGreetingLine (bool bSet, bool bInEMail) |
css::uno::Sequence< OUString > | GetGreetings (Gender eType) const |
void | SetGreetings (Gender eType, const css::uno::Sequence< OUString > &rBlocks) |
sal_Int32 | GetCurrentGreeting (Gender eType) const |
void | SetCurrentGreeting (Gender eType, sal_Int32 nIndex) |
const OUString & | GetFemaleGenderValue () const |
void | SetFemaleGenderValue (const OUString &rValue) |
css::uno::Sequence< OUString > | GetColumnAssignment (const SwDBData &rDBData) const |
void | SetColumnAssignment (const SwDBData &rDBData, const css::uno::Sequence< OUString > &) |
bool | IsAddressFieldsAssigned () const |
bool | IsGreetingFieldsAssigned () const |
OUString const & | GetMailDisplayName () const |
void | SetMailDisplayName (const OUString &rName) |
OUString const & | GetMailAddress () const |
void | SetMailAddress (const OUString &rAddress) |
bool | IsMailReplyTo () const |
void | SetMailReplyTo (bool bSet) |
OUString const & | GetMailReplyTo () const |
void | SetMailReplyTo (const OUString &rReplyTo) |
OUString const & | GetMailServer () const |
void | SetMailServer (const OUString &rAddress) |
sal_Int16 | GetMailPort () const |
void | SetMailPort (sal_Int16 nSet) |
bool | IsSecureConnection () const |
void | SetSecureConnection (bool bSet) |
bool | IsAuthentication () const |
void | SetAuthentication (bool bSet) |
OUString const & | GetMailUserName () const |
void | SetMailUserName (const OUString &rName) |
OUString const & | GetMailPassword () const |
void | SetMailPassword (const OUString &rPassword) |
bool | IsSMTPAfterPOP () const |
void | SetSMTPAfterPOP (bool bSet) |
OUString const & | GetInServerName () const |
void | SetInServerName (const OUString &rServer) |
sal_Int16 | GetInServerPort () const |
void | SetInServerPort (sal_Int16 nSet) |
bool | IsInServerPOP () const |
void | SetInServerPOP (bool bSet) |
OUString const & | GetInServerUserName () const |
void | SetInServerUserName (const OUString &rName) |
OUString const & | GetInServerPassword () const |
void | SetInServerPassword (const OUString &rPassword) |
bool | IsAddressInserted () const |
void | SetAddressInserted () |
bool | IsGreetingInserted () const |
void | SetGreetingInserted () |
void | SetBeginEnd (sal_uInt32 nBegin, sal_uInt32 nEnd) |
void | MoveGreeting (sal_Int32 nMove) |
sal_Int32 | GetGreetingMoves () const |
void | DocumentReloaded () |
bool | IsMailAvailable () const |
void | AddMergedDocument (SwDocMergeInfo const &rInfo) |
SwDocMergeInfo & | GetDocumentMergeInfo (sal_uInt32 nDocument) |
sal_uInt32 | GetMergedDocumentCount () |
const OUString & | GetSelectedPrinter () const |
void | SetSelectedPrinter (const OUString &rSet) |
SwView * | GetTargetView () |
void | SetTargetView (SwView *pView) |
SwView * | GetSourceView () |
void | SetSourceView (SwView *pView) |
OUString | GetAssignedColumn (sal_uInt32 nColumn) const |
void | stopDBChangeListening () |
void | updateCurrentDBDataFromDocument () |
Private Attributes | |
std::unique_ptr< SwMailMergeConfigItem_Impl > | m_pImpl |
bool | m_bAddressInserted |
bool | m_bGreetingInserted |
sal_Int32 | m_nGreetingMoves |
sal_uInt32 | m_nBegin |
sal_uInt32 | m_nEnd |
std::set< sal_Int32 > | m_aExcludedRecords |
css::uno::Reference< css::view::XSelectionChangeListener > | m_xDBChangedListener |
OUString | m_sSelectedPrinter |
SwView * | m_pSourceView |
SwView * | m_pTargetView |
Definition at line 52 of file mmconfigitem.hxx.
Enumerator | |
---|---|
FEMALE | |
MALE | |
NEUTRAL |
Definition at line 72 of file mmconfigitem.hxx.
SwMailMergeConfigItem::SwMailMergeConfigItem | ( | ) |
Definition at line 681 of file mmconfigitem.cxx.
SwMailMergeConfigItem::~SwMailMergeConfigItem | ( | ) |
Definition at line 709 of file mmconfigitem.cxx.
References stopDBChangeListening().
void SwMailMergeConfigItem::AddMergedDocument | ( | SwDocMergeInfo const & | rInfo | ) |
Definition at line 1530 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwDBManager::MergeMailFiles().
void SwMailMergeConfigItem::Commit | ( | ) |
Definition at line 714 of file mmconfigitem.cxx.
References m_pImpl.
void SwMailMergeConfigItem::DisposeResultSet | ( | ) |
Definition at line 885 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by IMPL_LINK_NOARG().
void SwMailMergeConfigItem::DocumentReloaded | ( | ) |
Definition at line 1519 of file mmconfigitem.cxx.
References m_bAddressInserted, and m_bGreetingInserted.
void SwMailMergeConfigItem::ExcludeRecord | ( | sal_Int32 | nRecord, |
bool | bExclude | ||
) |
Definition at line 988 of file mmconfigitem.cxx.
References m_aExcludedRecords.
Sequence< OUString > SwMailMergeConfigItem::GetAddressBlocks | ( | ) | const |
Definition at line 731 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeAddressBlockPage::Activate(), IMPL_LINK_NOARG(), SwMailMergeLayoutPage::InsertAddressFrame(), SwMailMergeAddressBlockPage::InsertDataHdl(), and IsAddressFieldsAssigned().
OUString SwMailMergeConfigItem::GetAssignedColumn | ( | sal_uInt32 | nColumn | ) | const |
Definition at line 1137 of file mmconfigitem.cxx.
References GetColumnAssignment(), and m_pImpl.
Referenced by SwMailMergeGreetingsPage::Activate(), SwMailMergeLayoutPage::InsertGreeting(), SwMailBodyDialog::SwMailBodyDialog(), and SwMailMergeGreetingsPage::UpdatePreview().
Definition at line 1123 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeGreetingsPage::commitPage(), SwAddressPreview::FillData(), GetAssignedColumn(), SwAssignFieldsControl::Init(), SwMailMergeLayoutPage::InsertAddressFrame(), SwMailMergeLayoutPage::InsertGreeting(), IsAddressFieldsAssigned(), and IsGreetingFieldsAssigned().
Reference< XColumnsSupplier > const & SwMailMergeConfigItem::GetColumnsSupplier | ( | ) |
Definition at line 811 of file mmconfigitem.cxx.
References SwDBManager::GetColumnSupplier(), m_pImpl, QUERY, and TABLE.
Referenced by SwMailMergeGreetingsPage::Activate(), SwAddressListDialog::SwAddressListDialog(), and SwMailBodyDialog::SwMailBodyDialog().
SharedConnection const & SwMailMergeConfigItem::GetConnection | ( | ) | const |
Definition at line 806 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwAddressListDialog::SwAddressListDialog().
sal_Int32 SwMailMergeConfigItem::GetCurrentAddressBlockIndex | ( | ) | const |
Definition at line 1703 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeAddressBlockPage::Activate().
const SwDBData & SwMailMergeConfigItem::GetCurrentDBData | ( | ) | const |
Definition at line 823 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeGreetingsPage::commitPage(), SwAddressPreview::FillData(), IMPL_LINK_NOARG(), SwAssignFieldsControl::Init(), SwMailMergeLayoutPage::InsertAddressFrame(), SwMailMergeAddressBlockPage::InsertDataHdl(), SwMailMergeLayoutPage::InsertGreeting(), IsAddressFieldsAssigned(), IsGreetingFieldsAssigned(), and SwAddressListDialog::SwAddressListDialog().
sal_Int32 SwMailMergeConfigItem::GetCurrentGreeting | ( | SwMailMergeConfigItem::Gender | eType | ) | const |
Definition at line 1098 of file mmconfigitem.cxx.
References eType, and m_pImpl.
Referenced by SwMailMergeLayoutPage::InsertGreeting(), IsGreetingFieldsAssigned(), and lcl_FillGreetingsBox().
const std::vector< std::pair< OUString, int > > & SwMailMergeConfigItem::GetDefaultAddressHeaders | ( | ) | const |
Definition at line 720 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwAssignFieldsDialog::CreateAssignments(), SwAddressPreview::FillData(), SwAssignFieldsControl::Init(), SwMailMergeLayoutPage::InsertAddressFrame(), SwMailMergeLayoutPage::InsertGreeting(), IsAddressFieldsAssigned(), IsGreetingFieldsAssigned(), SwCreateAddressListDialog::SwCreateAddressListDialog(), and SwCustomizeAddressBlockDialog::SwCustomizeAddressBlockDialog().
SwDocMergeInfo & SwMailMergeConfigItem::GetDocumentMergeInfo | ( | sal_uInt32 | nDocument | ) |
Definition at line 1535 of file mmconfigitem.cxx.
References m_pImpl.
OUString & SwMailMergeConfigItem::GetExcludeCountry | ( | ) | const |
Definition at line 770 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwAddressPreview::FillData(), IMPL_LINK_NOARG(), and SwMailMergeLayoutPage::InsertAddressFrame().
const OUString & SwMailMergeConfigItem::GetFemaleGenderValue | ( | ) | const |
Definition at line 1109 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeGreetingsPage::Activate(), SwMailMergeLayoutPage::InsertGreeting(), and SwMailBodyDialog::SwMailBodyDialog().
OUString & SwMailMergeConfigItem::GetFilter | ( | ) | const |
Definition at line 894 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwAddressListDialog::SwAddressListDialog().
|
inline |
Definition at line 227 of file mmconfigitem.hxx.
Referenced by SwMailMergeLayoutPage::InsertGreeting().
Definition at line 1086 of file mmconfigitem.cxx.
References eType, and m_pImpl.
Referenced by SwMailMergeLayoutPage::InsertGreeting(), IsGreetingFieldsAssigned(), and lcl_FillGreetingsBox().
OUString const & SwMailMergeConfigItem::GetInServerName | ( | ) | const |
Definition at line 1436 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
OUString const & SwMailMergeConfigItem::GetInServerPassword | ( | ) | const |
Definition at line 1505 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
sal_Int16 SwMailMergeConfigItem::GetInServerPort | ( | ) | const |
Definition at line 1450 of file mmconfigitem.cxx.
References IMAP_PORT, IMAP_SECURE_PORT, m_pImpl, POP_PORT, and POP_SECURE_PORT.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
OUString const & SwMailMergeConfigItem::GetInServerUserName | ( | ) | const |
Definition at line 1491 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
OUString const & SwMailMergeConfigItem::GetMailAddress | ( | ) | const |
Definition at line 1288 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwSendMailDialog::IterateMails(), lcl_CreateMailFromDoc(), and lcl_UpdateEmailSettingsFromGlobalConfig().
OUString const & SwMailMergeConfigItem::GetMailDisplayName | ( | ) | const |
Definition at line 1274 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwSendMailDialog::IterateMails(), and lcl_UpdateEmailSettingsFromGlobalConfig().
OUString const & SwMailMergeConfigItem::GetMailPassword | ( | ) | const |
Definition at line 1408 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
sal_Int16 SwMailMergeConfigItem::GetMailPort | ( | ) | const |
Definition at line 1344 of file mmconfigitem.cxx.
References DEFAULT_PORT, m_pImpl, and SECURE_PORT.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
OUString const & SwMailMergeConfigItem::GetMailReplyTo | ( | ) | const |
Definition at line 1316 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwSendMailDialog::IterateMails(), lcl_CreateMailFromDoc(), and lcl_UpdateEmailSettingsFromGlobalConfig().
OUString const & SwMailMergeConfigItem::GetMailServer | ( | ) | const |
Definition at line 1330 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
OUString const & SwMailMergeConfigItem::GetMailUserName | ( | ) | const |
Definition at line 1394 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
sal_uInt32 SwMailMergeConfigItem::GetMergedDocumentCount | ( | ) |
Definition at line 1542 of file mmconfigitem.cxx.
References GetResultSetPosition(), m_aExcludedRecords, m_pImpl, m_pTargetView, and MoveResultSet().
Reference< XResultSet > const & SwMailMergeConfigItem::GetResultSet | ( | ) | const |
Definition at line 841 of file mmconfigitem.cxx.
References Any, Exception, SwDBManager::GetConnection(), m_pImpl, m_pSourceView, utl::SharedUNOComponent< css::sdbc::XConnection >::TakeOwnership, and TOOLS_WARN_EXCEPTION.
Referenced by SwMailMergeAddressBlockPage::canAdvance(), SwMailMergeAddressBlockPage::commitPage(), SwAddressPreview::FillData(), GetSelection(), IMPL_LINK(), IMPL_LINK_NOARG(), SwAssignFieldsControl::Init(), SwMailMergeAddressBlockPage::InsertDataHdl(), IsAddressFieldsAssigned(), IsGreetingFieldsAssigned(), IsResultSetFirstLast(), MoveResultSet(), SwAddressListDialog::SwAddressListDialog(), and SwMailMergeGreetingsPage::UpdatePreview().
sal_Int32 SwMailMergeConfigItem::GetResultSetPosition | ( | ) | const |
Definition at line 977 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by GetMergedDocumentCount(), and SwMailMergeAddressBlockPage::InsertDataHdl().
const uno::Sequence< OUString > & SwMailMergeConfigItem::GetSavedDocuments | ( | ) | const |
Definition at line 1013 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeDocSelectPage::SwMailMergeDocSelectPage().
|
inline |
Definition at line 240 of file mmconfigitem.hxx.
uno::Sequence< uno::Any > SwMailMergeConfigItem::GetSelection | ( | ) | const |
Definition at line 996 of file mmconfigitem.cxx.
References comphelper::containerToSequence(), GetResultSet(), IsRecordExcluded(), IsRecordIncluded(), and m_pImpl.
Reference< XDataSource > const & SwMailMergeConfigItem::GetSource | ( | ) | const |
Definition at line 801 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwAddressListDialog::SwAddressListDialog().
SwView * SwMailMergeConfigItem::GetSourceView | ( | ) |
Definition at line 1590 of file mmconfigitem.cxx.
References lcl_ExistsView(), and m_pSourceView.
SwView * SwMailMergeConfigItem::GetTargetView | ( | ) |
Definition at line 1570 of file mmconfigitem.cxx.
References lcl_ExistsView(), and m_pTargetView.
Referenced by SwXMailMerge::execute(), and SwDBManager::MergeMailFiles().
bool SwMailMergeConfigItem::IsAddressBlock | ( | ) | const |
Definition at line 736 of file mmconfigitem.cxx.
References IsOutputToLetter(), and m_pImpl.
Referenced by SwMailMergeAddressBlockPage::Activate(), SwMailMergeLayoutPage::Activate(), IMPL_LINK_NOARG(), and SwMailMergeLayoutPage::InsertAddressAndGreeting().
bool SwMailMergeConfigItem::IsAddressFieldsAssigned | ( | ) | const |
Definition at line 1172 of file mmconfigitem.cxx.
References SwMergeAddressItem::bIsColumn, first, GetAddressBlocks(), GetColumnAssignment(), GetCurrentDBData(), GetDefaultAddressHeaders(), GetResultSet(), SwAddressIterator::HasMore(), m_pImpl, min(), SwAddressIterator::Next(), and SwMergeAddressItem::sText.
|
inline |
Definition at line 211 of file mmconfigitem.hxx.
Referenced by SwMailMergeLayoutPage::Activate(), and SwMailMergeLayoutPage::InsertAddressAndGreeting().
bool SwMailMergeConfigItem::IsAuthentication | ( | ) | const |
Definition at line 1380 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
bool SwMailMergeConfigItem::IsGreetingFieldsAssigned | ( | ) | const |
Definition at line 1217 of file mmconfigitem.cxx.
References SwMergeAddressItem::bIsColumn, FEMALE, first, GetColumnAssignment(), GetCurrentDBData(), GetCurrentGreeting(), GetDefaultAddressHeaders(), GetGreetings(), GetResultSet(), SwAddressIterator::HasMore(), IsIndividualGreeting(), MALE, min(), SwAddressIterator::Next(), and SwMergeAddressItem::sText.
|
inline |
Definition at line 217 of file mmconfigitem.hxx.
Referenced by SwMailMergeLayoutPage::Activate(), and SwMailMergeLayoutPage::InsertAddressAndGreeting().
bool SwMailMergeConfigItem::IsGreetingLine | ( | bool | bInEMail | ) | const |
Definition at line 1060 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeLayoutPage::Activate(), IMPL_LINK_NOARG(), SwMailMergeLayoutPage::InsertAddressAndGreeting(), SwMailBodyDialog::SwMailBodyDialog(), and SwMailMergeGreetingsPage::SwMailMergeGreetingsPage().
bool SwMailMergeConfigItem::IsHideEmptyParagraphs | ( | ) | const |
Definition at line 751 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeAddressBlockPage::Activate(), SwMailMergeLayoutPage::InsertAddressFrame(), and SwMailMergeLayoutPage::InsertGreeting().
bool SwMailMergeConfigItem::IsIncludeCountry | ( | ) | const |
Definition at line 765 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwAddressPreview::FillData(), IMPL_LINK_NOARG(), and SwMailMergeLayoutPage::InsertAddressFrame().
bool SwMailMergeConfigItem::IsIndividualGreeting | ( | bool | bInEMail | ) | const |
Definition at line 1032 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeLayoutPage::InsertGreeting(), IsGreetingFieldsAssigned(), SwMailBodyDialog::SwMailBodyDialog(), and SwMailMergeGreetingsPage::SwMailMergeGreetingsPage().
bool SwMailMergeConfigItem::IsInServerPOP | ( | ) | const |
Definition at line 1477 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
bool SwMailMergeConfigItem::IsMailAvailable | ( | ) | const |
Definition at line 1525 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by IsOutputToLetter().
bool SwMailMergeConfigItem::IsMailReplyTo | ( | ) | const |
Definition at line 1302 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwSendMailDialog::IterateMails(), lcl_CreateMailFromDoc(), and lcl_UpdateEmailSettingsFromGlobalConfig().
bool SwMailMergeConfigItem::IsOutputToLetter | ( | ) | const |
Definition at line 1018 of file mmconfigitem.cxx.
References IsMailAvailable(), and m_pImpl.
Referenced by SwMailMergeAddressBlockPage::Activate(), IsAddressBlock(), and SwMailMergeOutputTypePage::SwMailMergeOutputTypePage().
bool SwMailMergeConfigItem::IsRecordExcluded | ( | sal_uInt32 | nRecord | ) | const |
Definition at line 985 of file mmconfigitem.cxx.
References m_aExcludedRecords.
Referenced by GetSelection().
bool SwMailMergeConfigItem::IsRecordIncluded | ( | sal_uInt32 | nRecord | ) | const |
Definition at line 982 of file mmconfigitem.cxx.
References m_nBegin, and m_nEnd.
Referenced by GetSelection().
bool SwMailMergeConfigItem::IsResultSetFirstLast | ( | bool & | bIsFirst, |
bool & | bIsLast | ||
) |
Definition at line 957 of file mmconfigitem.cxx.
References Exception, GetResultSet(), and m_pImpl.
bool SwMailMergeConfigItem::IsSecureConnection | ( | ) | const |
Definition at line 1366 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
bool SwMailMergeConfigItem::IsSMTPAfterPOP | ( | ) | const |
Definition at line 1422 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeHelper::ConnectToSmtpServer(), and lcl_UpdateEmailSettingsFromGlobalConfig().
|
inline |
Definition at line 226 of file mmconfigitem.hxx.
sal_Int32 SwMailMergeConfigItem::MoveResultSet | ( | sal_Int32 | nTarget | ) |
Definition at line 923 of file mmconfigitem.cxx.
References Exception, GetResultSet(), and m_pImpl.
Referenced by GetMergedDocumentCount(), and SwMailMergeAddressBlockPage::InsertDataHdl().
void SwMailMergeConfigItem::SetAddressBlock | ( | bool | bSet | ) |
void SwMailMergeConfigItem::SetAddressBlocks | ( | const css::uno::Sequence< OUString > & | rBlocks | ) |
Definition at line 725 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 212 of file mmconfigitem.hxx.
Referenced by SwMailMergeLayoutPage::InsertAddressAndGreeting().
void SwMailMergeConfigItem::SetAuthentication | ( | bool | bSet | ) |
Definition at line 1385 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
|
inline |
Definition at line 222 of file mmconfigitem.hxx.
void SwMailMergeConfigItem::SetColumnAssignment | ( | const SwDBData & | rDBData, |
const css::uno::Sequence< OUString > & | |||
) |
Definition at line 1148 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeGreetingsPage::commitPage(), and IMPL_LINK_NOARG().
void SwMailMergeConfigItem::SetCountrySettings | ( | bool | bSet, |
const OUString & | sCountry | ||
) |
Definition at line 775 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by IMPL_LINK_NOARG().
void SwMailMergeConfigItem::SetCurrentAddressBlockIndex | ( | sal_Int32 | nSet | ) |
Definition at line 1698 of file mmconfigitem.cxx.
References m_pImpl.
void SwMailMergeConfigItem::SetCurrentConnection | ( | css::uno::Reference< css::sdbc::XDataSource > const & | xSource, |
const SharedConnection & | rConnection, | ||
css::uno::Reference< css::sdbcx::XColumnsSupplier > const & | xColumnsSupplier, | ||
const SwDBData & | rDBData | ||
) |
Definition at line 786 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by IMPL_LINK_NOARG().
void SwMailMergeConfigItem::SetCurrentDBData | ( | const SwDBData & | rDBData | ) |
Definition at line 828 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by updateCurrentDBDataFromDocument().
void SwMailMergeConfigItem::SetCurrentGreeting | ( | Gender | eType, |
sal_Int32 | nIndex | ||
) |
Definition at line 1104 of file mmconfigitem.cxx.
References eType, m_pImpl, and nIndex.
Referenced by lcl_StoreGreetingsBox().
void SwMailMergeConfigItem::SetFemaleGenderValue | ( | const OUString & | rValue | ) |
Definition at line 1114 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeGreetingsPage::commitPage().
void SwMailMergeConfigItem::SetFilter | ( | OUString const & | rFilter | ) |
Definition at line 899 of file mmconfigitem.cxx.
References Any, Exception, m_pImpl, and TOOLS_WARN_EXCEPTION.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 219 of file mmconfigitem.hxx.
Referenced by SwMailMergeLayoutPage::InsertAddressAndGreeting().
void SwMailMergeConfigItem::SetGreetingLine | ( | bool | bSet, |
bool | bInEMail | ||
) |
Definition at line 1065 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeGreetingsPage::commitPage().
void SwMailMergeConfigItem::SetGreetings | ( | Gender | eType, |
const css::uno::Sequence< OUString > & | rBlocks | ||
) |
Definition at line 1092 of file mmconfigitem.cxx.
References eType, and m_pImpl.
Referenced by lcl_StoreGreetingsBox().
void SwMailMergeConfigItem::SetHideEmptyParagraphs | ( | bool | bSet | ) |
void SwMailMergeConfigItem::SetIndividualGreeting | ( | bool | bSet, |
bool | bInEMail | ||
) |
Definition at line 1039 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by SwMailMergeGreetingsPage::commitPage().
void SwMailMergeConfigItem::SetInServerName | ( | const OUString & | rServer | ) |
Definition at line 1441 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetInServerPassword | ( | const OUString & | rPassword | ) |
Definition at line 1510 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetInServerPOP | ( | bool | bSet | ) |
Definition at line 1482 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetInServerPort | ( | sal_Int16 | nSet | ) |
Definition at line 1468 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetInServerUserName | ( | const OUString & | rName | ) |
Definition at line 1496 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetMailAddress | ( | const OUString & | rAddress | ) |
Definition at line 1293 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetMailDisplayName | ( | const OUString & | rName | ) |
Definition at line 1279 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetMailPassword | ( | const OUString & | rPassword | ) |
Definition at line 1413 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetMailPort | ( | sal_Int16 | nSet | ) |
Definition at line 1357 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetMailReplyTo | ( | bool | bSet | ) |
Definition at line 1307 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetMailReplyTo | ( | const OUString & | rReplyTo | ) |
Definition at line 1321 of file mmconfigitem.cxx.
References m_pImpl.
void SwMailMergeConfigItem::SetMailServer | ( | const OUString & | rAddress | ) |
Definition at line 1335 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetMailUserName | ( | const OUString & | rName | ) |
Definition at line 1399 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetOutputToLetter | ( | bool | bSet | ) |
Definition at line 1023 of file mmconfigitem.cxx.
References m_pImpl.
void SwMailMergeConfigItem::SetSecureConnection | ( | bool | bSet | ) |
Definition at line 1371 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
|
inline |
Definition at line 242 of file mmconfigitem.hxx.
References rSet.
void SwMailMergeConfigItem::SetSMTPAfterPOP | ( | bool | bSet | ) |
Definition at line 1427 of file mmconfigitem.cxx.
References m_pImpl.
Referenced by lcl_UpdateEmailSettingsFromGlobalConfig().
void SwMailMergeConfigItem::SetSourceView | ( | SwView * | pView | ) |
Definition at line 1638 of file mmconfigitem.cxx.
References SwEditShell::GetAllUsedDB(), SwView::GetUNOObject(), SwView::GetWrtShell(), m_pImpl, m_pSourceView, and m_xDBChangedListener.
void SwMailMergeConfigItem::SetTargetView | ( | SwView * | pView | ) |
Definition at line 1580 of file mmconfigitem.cxx.
References m_pImpl, and m_pTargetView.
Referenced by SwDBManager::MergeMailFiles().
void SwMailMergeConfigItem::stopDBChangeListening | ( | ) |
Definition at line 693 of file mmconfigitem.cxx.
References SwView::GetUNOObject(), m_pSourceView, and m_xDBChangedListener.
Referenced by ~SwMailMergeConfigItem().
void SwMailMergeConfigItem::updateCurrentDBDataFromDocument | ( | ) |
Definition at line 703 of file mmconfigitem.cxx.
References SwEditShell::GetDBData(), SwView::GetWrtShell(), m_pSourceView, and SetCurrentDBData().
|
private |
Definition at line 61 of file mmconfigitem.hxx.
Referenced by ExcludeRecord(), GetMergedDocumentCount(), and IsRecordExcluded().
|
private |
Definition at line 56 of file mmconfigitem.hxx.
Referenced by DocumentReloaded().
|
private |
Definition at line 57 of file mmconfigitem.hxx.
Referenced by DocumentReloaded().
|
private |
Definition at line 59 of file mmconfigitem.hxx.
Referenced by IsRecordIncluded().
|
private |
Definition at line 60 of file mmconfigitem.hxx.
Referenced by IsRecordIncluded().
|
private |
Definition at line 58 of file mmconfigitem.hxx.
|
private |
Definition at line 54 of file mmconfigitem.hxx.
Referenced by AddMergedDocument(), Commit(), DisposeResultSet(), GetAddressBlocks(), GetAssignedColumn(), GetColumnAssignment(), GetColumnsSupplier(), GetConnection(), GetCurrentAddressBlockIndex(), GetCurrentDBData(), GetCurrentGreeting(), GetDefaultAddressHeaders(), GetDocumentMergeInfo(), GetExcludeCountry(), GetFemaleGenderValue(), GetFilter(), GetGreetings(), GetInServerName(), GetInServerPassword(), GetInServerPort(), GetInServerUserName(), GetMailAddress(), GetMailDisplayName(), GetMailPassword(), GetMailPort(), GetMailReplyTo(), GetMailServer(), GetMailUserName(), GetMergedDocumentCount(), GetResultSet(), GetResultSetPosition(), GetSavedDocuments(), GetSelection(), GetSource(), IsAddressBlock(), IsAddressFieldsAssigned(), IsAuthentication(), IsGreetingLine(), IsHideEmptyParagraphs(), IsIncludeCountry(), IsIndividualGreeting(), IsInServerPOP(), IsMailAvailable(), IsMailReplyTo(), IsOutputToLetter(), IsResultSetFirstLast(), IsSecureConnection(), IsSMTPAfterPOP(), MoveResultSet(), SetAddressBlock(), SetAddressBlocks(), SetAuthentication(), SetColumnAssignment(), SetCountrySettings(), SetCurrentAddressBlockIndex(), SetCurrentConnection(), SetCurrentDBData(), SetCurrentGreeting(), SetFemaleGenderValue(), SetFilter(), SetGreetingLine(), SetGreetings(), SetHideEmptyParagraphs(), SetIndividualGreeting(), SetInServerName(), SetInServerPassword(), SetInServerPOP(), SetInServerPort(), SetInServerUserName(), SetMailAddress(), SetMailDisplayName(), SetMailPassword(), SetMailPort(), SetMailReplyTo(), SetMailServer(), SetMailUserName(), SetOutputToLetter(), SetSecureConnection(), SetSMTPAfterPOP(), SetSourceView(), and SetTargetView().
|
private |
Definition at line 66 of file mmconfigitem.hxx.
Referenced by GetResultSet(), GetSourceView(), SetSourceView(), stopDBChangeListening(), and updateCurrentDBDataFromDocument().
|
private |
Definition at line 67 of file mmconfigitem.hxx.
Referenced by GetMergedDocumentCount(), GetTargetView(), and SetTargetView().
|
private |
Definition at line 64 of file mmconfigitem.hxx.
|
private |
Definition at line 62 of file mmconfigitem.hxx.
Referenced by SetSourceView(), and stopDBChangeListening().