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

#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
 
OUString GetColumnName () 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 OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Member Functions

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

Private Attributes

std::unique_ptr< SwMailMergeDlg_ImplpImpl
 
SwWrtShellrSh
 
SwModuleOptionspModOpt
 
DBManagerOptions 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::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_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 ( 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 ( )
overridevirtual

Definition at line 333 of file mailmrge.cxx.

References m_xFrame.

Member Function Documentation

bool SwMailMergeDlg::AskUserFilename ( ) const
private

Definition at line 405 of file mailmrge.cxx.

References m_xGenerateFromDataBaseCB, and m_xSaveSingleDocRB.

Referenced by ExecQryShell(), and GetTargetURL().

SwMailMergeDlg::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private
SwMailMergeDlg::DECL_LINK ( InsertPathHdl  ,
weld::Button ,
void   
)
private
SwMailMergeDlg::DECL_LINK ( OutputTypeHdl  ,
weld::ToggleButton ,
void   
)
private
SwMailMergeDlg::DECL_LINK ( FilenameHdl  ,
weld::ToggleButton ,
void   
)
private
SwMailMergeDlg::DECL_LINK ( ModifyHdl  ,
weld::SpinButton ,
void   
)
private
SwMailMergeDlg::DECL_LINK ( SaveTypeHdl  ,
weld::ToggleButton ,
void   
)
private
bool SwMailMergeDlg::ExecQryShell ( )
private
OUString SwMailMergeDlg::GetColumnName ( ) const
inline

Definition at line 125 of file mailmrge.hxx.

DBManagerOptions SwMailMergeDlg::GetMergeType ( ) const
inline

Definition at line 121 of file mailmrge.hxx.

References nMergeType.

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

Definition at line 530 of file mailmrge.cxx.

References pImpl.

Referenced by ExecQryShell().

const OUString& SwMailMergeDlg::GetSaveFilter ( ) const
inline

Definition at line 128 of file mailmrge.hxx.

References m_sSaveFilter.

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

Definition at line 129 of file mailmrge.hxx.

References m_aSelection.

OUString SwMailMergeDlg::GetTargetURL ( ) const
OUString SwMailMergeDlg::GetURLfromPath ( ) const
private
bool SwMailMergeDlg::IsGenerateFromDataBase ( ) const
inline

Definition at line 124 of file mailmrge.hxx.

bool SwMailMergeDlg::IsSaveSingleDoc ( ) const
inline

Definition at line 123 of file mailmrge.hxx.

Friends And Related Function Documentation

friend class SwXSelChgLstnr_Impl
friend

Definition at line 46 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

Member Data Documentation

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

Definition at line 58 of file mailmrge.hxx.

Referenced by ExecQryShell(), and GetTargetURL().

OUString SwMailMergeDlg::m_sSaveFilter
private

Definition at line 57 of file mailmrge.hxx.

Referenced by ExecQryShell(), and GetSaveFilter().

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

Definition at line 88 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 93 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 92 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 94 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 60 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 80 of file mailmrge.hxx.

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

Definition at line 81 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

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

Definition at line 70 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 85 of file mailmrge.hxx.

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

Definition at line 86 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

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

Definition at line 91 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 95 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

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

Definition at line 96 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

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

Definition at line 97 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

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

Definition at line 55 of file mailmrge.hxx.

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

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

Definition at line 65 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

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

Definition at line 64 of file mailmrge.hxx.

Referenced by ExecQryShell().

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

Definition at line 78 of file mailmrge.hxx.

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

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

Definition at line 69 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 63 of file mailmrge.hxx.

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

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

Definition at line 99 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 83 of file mailmrge.hxx.

Referenced by GetURLfromPath(), and SwMailMergeDlg().

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

Definition at line 82 of file mailmrge.hxx.

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

Definition at line 84 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 68 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

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

Definition at line 76 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 74 of file mailmrge.hxx.

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

Definition at line 75 of file mailmrge.hxx.

Referenced by AskUserFilename(), and SwMailMergeDlg().

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

Definition at line 72 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

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

Definition at line 90 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 89 of file mailmrge.hxx.

Referenced by SwMailMergeDlg().

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

Definition at line 66 of file mailmrge.hxx.

Referenced by ExecQryShell(), and SwMailMergeDlg().

DBManagerOptions SwMailMergeDlg::nMergeType
private

Definition at line 53 of file mailmrge.hxx.

Referenced by ExecQryShell(), and GetMergeType().

std::unique_ptr<SwMailMergeDlg_Impl> SwMailMergeDlg::pImpl
private
SwModuleOptions* SwMailMergeDlg::pModOpt
private

Definition at line 51 of file mailmrge.hxx.

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

SwWrtShell& SwMailMergeDlg::rSh
private

Definition at line 50 of file mailmrge.hxx.

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


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