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

#include <mmaddressblockpage.hxx>

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

Public Types

enum  DialogType {
  ADDRESSBLOCK_NEW ,
  ADDRESSBLOCK_EDIT ,
  GREETING_FEMALE ,
  GREETING_MALE
}
 

Public Member Functions

 SwCustomizeAddressBlockDialog (weld::Widget *pParent, SwMailMergeConfigItem &rConfig, DialogType)
 
virtual ~SwCustomizeAddressBlockDialog () override
 
bool SetCursorLogicPosition (const Point &rPosition)
 
void UpdateFields ()
 
weld::TreeViewget_drag_source () const
 
bool HasItem (sal_Int32 nUserData)
 
void SetAddress (const OUString &rAddress)
 
OUString GetAddress () 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 (OKHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ListBoxSelectHdl_Impl, weld::TreeView &, void)
 
 DECL_LINK (EditModifyHdl_Impl, AddressMultiLineEdit &, void)
 
 DECL_LINK (ImageButtonHdl_Impl, weld::Button &, void)
 
 DECL_LINK (SelectionChangedHdl_Impl, bool, void)
 
 DECL_LINK (FieldChangeComboBoxHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (TextFilterHdl, OUString &, bool)
 
 DECL_LINK (SelectionChangedIdleHdl, Timer *, void)
 
sal_Int32 GetSelectedItem_Impl () const
 
void UpdateImageButtons_Impl ()
 

Private Attributes

TextFilter m_aTextFilter
 
std::vector< OUString > m_aSalutations
 
std::vector< OUString > m_aPunctuations
 
OUString m_sCurrentSalutation
 
OUString m_sCurrentPunctuation
 
OUString m_sCurrentText
 
SwMailMergeConfigItemm_rConfigItem
 
DialogType m_eType
 
Idle m_aSelectionChangedIdle
 
std::unique_ptr< weld::Labelm_xAddressElementsFT
 
std::unique_ptr< weld::TreeViewm_xAddressElementsLB
 
std::unique_ptr< weld::Buttonm_xInsertFieldIB
 
std::unique_ptr< weld::Buttonm_xRemoveFieldIB
 
std::unique_ptr< weld::Labelm_xDragFT
 
std::unique_ptr< weld::Buttonm_xUpIB
 
std::unique_ptr< weld::Buttonm_xLeftIB
 
std::unique_ptr< weld::Buttonm_xRightIB
 
std::unique_ptr< weld::Buttonm_xDownIB
 
std::unique_ptr< weld::Labelm_xFieldFT
 
std::unique_ptr< weld::ComboBoxm_xFieldCB
 
std::unique_ptr< weld::Buttonm_xOK
 
std::unique_ptr< SwAddressPreviewm_xPreview
 
std::unique_ptr< weld::CustomWeldm_xPreviewWIN
 
std::unique_ptr< AddressMultiLineEditm_xDragED
 
std::unique_ptr< weld::CustomWeldm_xDragWIN
 

Friends

class AddressMultiLineEdit
 

Detailed Description

Definition at line 176 of file mmaddressblockpage.hxx.

Member Enumeration Documentation

◆ DialogType

Enumerator
ADDRESSBLOCK_NEW 
ADDRESSBLOCK_EDIT 
GREETING_FEMALE 
GREETING_MALE 

Definition at line 180 of file mmaddressblockpage.hxx.

Constructor & Destructor Documentation

◆ SwCustomizeAddressBlockDialog()

SwCustomizeAddressBlockDialog::SwCustomizeAddressBlockDialog ( weld::Widget pParent,
SwMailMergeConfigItem rConfig,
DialogType  eType 
)

◆ ~SwCustomizeAddressBlockDialog()

SwCustomizeAddressBlockDialog::~SwCustomizeAddressBlockDialog ( )
overridevirtual

Definition at line 555 of file mmaddressblockpage.cxx.

References m_xDragED.

Member Function Documentation

◆ DECL_LINK() [1/8]

SwCustomizeAddressBlockDialog::DECL_LINK ( EditModifyHdl_Impl  ,
AddressMultiLineEdit ,
void   
)
private

◆ DECL_LINK() [2/8]

SwCustomizeAddressBlockDialog::DECL_LINK ( FieldChangeComboBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/8]

SwCustomizeAddressBlockDialog::DECL_LINK ( ImageButtonHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/8]

SwCustomizeAddressBlockDialog::DECL_LINK ( ListBoxSelectHdl_Impl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [5/8]

SwCustomizeAddressBlockDialog::DECL_LINK ( OKHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/8]

SwCustomizeAddressBlockDialog::DECL_LINK ( SelectionChangedHdl_Impl  ,
bool  ,
void   
)
private

◆ DECL_LINK() [7/8]

SwCustomizeAddressBlockDialog::DECL_LINK ( SelectionChangedIdleHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [8/8]

SwCustomizeAddressBlockDialog::DECL_LINK ( TextFilterHdl  ,
OUString &  ,
bool   
)
private

◆ get_drag_source()

weld::TreeView * SwCustomizeAddressBlockDialog::get_drag_source ( ) const
inline

Definition at line 239 of file mmaddressblockpage.hxx.

References m_xAddressElementsLB.

◆ GetAddress()

OUString SwCustomizeAddressBlockDialog::GetAddress ( ) const

◆ GetSelectedItem_Impl()

sal_Int32 SwCustomizeAddressBlockDialog::GetSelectedItem_Impl ( ) const
private

Definition at line 606 of file mmaddressblockpage.cxx.

References i, m_xAddressElementsLB, m_xDragED, and USER_DATA_NONE.

◆ HasItem()

bool SwCustomizeAddressBlockDialog::HasItem ( sal_Int32  nUserData)

Definition at line 625 of file mmaddressblockpage.cxx.

References i, m_xAddressElementsLB, and m_xDragED.

◆ SetAddress()

void SwCustomizeAddressBlockDialog::SetAddress ( const OUString &  rAddress)

Definition at line 736 of file mmaddressblockpage.cxx.

References m_xDragED, and UpdateImageButtons_Impl().

◆ SetCursorLogicPosition()

bool SwCustomizeAddressBlockDialog::SetCursorLogicPosition ( const Point rPosition)

Definition at line 545 of file mmaddressblockpage.cxx.

References m_xDragED.

◆ UpdateFields()

void SwCustomizeAddressBlockDialog::UpdateFields ( )

Definition at line 550 of file mmaddressblockpage.cxx.

References m_xDragED.

◆ UpdateImageButtons_Impl()

void SwCustomizeAddressBlockDialog::UpdateImageButtons_Impl ( )
private

Friends And Related Function Documentation

◆ AddressMultiLineEdit

friend class AddressMultiLineEdit
friend

Definition at line 178 of file mmaddressblockpage.hxx.

Member Data Documentation

◆ m_aPunctuations

std::vector<OUString> SwCustomizeAddressBlockDialog::m_aPunctuations
private

Definition at line 191 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_aSalutations

std::vector<OUString> SwCustomizeAddressBlockDialog::m_aSalutations
private

Definition at line 190 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_aSelectionChangedIdle

Idle SwCustomizeAddressBlockDialog::m_aSelectionChangedIdle
private

Definition at line 200 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_aTextFilter

TextFilter SwCustomizeAddressBlockDialog::m_aTextFilter
private

Definition at line 188 of file mmaddressblockpage.hxx.

◆ m_eType

DialogType SwCustomizeAddressBlockDialog::m_eType
private

Definition at line 198 of file mmaddressblockpage.hxx.

Referenced by AddressMultiLineEdit::SetText().

◆ m_rConfigItem

SwMailMergeConfigItem& SwCustomizeAddressBlockDialog::m_rConfigItem
private

Definition at line 197 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_sCurrentPunctuation

OUString SwCustomizeAddressBlockDialog::m_sCurrentPunctuation
private

Definition at line 194 of file mmaddressblockpage.hxx.

Referenced by GetAddress().

◆ m_sCurrentSalutation

OUString SwCustomizeAddressBlockDialog::m_sCurrentSalutation
private

Definition at line 193 of file mmaddressblockpage.hxx.

Referenced by GetAddress().

◆ m_sCurrentText

OUString SwCustomizeAddressBlockDialog::m_sCurrentText
private

Definition at line 195 of file mmaddressblockpage.hxx.

Referenced by GetAddress().

◆ m_xAddressElementsFT

std::unique_ptr<weld::Label> SwCustomizeAddressBlockDialog::m_xAddressElementsFT
private

Definition at line 202 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_xAddressElementsLB

std::unique_ptr<weld::TreeView> SwCustomizeAddressBlockDialog::m_xAddressElementsLB
private

◆ m_xDownIB

std::unique_ptr<weld::Button> SwCustomizeAddressBlockDialog::m_xDownIB
private

◆ m_xDragED

std::unique_ptr<AddressMultiLineEdit> SwCustomizeAddressBlockDialog::m_xDragED
private

◆ m_xDragFT

std::unique_ptr<weld::Label> SwCustomizeAddressBlockDialog::m_xDragFT
private

Definition at line 206 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_xDragWIN

std::unique_ptr<weld::CustomWeld> SwCustomizeAddressBlockDialog::m_xDragWIN
private

Definition at line 217 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_xFieldCB

std::unique_ptr<weld::ComboBox> SwCustomizeAddressBlockDialog::m_xFieldCB
private

◆ m_xFieldFT

std::unique_ptr<weld::Label> SwCustomizeAddressBlockDialog::m_xFieldFT
private

Definition at line 211 of file mmaddressblockpage.hxx.

Referenced by GetAddress(), and SwCustomizeAddressBlockDialog().

◆ m_xInsertFieldIB

std::unique_ptr<weld::Button> SwCustomizeAddressBlockDialog::m_xInsertFieldIB
private

◆ m_xLeftIB

std::unique_ptr<weld::Button> SwCustomizeAddressBlockDialog::m_xLeftIB
private

◆ m_xOK

std::unique_ptr<weld::Button> SwCustomizeAddressBlockDialog::m_xOK
private

Definition at line 213 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_xPreview

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

Definition at line 214 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_xPreviewWIN

std::unique_ptr<weld::CustomWeld> SwCustomizeAddressBlockDialog::m_xPreviewWIN
private

Definition at line 215 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

◆ m_xRemoveFieldIB

std::unique_ptr<weld::Button> SwCustomizeAddressBlockDialog::m_xRemoveFieldIB
private

◆ m_xRightIB

std::unique_ptr<weld::Button> SwCustomizeAddressBlockDialog::m_xRightIB
private

◆ m_xUpIB

std::unique_ptr<weld::Button> SwCustomizeAddressBlockDialog::m_xUpIB
private

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