LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwSendMailDialog Class Referencefinal

#include <mmresultdialogs.hxx>

Inheritance diagram for SwSendMailDialog:
[legend]
Collaboration diagram for SwSendMailDialog:
[legend]

Public Member Functions

 SwSendMailDialog (weld::Window *pParent, SwMailMergeConfigItem &)
 
virtual ~SwSendMailDialog () override
 
void AddDocument (SwMailDescriptor const &rDesc)
 
void EnableDestruction ()
 
void StartSend (sal_Int32 nExpectedCount)
 
void DocumentSent (css::uno::Reference< css::mail::XMailMessage > const &xMessage, bool bResult, const OUString *pError)
 
void AllMailsSent ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (StopHdl_Impl, weld::Button &, void)
 
 DECL_LINK (CancelHdl_Impl, weld::Button &, void)
 
 DECL_STATIC_LINK (SwSendMailDialog, StartSendMails, void *, void)
 
 DECL_STATIC_LINK (SwSendMailDialog, StopSendMails, void *, void)
 
 DECL_LINK (RemoveThis, Timer *, void)
 
void IterateMails ()
 
void SendMails ()
 
void UpdateTransferStatus ()
 

Private Attributes

OUString m_sContinue
 
OUString m_sStop
 
OUString m_sClose
 
OUString m_sTransferStatus
 
OUString m_sErrorStatus
 
OUString m_sSendingTo
 
OUString m_sCompleted
 
OUString m_sFailed
 
OUString m_sAddressInvalid
 
bool m_bCancel
 
bool m_bDestructionEnabled
 
std::unique_ptr< SwSendMailDialog_Implm_pImpl
 
SwMailMergeConfigItemm_pConfigItem
 
sal_Int32 m_nExpectedCount
 
sal_Int32 m_nProcessedCount
 
sal_Int32 m_nErrorCount
 
std::unique_ptr< weld::Labelm_xTransferStatus
 
std::unique_ptr< weld::Labelm_xPaused
 
std::unique_ptr< weld::ProgressBarm_xProgressBar
 
std::unique_ptr< weld::Labelm_xErrorStatus
 
std::unique_ptr< weld::TreeViewm_xStatus
 
std::unique_ptr< weld::Buttonm_xStop
 
std::unique_ptr< weld::Buttonm_xCancel
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 135 of file mmresultdialogs.hxx.

Constructor & Destructor Documentation

◆ SwSendMailDialog()

SwSendMailDialog::SwSendMailDialog ( weld::Window pParent,
SwMailMergeConfigItem rConfigItem 
)

◆ ~SwSendMailDialog()

SwSendMailDialog::~SwSendMailDialog ( )
overridevirtual

Definition at line 250 of file mmoutputtypepage.cxx.

References m_pImpl.

Member Function Documentation

◆ AddDocument()

void SwSendMailDialog::AddDocument ( SwMailDescriptor const &  rDesc)

Definition at line 275 of file mmoutputtypepage.cxx.

References IterateMails(), and m_pImpl.

◆ AllMailsSent()

void SwSendMailDialog::AllMailsSent ( )

◆ DECL_LINK() [1/3]

SwSendMailDialog::DECL_LINK ( CancelHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/3]

SwSendMailDialog::DECL_LINK ( RemoveThis  ,
Timer ,
void   
)
private

◆ DECL_LINK() [3/3]

SwSendMailDialog::DECL_LINK ( StopHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_STATIC_LINK() [1/2]

SwSendMailDialog::DECL_STATIC_LINK ( SwSendMailDialog  ,
StartSendMails  ,
void *  ,
void   
)
private

◆ DECL_STATIC_LINK() [2/2]

SwSendMailDialog::DECL_STATIC_LINK ( SwSendMailDialog  ,
StopSendMails  ,
void *  ,
void   
)
private

◆ DocumentSent()

void SwSendMailDialog::DocumentSent ( css::uno::Reference< css::mail::XMailMessage > const &  xMessage,
bool  bResult,
const OUString *  pError 
)

◆ EnableDestruction()

void SwSendMailDialog::EnableDestruction ( )
inline

Definition at line 179 of file mmresultdialogs.hxx.

References m_bDestructionEnabled.

◆ IterateMails()

void SwSendMailDialog::IterateMails ( )
private

◆ SendMails()

void SwSendMailDialog::SendMails ( )
private

◆ StartSend()

void SwSendMailDialog::StartSend ( sal_Int32  nExpectedCount)

Definition at line 459 of file mmoutputtypepage.cxx.

References LINK, m_nExpectedCount, and Application::PostUserEvent().

◆ UpdateTransferStatus()

void SwSendMailDialog::UpdateTransferStatus ( )
private

Member Data Documentation

◆ m_bCancel

bool SwSendMailDialog::m_bCancel
private

Definition at line 147 of file mmresultdialogs.hxx.

Referenced by SendMails().

◆ m_bDestructionEnabled

bool SwSendMailDialog::m_bDestructionEnabled
private

Definition at line 148 of file mmresultdialogs.hxx.

Referenced by EnableDestruction().

◆ m_nErrorCount

sal_Int32 SwSendMailDialog::m_nErrorCount
private

◆ m_nExpectedCount

sal_Int32 SwSendMailDialog::m_nExpectedCount
private

Definition at line 152 of file mmresultdialogs.hxx.

Referenced by AllMailsSent(), DocumentSent(), StartSend(), and UpdateTransferStatus().

◆ m_nProcessedCount

sal_Int32 SwSendMailDialog::m_nProcessedCount
private

◆ m_pConfigItem

SwMailMergeConfigItem* SwSendMailDialog::m_pConfigItem
private

Definition at line 151 of file mmresultdialogs.hxx.

Referenced by IterateMails(), and SendMails().

◆ m_pImpl

std::unique_ptr<SwSendMailDialog_Impl> SwSendMailDialog::m_pImpl
private

◆ m_sAddressInvalid

OUString SwSendMailDialog::m_sAddressInvalid
private

Definition at line 145 of file mmresultdialogs.hxx.

Referenced by IterateMails().

◆ m_sClose

OUString SwSendMailDialog::m_sClose
private

Definition at line 139 of file mmresultdialogs.hxx.

Referenced by AllMailsSent().

◆ m_sCompleted

OUString SwSendMailDialog::m_sCompleted
private

Definition at line 143 of file mmresultdialogs.hxx.

Referenced by DocumentSent().

◆ m_sContinue

OUString SwSendMailDialog::m_sContinue
private

Definition at line 137 of file mmresultdialogs.hxx.

Referenced by IMPL_STATIC_LINK().

◆ m_sErrorStatus

OUString SwSendMailDialog::m_sErrorStatus
private

Definition at line 141 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog(), and UpdateTransferStatus().

◆ m_sFailed

OUString SwSendMailDialog::m_sFailed
private

Definition at line 144 of file mmresultdialogs.hxx.

Referenced by DocumentSent().

◆ m_sSendingTo

OUString SwSendMailDialog::m_sSendingTo
private

Definition at line 142 of file mmresultdialogs.hxx.

Referenced by DocumentSent(), and IterateMails().

◆ m_sStop

OUString SwSendMailDialog::m_sStop
private

Definition at line 138 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog().

◆ m_sTransferStatus

OUString SwSendMailDialog::m_sTransferStatus
private

Definition at line 140 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog(), and UpdateTransferStatus().

◆ m_xCancel

std::unique_ptr<weld::Button> SwSendMailDialog::m_xCancel
private

Definition at line 162 of file mmresultdialogs.hxx.

Referenced by AllMailsSent(), and SwSendMailDialog().

◆ m_xErrorStatus

std::unique_ptr<weld::Label> SwSendMailDialog::m_xErrorStatus
private

Definition at line 159 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog(), and UpdateTransferStatus().

◆ m_xPaused

std::unique_ptr<weld::Label> SwSendMailDialog::m_xPaused
private

Definition at line 157 of file mmresultdialogs.hxx.

Referenced by IMPL_STATIC_LINK(), and SwSendMailDialog().

◆ m_xProgressBar

std::unique_ptr<weld::ProgressBar> SwSendMailDialog::m_xProgressBar
private

Definition at line 158 of file mmresultdialogs.hxx.

Referenced by UpdateTransferStatus().

◆ m_xStatus

std::unique_ptr<weld::TreeView> SwSendMailDialog::m_xStatus
private

Definition at line 160 of file mmresultdialogs.hxx.

Referenced by DocumentSent(), IterateMails(), and SwSendMailDialog().

◆ m_xStop

std::unique_ptr<weld::Button> SwSendMailDialog::m_xStop
private

Definition at line 161 of file mmresultdialogs.hxx.

Referenced by AllMailsSent(), IMPL_STATIC_LINK(), and SwSendMailDialog().

◆ m_xTransferStatus

std::unique_ptr<weld::Label> SwSendMailDialog::m_xTransferStatus
private

Definition at line 156 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog(), and UpdateTransferStatus().


The documentation for this class was generated from the following files: