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

#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)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
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 (CloseHdl_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_sTransferStatus
 
OUString m_sErrorStatus
 
OUString m_sSendingTo
 
OUString m_sCompleted
 
OUString m_sFailed
 
bool m_bCancel
 
bool m_bDestructionEnabled
 
std::unique_ptr< SwSendMailDialog_Implm_pImpl
 
SwMailMergeConfigItem *const m_pConfigItem
 
sal_Int32 m_nExpectedCount
 
sal_Int32 m_nSendCount
 
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_xClose
 
std::unique_ptr< weld::Expanderm_xExpander
 

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 138 of file mmresultdialogs.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

void SwSendMailDialog::AddDocument ( SwMailDescriptor const &  rDesc)

Definition at line 262 of file mmoutputtypepage.cxx.

References IterateMails(), and m_pImpl.

void SwSendMailDialog::AllMailsSent ( )
SwSendMailDialog::DECL_LINK ( StopHdl_Impl  ,
weld::Button ,
void   
)
private
SwSendMailDialog::DECL_LINK ( CloseHdl_Impl  ,
weld::Button ,
void   
)
private
SwSendMailDialog::DECL_LINK ( RemoveThis  ,
Timer ,
void   
)
private
SwSendMailDialog::DECL_STATIC_LINK ( SwSendMailDialog  ,
StartSendMails  ,
void ,
void   
)
private
SwSendMailDialog::DECL_STATIC_LINK ( SwSendMailDialog  ,
StopSendMails  ,
void ,
void   
)
private
void SwSendMailDialog::DocumentSent ( css::uno::Reference< css::mail::XMailMessage > const &  xMessage,
bool  bResult,
const OUString *  pError 
)
void SwSendMailDialog::EnableDestruction ( )
inline

Definition at line 181 of file mmresultdialogs.hxx.

void SwSendMailDialog::IterateMails ( )
private
void SwSendMailDialog::SendMails ( )
private
void SwSendMailDialog::StartSend ( sal_Int32  nExpectedCount)

Definition at line 447 of file mmoutputtypepage.cxx.

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

void SwSendMailDialog::UpdateTransferStatus ( )
private

Member Data Documentation

bool SwSendMailDialog::m_bCancel
private

Definition at line 148 of file mmresultdialogs.hxx.

Referenced by SendMails().

bool SwSendMailDialog::m_bDestructionEnabled
private

Definition at line 149 of file mmresultdialogs.hxx.

sal_Int32 SwSendMailDialog::m_nErrorCount
private

Definition at line 155 of file mmresultdialogs.hxx.

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

sal_Int32 SwSendMailDialog::m_nExpectedCount
private

Definition at line 153 of file mmresultdialogs.hxx.

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

sal_Int32 SwSendMailDialog::m_nSendCount
private
SwMailMergeConfigItem* const SwSendMailDialog::m_pConfigItem
private

Definition at line 152 of file mmresultdialogs.hxx.

Referenced by IterateMails(), and SendMails().

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

Definition at line 145 of file mmresultdialogs.hxx.

Referenced by DocumentSent().

OUString SwSendMailDialog::m_sContinue
private

Definition at line 140 of file mmresultdialogs.hxx.

Referenced by IMPL_STATIC_LINK().

OUString SwSendMailDialog::m_sErrorStatus
private

Definition at line 143 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog(), and UpdateTransferStatus().

OUString SwSendMailDialog::m_sFailed
private

Definition at line 146 of file mmresultdialogs.hxx.

Referenced by DocumentSent(), and IterateMails().

OUString SwSendMailDialog::m_sSendingTo
private

Definition at line 144 of file mmresultdialogs.hxx.

Referenced by DocumentSent(), and IterateMails().

OUString SwSendMailDialog::m_sStop
private

Definition at line 141 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog().

OUString SwSendMailDialog::m_sTransferStatus
private

Definition at line 142 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog(), and UpdateTransferStatus().

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

Definition at line 163 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog().

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

Definition at line 160 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog(), and UpdateTransferStatus().

std::unique_ptr<weld::Expander> SwSendMailDialog::m_xExpander
private

Definition at line 164 of file mmresultdialogs.hxx.

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

Definition at line 158 of file mmresultdialogs.hxx.

Referenced by IMPL_STATIC_LINK(), and SwSendMailDialog().

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

Definition at line 159 of file mmresultdialogs.hxx.

Referenced by UpdateTransferStatus().

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

Definition at line 161 of file mmresultdialogs.hxx.

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

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

Definition at line 162 of file mmresultdialogs.hxx.

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

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

Definition at line 157 of file mmresultdialogs.hxx.

Referenced by SwSendMailDialog(), and UpdateTransferStatus().


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