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:
[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 (int nResponse) 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)
 
virtual weld::ButtonGetOKButton () const=0
 
virtual const SfxItemSetGetExampleSet () const=0
 
- 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 (int nResponse)
 

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

SwChildWinWrapperm_pChildWin
 
SfxBindingsm_pBindings
 
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_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void)
 
virtual short Ok ()
 
virtual void RefreshInputSet ()
 
virtual SfxItemSetCreateInputItemSet (const OString &rName)
 
virtual void PageCreated (const OString &rName, SfxTabPage &rPage)
 
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::SwFieldDlg ( SfxBindings pB,
SwChildWinWrapper pCW,
weld::Window pParent 
)

◆ ~SwFieldDlg()

SwFieldDlg::~SwFieldDlg ( )
overridevirtual

Definition at line 101 of file fldtdlg.cxx.

Member Function Documentation

◆ Activate()

void SwFieldDlg::Activate ( )
overridevirtual

◆ ActivateDatabasePage()

void SwFieldDlg::ActivateDatabasePage ( )

◆ Close()

void SwFieldDlg::Close ( )
overridevirtual

◆ CreateInputItemSet()

SfxItemSet * SwFieldDlg::CreateInputItemSet ( const OString &  rId)
overrideprivatevirtual

◆ DECL_LINK() [1/2]

SwFieldDlg::DECL_LINK ( CancelHdl  ,
weld::Button ,
void   
)

◆ DECL_LINK() [2/2]

SwFieldDlg::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)

◆ EnableInsert()

void SwFieldDlg::EnableInsert ( bool  bEnable)

◆ EndDialog()

void SwFieldDlg::EndDialog ( int  nResponse)
overridevirtual

Reimplemented from SfxDialogController.

Definition at line 105 of file fldtdlg.cxx.

References SfxDialogController::EndDialog(), and m_bClosing.

◆ Initialize()

void SwFieldDlg::Initialize ( SfxChildWinInfo const *  pInfo)

Definition at line 128 of file fldtdlg.cxx.

References SfxChildWinInfo::aWinState, and m_xDialog.

◆ InsertHdl()

void SwFieldDlg::InsertHdl ( )

Definition at line 252 of file fldtdlg.cxx.

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

◆ PageCreated()

void SwFieldDlg::PageCreated ( const OString &  rId,
SfxTabPage rPage 
)
overrideprivatevirtual

◆ ReInitDlg()

void SwFieldDlg::ReInitDlg ( )

◆ ReInitTabPage()

void SwFieldDlg::ReInitTabPage ( std::string_view  rPageId,
bool  bOnlyActivate = false 
)
private

Definition at line 210 of file fldtdlg.cxx.

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

Referenced by Activate(), and ReInitDlg().

◆ ShowReferencePage()

void SwFieldDlg::ShowReferencePage ( )

Definition at line 276 of file fldtdlg.cxx.

References SfxTabDialogController::ShowPage().

Member Data Documentation

◆ m_bClosing

bool SwFieldDlg::m_bClosing
private

Definition at line 39 of file fldtdlg.hxx.

Referenced by Close(), and EndDialog().

◆ m_bDataBaseMode

bool SwFieldDlg::m_bDataBaseMode
private

Definition at line 38 of file fldtdlg.hxx.

Referenced by ActivateDatabasePage(), and Close().

◆ m_bHtmlMode

bool SwFieldDlg::m_bHtmlMode
private

Definition at line 37 of file fldtdlg.hxx.

Referenced by ReInitDlg(), and SwFieldDlg().

◆ m_pBindings

SfxBindings* SwFieldDlg::m_pBindings
private

Definition at line 36 of file fldtdlg.hxx.

Referenced by Close(), and PageCreated().

◆ m_pChildWin

SwChildWinWrapper* SwFieldDlg::m_pChildWin
private

Definition at line 35 of file fldtdlg.hxx.

Referenced by ReInitDlg().

◆ mxInputItemSet

std::unique_ptr<SfxItemSet> SwFieldDlg::mxInputItemSet
private

Definition at line 40 of file fldtdlg.hxx.

Referenced by CreateInputItemSet().


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