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

#include <mailmrge.hxx>

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

Public Member Functions

 SwMailMergeDlg (weld::Window *pParent, SwWrtShell &rSh, const OUString &rSourceName, const OUString &rTableName, sal_Int32 nCommandType, const css::uno::Reference< css::sdbc::XConnection > &xConnection, css::uno::Sequence< css::uno::Any > const *pSelection)
 
virtual ~SwMailMergeDlg () override
 
DBManagerOptions GetMergeType () const
 
bool IsSaveSingleDoc () const
 
bool IsGenerateFromDataBase () const
 
bool IsFileEncryptedFromDataBase () const
 
OUString GetColumnName () const
 
OUString GetPasswordColumnName () const
 
OUString GetTargetURL () const
 
const OUString & GetSaveFilter () const
 
const css::uno::Sequence< css::uno::Any > & GetSelection () const
 
css::uno::Reference< css::sdbc::XResultSet > GetResultSet () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

Private Member Functions

 DECL_LINK (ButtonHdl, weld::Button &, void)
 
 DECL_LINK (InsertPathHdl, weld::Button &, void)
 
 DECL_LINK (OutputTypeHdl, weld::Toggleable &, void)
 
 DECL_LINK (FilenameHdl, weld::Toggleable &, void)
 
 DECL_LINK (ModifyHdl, weld::SpinButton &, void)
 
 DECL_LINK (SaveTypeHdl, weld::Toggleable &, void)
 
 DECL_LINK (FileFormatHdl, weld::ComboBox &, void)
 
bool ExecQryShell ()
 
bool AskUserFilename () const
 
OUString GetURLfromPath () const
 

Private Attributes

std::unique_ptr< SwMailMergeDlg_Implm_pImpl
 
SwWrtShellm_rSh
 
SwModuleOptionsm_pModOpt
 
DBManagerOptions m_nMergeType
 
css::uno::Sequence< css::uno::Any > m_aSelection
 
css::uno::Reference< css::frame::XFrame2 > m_xFrame
 
OUString m_sSaveFilter
 
OUString m_sFilename
 
std::unique_ptr< weld::Containerm_xBeamerWin
 
std::unique_ptr< weld::RadioButtonm_xAllRB
 
std::unique_ptr< weld::RadioButtonm_xMarkedRB
 
std::unique_ptr< weld::RadioButtonm_xFromRB
 
std::unique_ptr< weld::SpinButtonm_xFromNF
 
std::unique_ptr< weld::SpinButtonm_xToNF
 
std::unique_ptr< weld::RadioButtonm_xPrinterRB
 
std::unique_ptr< weld::RadioButtonm_xMailingRB
 
std::unique_ptr< weld::RadioButtonm_xFileRB
 
std::unique_ptr< weld::CheckButtonm_xSingleJobsCB
 
std::unique_ptr< weld::CheckButtonm_xPasswordCB
 
std::unique_ptr< weld::Labelm_xSaveMergedDocumentFT
 
std::unique_ptr< weld::RadioButtonm_xSaveSingleDocRB
 
std::unique_ptr< weld::RadioButtonm_xSaveIndividualRB
 
std::unique_ptr< weld::CheckButtonm_xGenerateFromDataBaseCB
 
std::unique_ptr< weld::Labelm_xColumnFT
 
std::unique_ptr< weld::ComboBoxm_xColumnLB
 
std::unique_ptr< weld::Labelm_xPasswordFT
 
std::unique_ptr< weld::ComboBoxm_xPasswordLB
 
std::unique_ptr< weld::Labelm_xPathFT
 
std::unique_ptr< weld::Entrym_xPathED
 
std::unique_ptr< weld::Buttonm_xPathPB
 
std::unique_ptr< weld::Labelm_xFilterFT
 
std::unique_ptr< weld::ComboBoxm_xFilterLB
 
std::unique_ptr< weld::ComboBoxm_xAddressFieldLB
 
std::unique_ptr< weld::Labelm_xSubjectFT
 
std::unique_ptr< weld::Entrym_xSubjectED
 
std::unique_ptr< weld::Labelm_xFormatFT
 
std::unique_ptr< weld::Labelm_xAttachFT
 
std::unique_ptr< weld::Entrym_xAttachED
 
std::unique_ptr< weld::Buttonm_xAttachPB
 
std::unique_ptr< weld::CheckButtonm_xFormatHtmlCB
 
std::unique_ptr< weld::CheckButtonm_xFormatRtfCB
 
std::unique_ptr< weld::CheckButtonm_xFormatSwCB
 
std::unique_ptr< weld::Buttonm_xOkBTN
 

Friends

class SwXSelChgLstnr_Impl
 

Detailed Description

Definition at line 44 of file mailmrge.hxx.

Constructor & Destructor Documentation

◆ SwMailMergeDlg()

SwMailMergeDlg::SwMailMergeDlg ( weld::Window pParent,
SwWrtShell rSh,
const OUString &  rSourceName,
const OUString &  rTableName,
sal_Int32  nCommandType,
const css::uno::Reference< css::sdbc::XConnection > &  xConnection,
css::uno::Sequence< css::uno::Any > const *  pSelection 
)

◆ ~SwMailMergeDlg()

SwMailMergeDlg::~SwMailMergeDlg ( )
overridevirtual

Definition at line 343 of file mailmrge.cxx.

References m_xFrame.

Member Function Documentation

◆ AskUserFilename()

bool SwMailMergeDlg::AskUserFilename ( ) const
private

Definition at line 455 of file mailmrge.cxx.

References m_xGenerateFromDataBaseCB, and m_xSaveSingleDocRB.

Referenced by ExecQryShell(), and GetTargetURL().

◆ DECL_LINK() [1/7]

SwMailMergeDlg::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/7]

SwMailMergeDlg::DECL_LINK ( FileFormatHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/7]

SwMailMergeDlg::DECL_LINK ( FilenameHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/7]

SwMailMergeDlg::DECL_LINK ( InsertPathHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/7]

SwMailMergeDlg::DECL_LINK ( ModifyHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [6/7]

SwMailMergeDlg::DECL_LINK ( OutputTypeHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [7/7]

SwMailMergeDlg::DECL_LINK ( SaveTypeHdl  ,
weld::Toggleable ,
void   
)
private

◆ ExecQryShell()

bool SwMailMergeDlg::ExecQryShell ( )
private

◆ GetColumnName()

OUString SwMailMergeDlg::GetColumnName ( ) const
inline

Definition at line 130 of file mailmrge.hxx.

References m_xColumnLB.

◆ GetMergeType()

DBManagerOptions SwMailMergeDlg::GetMergeType ( ) const
inline

Definition at line 125 of file mailmrge.hxx.

References m_nMergeType.

◆ GetPasswordColumnName()

OUString SwMailMergeDlg::GetPasswordColumnName ( ) const
inline

Definition at line 131 of file mailmrge.hxx.

References m_xPasswordLB.

◆ GetResultSet()

uno::Reference< XResultSet > SwMailMergeDlg::GetResultSet ( ) const

Definition at line 584 of file mailmrge.cxx.

References m_pImpl.

Referenced by ExecQryShell().

◆ GetSaveFilter()

const OUString & SwMailMergeDlg::GetSaveFilter ( ) const
inline

Definition at line 134 of file mailmrge.hxx.

References m_sSaveFilter.

◆ GetSelection()

const css::uno::Sequence< css::uno::Any > & SwMailMergeDlg::GetSelection ( ) const
inline

Definition at line 135 of file mailmrge.hxx.

References m_aSelection.

◆ GetTargetURL()

OUString SwMailMergeDlg::GetTargetURL ( ) const

◆ GetURLfromPath()

OUString SwMailMergeDlg::GetURLfromPath ( ) const
private

◆ IsFileEncryptedFromDataBase()

bool SwMailMergeDlg::IsFileEncryptedFromDataBase ( ) const
inline

Definition at line 129 of file mailmrge.hxx.

References m_xPasswordCB.

◆ IsGenerateFromDataBase()

bool SwMailMergeDlg::IsGenerateFromDataBase ( ) const
inline

Definition at line 128 of file mailmrge.hxx.

References m_xGenerateFromDataBaseCB.

◆ IsSaveSingleDoc()

bool SwMailMergeDlg::IsSaveSingleDoc ( ) const
inline

Definition at line 127 of file mailmrge.hxx.

References m_xSaveSingleDocRB.

Friends And Related Function Documentation

◆ SwXSelChgLstnr_Impl

friend class SwXSelChgLstnr_Impl
friend

Definition at line 46 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

Member Data Documentation

◆ m_aSelection

css::uno::Sequence< css::uno::Any > SwMailMergeDlg::m_aSelection
private

◆ m_nMergeType

DBManagerOptions SwMailMergeDlg::m_nMergeType
private

Definition at line 53 of file mailmrge.hxx.

Referenced by ExecQryShell(), and GetMergeType().

◆ m_pImpl

std::unique_ptr<SwMailMergeDlg_Impl> SwMailMergeDlg::m_pImpl
private

◆ m_pModOpt

SwModuleOptions* SwMailMergeDlg::m_pModOpt
private

Definition at line 51 of file mailmrge.hxx.

Referenced by ExecQryShell(), GetTargetURL(), and SwMailMergeDlg().

◆ m_rSh

SwWrtShell& SwMailMergeDlg::m_rSh
private

Definition at line 50 of file mailmrge.hxx.

Referenced by ExecQryShell(), GetURLfromPath(), and SwMailMergeDlg().

◆ m_sFilename

OUString SwMailMergeDlg::m_sFilename
private

Definition at line 58 of file mailmrge.hxx.

Referenced by ExecQryShell(), and GetTargetURL().

◆ m_sSaveFilter

OUString SwMailMergeDlg::m_sSaveFilter
private

Definition at line 57 of file mailmrge.hxx.

Referenced by ExecQryShell(), and GetSaveFilter().

◆ m_xAddressFieldLB

std::unique_ptr<weld::ComboBox> SwMailMergeDlg::m_xAddressFieldLB
private

Definition at line 91 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xAllRB

std::unique_ptr<weld::RadioButton> SwMailMergeDlg::m_xAllRB
private

◆ m_xAttachED

std::unique_ptr<weld::Entry> SwMailMergeDlg::m_xAttachED
private

Definition at line 96 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xAttachFT

std::unique_ptr<weld::Label> SwMailMergeDlg::m_xAttachFT
private

Definition at line 95 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xAttachPB

std::unique_ptr<weld::Button> SwMailMergeDlg::m_xAttachPB
private

Definition at line 97 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xBeamerWin

std::unique_ptr<weld::Container> SwMailMergeDlg::m_xBeamerWin
private

Definition at line 60 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xColumnFT

std::unique_ptr<weld::Label> SwMailMergeDlg::m_xColumnFT
private

Definition at line 81 of file mailmrge.hxx.

◆ m_xColumnLB

std::unique_ptr<weld::ComboBox> SwMailMergeDlg::m_xColumnLB
private

Definition at line 82 of file mailmrge.hxx.

Referenced by ExecQryShell(), GetColumnName(), and SwMailMergeDlg().

◆ m_xFileRB

std::unique_ptr<weld::RadioButton> SwMailMergeDlg::m_xFileRB
private

Definition at line 70 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xFilterFT

std::unique_ptr<weld::Label> SwMailMergeDlg::m_xFilterFT
private

Definition at line 88 of file mailmrge.hxx.

◆ m_xFilterLB

std::unique_ptr<weld::ComboBox> SwMailMergeDlg::m_xFilterLB
private

Definition at line 89 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

◆ m_xFormatFT

std::unique_ptr<weld::Label> SwMailMergeDlg::m_xFormatFT
private

Definition at line 94 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xFormatHtmlCB

std::unique_ptr<weld::CheckButton> SwMailMergeDlg::m_xFormatHtmlCB
private

Definition at line 98 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

◆ m_xFormatRtfCB

std::unique_ptr<weld::CheckButton> SwMailMergeDlg::m_xFormatRtfCB
private

Definition at line 99 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

◆ m_xFormatSwCB

std::unique_ptr<weld::CheckButton> SwMailMergeDlg::m_xFormatSwCB
private

Definition at line 100 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

◆ m_xFrame

css::uno::Reference< css::frame::XFrame2 > SwMailMergeDlg::m_xFrame
private

Definition at line 55 of file mailmrge.hxx.

Referenced by SwMailMergeDlg(), and ~SwMailMergeDlg().

◆ m_xFromNF

std::unique_ptr<weld::SpinButton> SwMailMergeDlg::m_xFromNF
private

Definition at line 65 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

◆ m_xFromRB

std::unique_ptr<weld::RadioButton> SwMailMergeDlg::m_xFromRB
private

Definition at line 64 of file mailmrge.hxx.

Referenced by ExecQryShell().

◆ m_xGenerateFromDataBaseCB

std::unique_ptr<weld::CheckButton> SwMailMergeDlg::m_xGenerateFromDataBaseCB
private

Definition at line 79 of file mailmrge.hxx.

Referenced by AskUserFilename(), ExecQryShell(), IsGenerateFromDataBase(), and SwMailMergeDlg().

◆ m_xMailingRB

std::unique_ptr<weld::RadioButton> SwMailMergeDlg::m_xMailingRB
private

Definition at line 69 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xMarkedRB

std::unique_ptr<weld::RadioButton> SwMailMergeDlg::m_xMarkedRB
private

Definition at line 63 of file mailmrge.hxx.

Referenced by SwXSelChgLstnr_Impl::selectionChanged(), and SwMailMergeDlg().

◆ m_xOkBTN

std::unique_ptr<weld::Button> SwMailMergeDlg::m_xOkBTN
private

Definition at line 102 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xPasswordCB

std::unique_ptr<weld::CheckButton> SwMailMergeDlg::m_xPasswordCB
private

Definition at line 73 of file mailmrge.hxx.

Referenced by ExecQryShell(), IsFileEncryptedFromDataBase(), and SwMailMergeDlg().

◆ m_xPasswordFT

std::unique_ptr<weld::Label> SwMailMergeDlg::m_xPasswordFT
private

Definition at line 83 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xPasswordLB

std::unique_ptr<weld::ComboBox> SwMailMergeDlg::m_xPasswordLB
private

Definition at line 84 of file mailmrge.hxx.

Referenced by ExecQryShell(), GetPasswordColumnName(), and SwMailMergeDlg().

◆ m_xPathED

std::unique_ptr<weld::Entry> SwMailMergeDlg::m_xPathED
private

Definition at line 86 of file mailmrge.hxx.

Referenced by GetURLfromPath(), and SwMailMergeDlg().

◆ m_xPathFT

std::unique_ptr<weld::Label> SwMailMergeDlg::m_xPathFT
private

Definition at line 85 of file mailmrge.hxx.

◆ m_xPathPB

std::unique_ptr<weld::Button> SwMailMergeDlg::m_xPathPB
private

Definition at line 87 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xPrinterRB

std::unique_ptr<weld::RadioButton> SwMailMergeDlg::m_xPrinterRB
private

Definition at line 68 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

◆ m_xSaveIndividualRB

std::unique_ptr<weld::RadioButton> SwMailMergeDlg::m_xSaveIndividualRB
private

Definition at line 77 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xSaveMergedDocumentFT

std::unique_ptr<weld::Label> SwMailMergeDlg::m_xSaveMergedDocumentFT
private

Definition at line 75 of file mailmrge.hxx.

◆ m_xSaveSingleDocRB

std::unique_ptr<weld::RadioButton> SwMailMergeDlg::m_xSaveSingleDocRB
private

Definition at line 76 of file mailmrge.hxx.

Referenced by AskUserFilename(), IsSaveSingleDoc(), and SwMailMergeDlg().

◆ m_xSingleJobsCB

std::unique_ptr<weld::CheckButton> SwMailMergeDlg::m_xSingleJobsCB
private

Definition at line 72 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

◆ m_xSubjectED

std::unique_ptr<weld::Entry> SwMailMergeDlg::m_xSubjectED
private

Definition at line 93 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xSubjectFT

std::unique_ptr<weld::Label> SwMailMergeDlg::m_xSubjectFT
private

Definition at line 92 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

◆ m_xToNF

std::unique_ptr<weld::SpinButton> SwMailMergeDlg::m_xToNF
private

Definition at line 66 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().


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