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

#include <tmpdlg.hxx>

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

Public Member Functions

 SwTemplateDlgController (weld::Window *pParent, SfxStyleSheetBase &rBase, SfxStyleFamily nRegion, const OString &sPage, SwWrtShell *pActShell, bool bNew)
 
virtual void RefreshInputSet () override
 
virtual void PageCreated (const OString &rId, SfxTabPage &rPage) override
 
virtual short Ok () override
 
- Public Member Functions inherited from SfxStyleDialogController
 SfxStyleDialogController (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, SfxStyleSheetBase &)
 
virtual ~SfxStyleDialogController () override
 
SfxStyleSheetBaseGetStyleSheet ()
 
const SfxStyleSheetBaseGetStyleSheet () const
 
- 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 ()
 
- 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 Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Attributes

SfxStyleFamily const nType
 
sal_uInt16 nHtmlMode
 
SwWrtShellpWrtShell
 
bool bNewStyle
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxStyleDialogController
static OUString GenerateUnusedName (SfxStyleSheetBasePool &rPool)
 
- 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 SfxItemSetCreateInputItemSet (const OString &rName)
 
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 tmpdlg.hxx.

Constructor & Destructor Documentation

SwTemplateDlgController::SwTemplateDlgController ( weld::Window pParent,
SfxStyleSheetBase rBase,
SfxStyleFamily  nRegion,
const OString &  sPage,
SwWrtShell pActShell,
bool  bNew 
)

Member Function Documentation

short SwTemplateDlgController::Ok ( )
overridevirtual
void SwTemplateDlgController::PageCreated ( const OString &  rId,
SfxTabPage rPage 
)
overridevirtual
void SwTemplateDlgController::RefreshInputSet ( )
overridevirtual

Member Data Documentation

bool SwTemplateDlgController::bNewStyle
private

Definition at line 34 of file tmpdlg.hxx.

Referenced by PageCreated(), and SwTemplateDlgController().

sal_uInt16 SwTemplateDlgController::nHtmlMode
private

Definition at line 32 of file tmpdlg.hxx.

Referenced by PageCreated(), and SwTemplateDlgController().

SfxStyleFamily const SwTemplateDlgController::nType
private

Definition at line 31 of file tmpdlg.hxx.

Referenced by PageCreated().

SwWrtShell* SwTemplateDlgController::pWrtShell
private

Definition at line 33 of file tmpdlg.hxx.

Referenced by PageCreated(), and SwTemplateDlgController().


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