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

#include <mmaddressblockpage.hxx>

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

Public Member Functions

 SwSelectAddressBlockDialog (weld::Window *pParent, SwMailMergeConfigItem &rConfig)
 
virtual ~SwSelectAddressBlockDialog () override
 
void SetAddressBlocks (const css::uno::Sequence< OUString > &rBlocks, sal_uInt16 nSelected)
 
const css::uno::Sequence< OUString > & GetAddressBlocks ()
 
void SetSettings (bool bIsCountry, const OUString &sCountry)
 
bool IsIncludeCountry () const
 
OUString GetCountry () 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 (NewCustomizeHdl_Impl, weld::Button &, void)
 
 DECL_LINK (DeleteHdl_Impl, weld::Button &, void)
 
 DECL_LINK (IncludeHdl_Impl, weld::Toggleable &, void)
 

Private Attributes

css::uno::Sequence< OUString > m_aAddressBlocks
 
SwMailMergeConfigItemm_rConfig
 
std::unique_ptr< SwAddressPreviewm_xPreview
 
std::unique_ptr< weld::Buttonm_xNewPB
 
std::unique_ptr< weld::Buttonm_xCustomizePB
 
std::unique_ptr< weld::Buttonm_xDeletePB
 
std::unique_ptr< weld::RadioButtonm_xNeverRB
 
std::unique_ptr< weld::RadioButtonm_xAlwaysRB
 
std::unique_ptr< weld::RadioButtonm_xDependentRB
 
std::unique_ptr< weld::Entrym_xCountryED
 
std::unique_ptr< weld::CustomWeldm_xPreviewWin
 

Detailed Description

Definition at line 89 of file mmaddressblockpage.hxx.

Constructor & Destructor Documentation

◆ SwSelectAddressBlockDialog()

SwSelectAddressBlockDialog::SwSelectAddressBlockDialog ( weld::Window pParent,
SwMailMergeConfigItem rConfig 
)

◆ ~SwSelectAddressBlockDialog()

SwSelectAddressBlockDialog::~SwSelectAddressBlockDialog ( )
overridevirtual

Definition at line 346 of file mmaddressblockpage.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

SwSelectAddressBlockDialog::DECL_LINK ( DeleteHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/3]

SwSelectAddressBlockDialog::DECL_LINK ( IncludeHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/3]

SwSelectAddressBlockDialog::DECL_LINK ( NewCustomizeHdl_Impl  ,
weld::Button ,
void   
)
private

◆ GetAddressBlocks()

const uno::Sequence< OUString > & SwSelectAddressBlockDialog::GetAddressBlocks ( )

Definition at line 360 of file mmaddressblockpage.cxx.

References m_aAddressBlocks, and m_xPreview.

Referenced by IMPL_LINK_NOARG().

◆ GetCountry()

OUString SwSelectAddressBlockDialog::GetCountry ( ) const

Definition at line 390 of file mmaddressblockpage.cxx.

References m_xCountryED, and m_xDependentRB.

Referenced by IMPL_LINK_NOARG().

◆ IsIncludeCountry()

bool SwSelectAddressBlockDialog::IsIncludeCountry ( ) const
inline

Definition at line 117 of file mmaddressblockpage.hxx.

References m_xNeverRB.

Referenced by IMPL_LINK_NOARG().

◆ SetAddressBlocks()

void SwSelectAddressBlockDialog::SetAddressBlocks ( const css::uno::Sequence< OUString > &  rBlocks,
sal_uInt16  nSelected 
)

Definition at line 350 of file mmaddressblockpage.cxx.

References m_aAddressBlocks, and m_xPreview.

Referenced by IMPL_LINK_NOARG().

◆ SetSettings()

void SwSelectAddressBlockDialog::SetSettings ( bool  bIsCountry,
const OUString &  sCountry 
)

Member Data Documentation

◆ m_aAddressBlocks

css::uno::Sequence< OUString> SwSelectAddressBlockDialog::m_aAddressBlocks
private

Definition at line 91 of file mmaddressblockpage.hxx.

Referenced by GetAddressBlocks(), SetAddressBlocks(), and SetSettings().

◆ m_rConfig

SwMailMergeConfigItem& SwSelectAddressBlockDialog::m_rConfig
private

Definition at line 92 of file mmaddressblockpage.hxx.

◆ m_xAlwaysRB

std::unique_ptr<weld::RadioButton> SwSelectAddressBlockDialog::m_xAlwaysRB
private

Definition at line 99 of file mmaddressblockpage.hxx.

Referenced by SetSettings(), and SwSelectAddressBlockDialog().

◆ m_xCountryED

std::unique_ptr<weld::Entry> SwSelectAddressBlockDialog::m_xCountryED
private

Definition at line 101 of file mmaddressblockpage.hxx.

Referenced by GetCountry(), SetSettings(), and SwSelectAddressBlockDialog().

◆ m_xCustomizePB

std::unique_ptr<weld::Button> SwSelectAddressBlockDialog::m_xCustomizePB
private

Definition at line 96 of file mmaddressblockpage.hxx.

Referenced by SwSelectAddressBlockDialog().

◆ m_xDeletePB

std::unique_ptr<weld::Button> SwSelectAddressBlockDialog::m_xDeletePB
private

Definition at line 97 of file mmaddressblockpage.hxx.

Referenced by SetSettings(), and SwSelectAddressBlockDialog().

◆ m_xDependentRB

std::unique_ptr<weld::RadioButton> SwSelectAddressBlockDialog::m_xDependentRB
private

Definition at line 100 of file mmaddressblockpage.hxx.

Referenced by GetCountry(), SetSettings(), and SwSelectAddressBlockDialog().

◆ m_xNeverRB

std::unique_ptr<weld::RadioButton> SwSelectAddressBlockDialog::m_xNeverRB
private

◆ m_xNewPB

std::unique_ptr<weld::Button> SwSelectAddressBlockDialog::m_xNewPB
private

Definition at line 95 of file mmaddressblockpage.hxx.

Referenced by SwSelectAddressBlockDialog().

◆ m_xPreview

std::unique_ptr<SwAddressPreview> SwSelectAddressBlockDialog::m_xPreview
private

◆ m_xPreviewWin

std::unique_ptr<weld::CustomWeld> SwSelectAddressBlockDialog::m_xPreviewWin
private

Definition at line 102 of file mmaddressblockpage.hxx.

Referenced by SwSelectAddressBlockDialog().


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