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

#include <addresslistdialog.hxx>

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

Public Member Functions

 SwAddressListDialog (SwMailMergeAddressBlockPage *pParent)
 
virtual ~SwAddressListDialog () override
 
css::uno::Reference< css::sdbc::XDataSource > GetSource () const
 
SharedConnection GetConnection () const
 
css::uno::Reference< css::sdbcx::XColumnsSupplier > GetColumnsSupplier () const
 
const SwDBDataGetDBData () const
 
OUString GetFilter () 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

void DetectTablesAndQueries (int Select, bool bWidthDialog)
 
 DECL_LINK (FilterHdl_Impl, weld::Button &, void)
 
 DECL_LINK (LoadHdl_Impl, weld::Button &, void)
 
 DECL_LINK (CreateHdl_Impl, weld::Button &, void)
 
 DECL_LINK (RemoveHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ListBoxSelectHdl_Impl, weld::TreeView &, void)
 
 DECL_LINK (EditHdl_Impl, weld::Button &, void)
 
 DECL_LINK (TableSelectHdl_Impl, weld::Button &, void)
 
void TableSelectHdl (const weld::Button *pButton)
 
 DECL_LINK (OKHdl_Impl, weld::Button &, void)
 
 DECL_LINK (StaticListBoxSelectHdl_Impl, void *, void)
 

Private Attributes

OUString m_sConnecting
 
bool m_bInSelectHdl
 
SwMailMergeAddressBlockPagem_pAddressPage
 
css::uno::Reference< css::sdb::XDatabaseContext > m_xDBContext
 
SwDBData m_aDBData
 
std::vector< std::unique_ptr< AddressUserData_Impl > > m_aUserData
 
std::unique_ptr< weld::Labelm_xDescriptionFI
 
std::unique_ptr< weld::Labelm_xConnecting
 
std::unique_ptr< weld::TreeViewm_xListLB
 
std::unique_ptr< weld::Buttonm_xLoadListPB
 
std::unique_ptr< weld::Buttonm_xRemovePB
 
std::unique_ptr< weld::Buttonm_xCreateListPB
 
std::unique_ptr< weld::Buttonm_xFilterPB
 
std::unique_ptr< weld::Buttonm_xEditPB
 
std::unique_ptr< weld::Buttonm_xTablePB
 
std::unique_ptr< weld::Buttonm_xOK
 
std::unique_ptr< weld::TreeIterm_xIter
 

Detailed Description

Definition at line 44 of file addresslistdialog.hxx.

Constructor & Destructor Documentation

◆ SwAddressListDialog()

SwAddressListDialog::SwAddressListDialog ( SwMailMergeAddressBlockPage pParent)

◆ ~SwAddressListDialog()

SwAddressListDialog::~SwAddressListDialog ( )
overridevirtual

Definition at line 225 of file addresslistdialog.cxx.

Member Function Documentation

◆ DECL_LINK() [1/9]

SwAddressListDialog::DECL_LINK ( CreateHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/9]

SwAddressListDialog::DECL_LINK ( EditHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/9]

SwAddressListDialog::DECL_LINK ( FilterHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/9]

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

◆ DECL_LINK() [5/9]

SwAddressListDialog::DECL_LINK ( LoadHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/9]

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

◆ DECL_LINK() [7/9]

SwAddressListDialog::DECL_LINK ( RemoveHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/9]

SwAddressListDialog::DECL_LINK ( StaticListBoxSelectHdl_Impl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [9/9]

SwAddressListDialog::DECL_LINK ( TableSelectHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DetectTablesAndQueries()

void SwAddressListDialog::DetectTablesAndQueries ( int  Select,
bool  bWidthDialog 
)
private

◆ GetColumnsSupplier()

uno::Reference< XColumnsSupplier > SwAddressListDialog::GetColumnsSupplier ( ) const

Definition at line 618 of file addresslistdialog.cxx.

References m_xListLB, and AddressUserData_Impl::xColumnsSupplier.

Referenced by IMPL_LINK_NOARG().

◆ GetConnection()

SharedConnection SwAddressListDialog::GetConnection ( ) const

Definition at line 606 of file addresslistdialog.cxx.

References m_xListLB, and AddressUserData_Impl::xConnection.

Referenced by IMPL_LINK_NOARG().

◆ GetDBData()

const SwDBData & SwAddressListDialog::GetDBData ( ) const
inline

Definition at line 96 of file addresslistdialog.hxx.

References m_aDBData.

Referenced by IMPL_LINK_NOARG().

◆ GetFilter()

OUString SwAddressListDialog::GetFilter ( ) const

Definition at line 630 of file addresslistdialog.cxx.

References m_xListLB, and AddressUserData_Impl::sFilter.

Referenced by IMPL_LINK_NOARG().

◆ GetSource()

uno::Reference< XDataSource > SwAddressListDialog::GetSource ( ) const

Definition at line 593 of file addresslistdialog.cxx.

References m_xListLB, and AddressUserData_Impl::xSource.

Referenced by IMPL_LINK_NOARG().

◆ TableSelectHdl()

void SwAddressListDialog::TableSelectHdl ( const weld::Button pButton)
private

Member Data Documentation

◆ m_aDBData

SwDBData SwAddressListDialog::m_aDBData
private

Definition at line 54 of file addresslistdialog.hxx.

Referenced by DetectTablesAndQueries(), GetDBData(), and SwAddressListDialog().

◆ m_aUserData

std::vector<std::unique_ptr<AddressUserData_Impl> > SwAddressListDialog::m_aUserData
private

Definition at line 56 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_bInSelectHdl

bool SwAddressListDialog::m_bInSelectHdl
private

Definition at line 48 of file addresslistdialog.hxx.

◆ m_pAddressPage

SwMailMergeAddressBlockPage* SwAddressListDialog::m_pAddressPage
private

Definition at line 50 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_sConnecting

OUString SwAddressListDialog::m_sConnecting
private

Definition at line 46 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_xConnecting

std::unique_ptr<weld::Label> SwAddressListDialog::m_xConnecting
private

Definition at line 59 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_xCreateListPB

std::unique_ptr<weld::Button> SwAddressListDialog::m_xCreateListPB
private

Definition at line 63 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_xDBContext

css::uno::Reference< css::sdb::XDatabaseContext> SwAddressListDialog::m_xDBContext
private

Definition at line 52 of file addresslistdialog.hxx.

Referenced by DetectTablesAndQueries(), and SwAddressListDialog().

◆ m_xDescriptionFI

std::unique_ptr<weld::Label> SwAddressListDialog::m_xDescriptionFI
private

Definition at line 58 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_xEditPB

std::unique_ptr<weld::Button> SwAddressListDialog::m_xEditPB
private

Definition at line 65 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_xFilterPB

std::unique_ptr<weld::Button> SwAddressListDialog::m_xFilterPB
private

Definition at line 64 of file addresslistdialog.hxx.

Referenced by DetectTablesAndQueries(), and SwAddressListDialog().

◆ m_xIter

std::unique_ptr<weld::TreeIter> SwAddressListDialog::m_xIter
private

Definition at line 68 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_xListLB

std::unique_ptr<weld::TreeView> SwAddressListDialog::m_xListLB
private

◆ m_xLoadListPB

std::unique_ptr<weld::Button> SwAddressListDialog::m_xLoadListPB
private

Definition at line 61 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_xOK

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

Definition at line 67 of file addresslistdialog.hxx.

Referenced by DetectTablesAndQueries(), and SwAddressListDialog().

◆ m_xRemovePB

std::unique_ptr<weld::Button> SwAddressListDialog::m_xRemovePB
private

Definition at line 62 of file addresslistdialog.hxx.

Referenced by SwAddressListDialog().

◆ m_xTablePB

std::unique_ptr<weld::Button> SwAddressListDialog::m_xTablePB
private

Definition at line 66 of file addresslistdialog.hxx.

Referenced by DetectTablesAndQueries(), and SwAddressListDialog().


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