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

#include <changedb.hxx>

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

Public Member Functions

 SwChangeDBDlg (SwView const &rVw)
 
virtual short run () override
 
virtual ~SwChangeDBDlg () override
 
- 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 TreeSelect ()
 
 DECL_LINK (TreeSelectHdl, weld::TreeView &, void)
 
 DECL_LINK (ButtonHdl, weld::Button &, void)
 
 DECL_LINK (AddDBHdl, weld::Button &, void)
 
void UpdateFields ()
 
void FillDBPopup ()
 
std::unique_ptr< weld::TreeIterInsert (std::u16string_view rDBName)
 
void ShowDBName (const SwDBData &rDBData)
 

Private Attributes

SwWrtShellm_pSh
 
std::unique_ptr< weld::TreeViewm_xUsedDBTLB
 
std::unique_ptr< SwDBTreeListm_xAvailDBTLB
 
std::unique_ptr< weld::Buttonm_xAddDBPB
 
std::unique_ptr< weld::Labelm_xDocDBNameFT
 
std::unique_ptr< weld::Buttonm_xDefineBT
 

Detailed Description

Definition at line 31 of file changedb.hxx.

Constructor & Destructor Documentation

◆ SwChangeDBDlg()

SwChangeDBDlg::SwChangeDBDlg ( SwView const &  rVw)

◆ ~SwChangeDBDlg()

SwChangeDBDlg::~SwChangeDBDlg ( )
overridevirtual

Definition at line 157 of file changedb.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

SwChangeDBDlg::DECL_LINK ( AddDBHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/3]

SwChangeDBDlg::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

SwChangeDBDlg::DECL_LINK ( TreeSelectHdl  ,
weld::TreeView ,
void   
)
private

◆ FillDBPopup()

void SwChangeDBDlg::FillDBPopup ( )
private

◆ Insert()

std::unique_ptr< weld::TreeIter > SwChangeDBDlg::Insert ( std::u16string_view  rDBName)
private

Definition at line 110 of file changedb.cxx.

References DB_DELIM, o3tl::getToken(), and m_xUsedDBTLB.

Referenced by FillDBPopup().

◆ run()

short SwChangeDBDlg::run ( )
overridevirtual

Definition at line 161 of file changedb.cxx.

References RET_OK, and UpdateFields().

◆ ShowDBName()

void SwChangeDBDlg::ShowDBName ( const SwDBData rDBData)
private

Definition at line 235 of file changedb.cxx.

References m_xDocDBNameFT, SwDBData::sCommand, SwDBData::sDataSource, sName, and SwResId().

Referenced by SwChangeDBDlg().

◆ TreeSelect()

void SwChangeDBDlg::TreeSelect ( )
private

Definition at line 221 of file changedb.cxx.

References m_xAvailDBTLB, and m_xDefineBT.

Referenced by FillDBPopup(), and SwChangeDBDlg().

◆ UpdateFields()

void SwChangeDBDlg::UpdateFields ( )
private

Member Data Documentation

◆ m_pSh

SwWrtShell* SwChangeDBDlg::m_pSh
private

Definition at line 33 of file changedb.hxx.

Referenced by FillDBPopup(), SwChangeDBDlg(), and UpdateFields().

◆ m_xAddDBPB

std::unique_ptr<weld::Button> SwChangeDBDlg::m_xAddDBPB
private

Definition at line 37 of file changedb.hxx.

Referenced by SwChangeDBDlg().

◆ m_xAvailDBTLB

std::unique_ptr<SwDBTreeList> SwChangeDBDlg::m_xAvailDBTLB
private

Definition at line 36 of file changedb.hxx.

Referenced by FillDBPopup(), SwChangeDBDlg(), TreeSelect(), and UpdateFields().

◆ m_xDefineBT

std::unique_ptr<weld::Button> SwChangeDBDlg::m_xDefineBT
private

Definition at line 39 of file changedb.hxx.

Referenced by SwChangeDBDlg(), and TreeSelect().

◆ m_xDocDBNameFT

std::unique_ptr<weld::Label> SwChangeDBDlg::m_xDocDBNameFT
private

Definition at line 38 of file changedb.hxx.

Referenced by ShowDBName().

◆ m_xUsedDBTLB

std::unique_ptr<weld::TreeView> SwChangeDBDlg::m_xUsedDBTLB
private

Definition at line 35 of file changedb.hxx.

Referenced by FillDBPopup(), Insert(), SwChangeDBDlg(), and UpdateFields().


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