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

#include <fldtdlg.hxx>

Inheritance diagram for SwFieldDlg:
Collaboration diagram for SwFieldDlg:

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::Widget *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 WhichRangesContainerGetInputRanges (const SfxItemPool &)
void SetInputSet (const SfxItemSet *pInSet)
const SfxItemSetGetOutputItemSet () const
virtual weld::ButtonGetOKButton () const override
weld::ButtonGetCancelButton () const
weld::ButtonGetUserButton () const
weld::ButtonGetStandardButton () const
weld::ButtonGetApplyButton () const
weld::ButtonGetResetButton () 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 ()
std::vector< OString > getAllPageUIXMLDescriptions () const
bool selectPageByUIXMLDescription (const OString &rUIXMLDescription)
BitmapEx createScreenshot () const
OString GetScreenshotId () const
- 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 (std::string_view rPageId, bool bOnlyActivate=false)

Private Attributes

bool m_bHtmlMode
bool m_bDataBaseMode
bool m_bClosing
std::unique_ptr< SfxItemSetmxInputItemSet

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 (std::string_view 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 33 of file fldtdlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 96 of file fldtdlg.cxx.

Member Function Documentation

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

Reimplemented from SfxDialogController.

Definition at line 100 of file fldtdlg.cxx.

References SfxDialogController::EndDialog(), and m_bClosing.

void SwFieldDlg::Initialize ( SfxChildWinInfo const *  pInfo)

Definition at line 116 of file fldtdlg.cxx.

References SfxChildWinInfo::aWinState, and m_xDialog.

void SwFieldDlg::InsertHdl ( )

Definition at line 240 of file fldtdlg.cxx.

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

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

Definition at line 198 of file fldtdlg.cxx.

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

Referenced by Activate(), and ReInitDlg().

void SwFieldDlg::ShowReferencePage ( )

Definition at line 264 of file fldtdlg.cxx.

References SfxTabDialogController::ShowPage().

Member Data Documentation

bool SwFieldDlg::m_bClosing

Definition at line 39 of file fldtdlg.hxx.

Referenced by Close(), and EndDialog().

bool SwFieldDlg::m_bDataBaseMode

Definition at line 38 of file fldtdlg.hxx.

Referenced by ActivateDatabasePage(), and Close().

bool SwFieldDlg::m_bHtmlMode

Definition at line 37 of file fldtdlg.hxx.

Referenced by ReInitDlg(), and SwFieldDlg().

SfxBindings* SwFieldDlg::m_pBindings

Definition at line 36 of file fldtdlg.hxx.

Referenced by Close(), and PageCreated().

SwChildWinWrapper* SwFieldDlg::m_pChildWin

Definition at line 35 of file fldtdlg.hxx.

Referenced by ReInitDlg().

std::unique_ptr<SfxItemSet> SwFieldDlg::mxInputItemSet

Definition at line 40 of file fldtdlg.hxx.

Referenced by CreateInputItemSet().

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