LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SfxStyleDialogController Class Reference

#include <styledlg.hxx>

Inheritance diagram for SfxStyleDialogController:
Collaboration diagram for SfxStyleDialogController:

Public Member Functions

 SfxStyleDialogController (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, SfxStyleSheetBase &)
virtual ~SfxStyleDialogController () override
SfxStyleSheetBaseGetStyleSheet ()
const SfxStyleSheetBaseGetStyleSheet () const
virtual short Ok () override
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
virtual ~SfxTabDialogController () override
void AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
void AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId)
void AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
void AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
void RemoveTabPage (const OUString &rName)
void SetCurPageId (const OUString &rName)
void ShowPage (const OUString &rName)
OUString 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< OUString > getAllPageUIXMLDescriptions () const
bool selectPageByUIXMLDescription (const OUString &rUIXMLDescription)
BitmapEx createScreenshot () const
OUString GetScreenshotId () const
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &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 OUString &rDialogId)
virtual void Activate ()
virtual void Deactivate ()
virtual void ChildWinDispose ()
virtual void Close ()
virtual void EndDialog (int nResponse)
virtual bool CloseOnHide () const
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
virtual DialoggetDialog () override
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
const DialoggetConstDialog () const
virtual short run ()
void set_title (const OUString &rTitle)
OUString get_title () const
void set_help_id (const OUString &rHelpId)
OUString get_help_id () const
void response (int nResponse)
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE

Static Public Member Functions

static OUString GenerateUnusedName (SfxStyleSheetBasePool &rPool, SfxStyleFamily eFam)
- Static Public Member Functions inherited from SfxTabDialogController
static bool runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)

Private Member Functions

 DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void)

Private Attributes


Additional Inherited Members

- 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 OUString &rName)
virtual void PageCreated (const OUString &rName, SfxTabPage &rPage)
virtual void ActivatePage (const OUString &rPage)
bool DeactivatePage (std::u16string_view aPage)
SfxItemSetGetInputSetImpl ()
SfxTabPageGetTabPage (std::u16string_view rPageId) const
bool PrepareLeaveCurrentPage ()
 prepare to leave the current page. More...
void SavePosAndId ()
 save the position of the TabDialog and which tab page is the currently active one More...
- Protected Attributes inherited from SfxTabDialogController
std::unique_ptr< weld::Notebookm_xTabCtrl
std::unique_ptr< SfxItemSetm_xExampleSet
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
std::shared_ptr< weld::Dialogm_xDialog

Detailed Description

Definition at line 30 of file styledlg.hxx.

Constructor & Destructor Documentation

◆ SfxStyleDialogController()

SfxStyleDialogController::SfxStyleDialogController ( weld::Window pParent,
const OUString &  rUIXMLDescription,
const OUString &  rID,
SfxStyleSheetBase rStyle 

◆ ~SfxStyleDialogController()

SfxStyleDialogController::~SfxStyleDialogController ( )

Definition at line 66 of file styledlg.cxx.

References SfxTabDialogController::m_xExampleSet.

Member Function Documentation


SfxStyleDialogController::DECL_DLLPRIVATE_LINK ( CancelHdl  ,
weld::Button ,

◆ GenerateUnusedName()

OUString SfxStyleDialogController::GenerateUnusedName ( SfxStyleSheetBasePool rPool,
SfxStyleFamily  eFam 

◆ GetStyleSheet() [1/2]

SfxStyleSheetBase & SfxStyleDialogController::GetStyleSheet ( )

Definition at line 42 of file styledlg.hxx.

◆ GetStyleSheet() [2/2]

const SfxStyleSheetBase & SfxStyleDialogController::GetStyleSheet ( ) const

Definition at line 43 of file styledlg.hxx.

◆ Ok()

short SfxStyleDialogController::Ok ( )

Reimplemented from SfxTabDialogController.

Definition at line 76 of file styledlg.cxx.

References SfxTabDialogController::Ok(), and RET_OK.

Member Data Documentation

◆ m_rStyle

SfxStyleSheetBase& SfxStyleDialogController::m_rStyle

Definition at line 33 of file styledlg.hxx.

Referenced by SfxStyleDialogController().

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