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 ()
 
virtual weld::TreeViewget_drag_source () const
 
bool HasItem (sal_Int32 nUserData)
 
void SetAddress (const OUString &rAddress)
 
OUString GetAddress ()
 
- 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 (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 ()
 
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 const 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 179 of file mmaddressblockpage.hxx.

Member Enumeration Documentation

Enumerator
ADDRESSBLOCK_NEW 
ADDRESSBLOCK_EDIT 
GREETING_FEMALE 
GREETING_MALE 

Definition at line 183 of file mmaddressblockpage.hxx.

Constructor & Destructor Documentation

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

Definition at line 560 of file mmaddressblockpage.cxx.

References m_xDragED.

Member Function Documentation

SwCustomizeAddressBlockDialog::DECL_LINK ( OKHdl_Impl  ,
weld::Button ,
void   
)
private
SwCustomizeAddressBlockDialog::DECL_LINK ( ListBoxSelectHdl_Impl  ,
weld::TreeView ,
void   
)
private
SwCustomizeAddressBlockDialog::DECL_LINK ( EditModifyHdl_Impl  ,
AddressMultiLineEdit ,
void   
)
private
SwCustomizeAddressBlockDialog::DECL_LINK ( ImageButtonHdl_Impl  ,
weld::Button ,
void   
)
private
SwCustomizeAddressBlockDialog::DECL_LINK ( SelectionChangedHdl_Impl  ,
bool  ,
void   
)
private
SwCustomizeAddressBlockDialog::DECL_LINK ( FieldChangeComboBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SwCustomizeAddressBlockDialog::DECL_LINK ( TextFilterHdl  ,
OUString &  ,
bool   
)
private
SwCustomizeAddressBlockDialog::DECL_LINK ( SelectionChangedIdleHdl  ,
Timer ,
void   
)
private
virtual weld::TreeView* SwCustomizeAddressBlockDialog::get_drag_source ( ) const
inlinevirtual

Definition at line 242 of file mmaddressblockpage.hxx.

References weld::TreeView::get_drag_source().

OUString SwCustomizeAddressBlockDialog::GetAddress ( )
sal_Int32 SwCustomizeAddressBlockDialog::GetSelectedItem_Impl ( )
private

Definition at line 611 of file mmaddressblockpage.cxx.

References i, m_xAddressElementsLB, m_xDragED, and USER_DATA_NONE.

bool SwCustomizeAddressBlockDialog::HasItem ( sal_Int32  nUserData)

Definition at line 630 of file mmaddressblockpage.cxx.

References i, m_xAddressElementsLB, and m_xDragED.

void SwCustomizeAddressBlockDialog::SetAddress ( const OUString &  rAddress)

Definition at line 741 of file mmaddressblockpage.cxx.

References m_xDragED, and UpdateImageButtons_Impl().

bool SwCustomizeAddressBlockDialog::SetCursorLogicPosition ( const Point rPosition)

Definition at line 550 of file mmaddressblockpage.cxx.

References m_xDragED.

void SwCustomizeAddressBlockDialog::UpdateFields ( )

Definition at line 555 of file mmaddressblockpage.cxx.

References m_xDragED.

void SwCustomizeAddressBlockDialog::UpdateImageButtons_Impl ( )
private

Friends And Related Function Documentation

friend class AddressMultiLineEdit
friend

Definition at line 181 of file mmaddressblockpage.hxx.

Member Data Documentation

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

Definition at line 194 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

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

Definition at line 193 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

Idle SwCustomizeAddressBlockDialog::m_aSelectionChangedIdle
private

Definition at line 203 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

TextFilter SwCustomizeAddressBlockDialog::m_aTextFilter
private

Definition at line 191 of file mmaddressblockpage.hxx.

DialogType const SwCustomizeAddressBlockDialog::m_eType
private

Definition at line 201 of file mmaddressblockpage.hxx.

Referenced by AddressMultiLineEdit::SetText().

SwMailMergeConfigItem& SwCustomizeAddressBlockDialog::m_rConfigItem
private

Definition at line 200 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

OUString SwCustomizeAddressBlockDialog::m_sCurrentPunctuation
private

Definition at line 197 of file mmaddressblockpage.hxx.

Referenced by GetAddress().

OUString SwCustomizeAddressBlockDialog::m_sCurrentSalutation
private

Definition at line 196 of file mmaddressblockpage.hxx.

Referenced by GetAddress().

OUString SwCustomizeAddressBlockDialog::m_sCurrentText
private

Definition at line 198 of file mmaddressblockpage.hxx.

Referenced by GetAddress().

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

Definition at line 205 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

std::unique_ptr<weld::TreeView> SwCustomizeAddressBlockDialog::m_xAddressElementsLB
private
std::unique_ptr<weld::Button> SwCustomizeAddressBlockDialog::m_xDownIB
private
std::unique_ptr<AddressMultiLineEdit> SwCustomizeAddressBlockDialog::m_xDragED
private
std::unique_ptr<weld::Label> SwCustomizeAddressBlockDialog::m_xDragFT
private

Definition at line 209 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

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

Definition at line 220 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

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

Definition at line 214 of file mmaddressblockpage.hxx.

Referenced by GetAddress(), and SwCustomizeAddressBlockDialog().

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

Definition at line 216 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

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

Definition at line 217 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

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

Definition at line 218 of file mmaddressblockpage.hxx.

Referenced by SwCustomizeAddressBlockDialog().

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

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