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

#include <fldtdlg.hxx>

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

Public Member Functions

 SwFieldDlg (SfxBindings *pB, SwChildWinWrapper *pCW, weld::Window *pParent)
 
virtual ~SwFieldDlg () override
 
 DECL_LINK (OKHdl, weld::Button &, void)
 
 DECL_LINK (CancelHdl, weld::Button &, void)
 
void Initialize (SfxChildWinInfo const *pInfo)
 
void ReInitDlg ()
 
void EnableInsert (bool bEnable)
 
void InsertHdl ()
 
void ActivateDatabasePage ()
 
void ShowReferencePage ()
 
virtual void Close () override
 
virtual void EndDialog () override
 
virtual void Activate () override
 
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
 
virtual ~SfxTabDialogController () override
 
void AddTabPage (const OString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
 
void AddTabPage (const OString &rName, sal_uInt16 nPageCreateId)
 
void AddTabPage (const OString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
 
void AddTabPage (const OString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
 
void RemoveTabPage (const OString &rName)
 
void SetCurPageId (const OString &rName)
 
void ShowPage (const OString &rName)
 
OString GetCurPageId () const
 
SfxTabPageGetCurTabPage () const
 
const sal_uInt16 * GetInputRanges (const SfxItemPool &)
 
void SetInputSet (const SfxItemSet *pInSet)
 
const SfxItemSetGetOutputItemSet () const
 
virtual weld::ButtonGetOKButton () const override
 
weld::ButtonGetCancelButton () const
 
weld::ButtonGetUserButton () const
 
void RemoveResetButton ()
 
void RemoveStandardButton ()
 
virtual short run () override
 
virtual const SfxItemSetGetExampleSet () const override
 
void SetApplyHandler (const Link< weld::Button &, void > &_rHdl)
 
bool Apply ()
 
void Applied ()
 
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 

Private Member Functions

virtual SfxItemSetCreateInputItemSet (const OString &rId) override
 
virtual void PageCreated (const OString &rId, SfxTabPage &rPage) override
 
void ReInitTabPage (const OString &rPageId, bool bOnlyActivate=false)
 

Private Attributes

SwChildWinWrapperm_pChildWin
 
SfxBindingsm_pBindings
 
bool m_bHtmlMode
 
bool m_bDataBaseMode
 
bool m_bClosing
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxTabDialogController
static bool runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Member Functions inherited from SfxTabDialogController
 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_LINK (ResetHdl, weld::Button &, void)
 
 DECL_LINK (BaseFmtHdl, weld::Button &, void)
 
 DECL_LINK (UserHdl, weld::Button &, void)
 
 DECL_LINK (CancelHdl, weld::Button &, void)
 
virtual short Ok ()
 
virtual void RefreshInputSet ()
 
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (const OString &rPageId) const
 
bool PrepareLeaveCurrentPage ()
 
void SavePosAndId ()
 
- Protected Attributes inherited from SfxTabDialogController
std::unique_ptr< weld::Notebookm_xTabCtrl
 
std::unique_ptr< SfxItemSetm_xExampleSet
 

Detailed Description

Definition at line 28 of file fldtdlg.hxx.

Constructor & Destructor Documentation

SwFieldDlg::SwFieldDlg ( SfxBindings pB,
SwChildWinWrapper pCW,
weld::Window pParent 
)
SwFieldDlg::~SwFieldDlg ( )
overridevirtual

Definition at line 98 of file fldtdlg.cxx.

Member Function Documentation

void SwFieldDlg::Activate ( )
overridevirtual
void SwFieldDlg::ActivateDatabasePage ( )
void SwFieldDlg::Close ( )
overridevirtual
SfxItemSet * SwFieldDlg::CreateInputItemSet ( const OString &  rId)
overrideprivatevirtual
SwFieldDlg::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
SwFieldDlg::DECL_LINK ( CancelHdl  ,
weld::Button ,
void   
)
void SwFieldDlg::EnableInsert ( bool  bEnable)
void SwFieldDlg::EndDialog ( )
overridevirtual

Reimplemented from SfxDialogController.

Definition at line 102 of file fldtdlg.cxx.

References SfxDialogController::EndDialog(), and m_bClosing.

void SwFieldDlg::Initialize ( SfxChildWinInfo const *  pInfo)

Definition at line 118 of file fldtdlg.cxx.

References SfxChildWinInfo::aWinState.

void SwFieldDlg::InsertHdl ( )

Definition at line 242 of file fldtdlg.cxx.

References weld::Button::clicked(), and SfxTabDialogController::GetOKButton().

void SwFieldDlg::PageCreated ( const OString &  rId,
SfxTabPage rPage 
)
overrideprivatevirtual
void SwFieldDlg::ReInitDlg ( )
void SwFieldDlg::ReInitTabPage ( const OString &  rPageId,
bool  bOnlyActivate = false 
)
private

Definition at line 200 of file fldtdlg.cxx.

References SwFieldPage::EditNewField(), and SfxTabDialogController::GetTabPage().

Referenced by Activate(), and ReInitDlg().

void SwFieldDlg::ShowReferencePage ( )

Definition at line 266 of file fldtdlg.cxx.

References SfxTabDialogController::ShowPage().

Member Data Documentation

bool SwFieldDlg::m_bClosing
private

Definition at line 34 of file fldtdlg.hxx.

Referenced by Close(), and EndDialog().

bool SwFieldDlg::m_bDataBaseMode
private

Definition at line 33 of file fldtdlg.hxx.

Referenced by ActivateDatabasePage(), and Close().

bool SwFieldDlg::m_bHtmlMode
private

Definition at line 32 of file fldtdlg.hxx.

Referenced by ReInitDlg(), and SwFieldDlg().

SfxBindings* SwFieldDlg::m_pBindings
private

Definition at line 31 of file fldtdlg.hxx.

Referenced by Close(), and PageCreated().

SwChildWinWrapper* SwFieldDlg::m_pChildWin
private

Definition at line 30 of file fldtdlg.hxx.

Referenced by ReInitDlg().


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