LibreOffice Module sfx2 (master) 1
|
#include <styledlg.hxx>
Public Member Functions | |
SfxStyleDialogController (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, SfxStyleSheetBase &) | |
virtual | ~SfxStyleDialogController () override |
SfxStyleSheetBase & | GetStyleSheet () |
const SfxStyleSheetBase & | GetStyleSheet () const |
virtual short | Ok () override |
![]() | |
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 |
SfxTabPage * | GetCurTabPage () const |
const WhichRangesContainer & | GetInputRanges (const SfxItemPool &) |
void | SetInputSet (const SfxItemSet *pInSet) |
const SfxItemSet * | GetOutputItemSet () const |
virtual weld::Button & | GetOKButton () const override |
weld::Button & | GetCancelButton () const |
weld::Button * | GetUserButton () const |
weld::Button * | GetStandardButton () const |
weld::Button * | GetApplyButton () const |
weld::Button * | GetResetButton () const |
void | RemoveResetButton () |
void | RemoveStandardButton () |
virtual short | run () override |
virtual const SfxItemSet * | GetExampleSet () 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 |
![]() | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual weld::Button & | GetOKButton () const =0 |
virtual const SfxItemSet * | GetExampleSet () const =0 |
![]() | |
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 |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 bool | runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
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 | |
SfxStyleSheetBase & | m_rStyle |
Additional Inherited Members | |
![]() | |
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 SfxItemSet * | CreateInputItemSet (const OUString &rName) |
virtual void | PageCreated (const OUString &rName, SfxTabPage &rPage) |
virtual void | ActivatePage (const OUString &rPage) |
bool | DeactivatePage (std::u16string_view aPage) |
SfxItemSet * | GetInputSetImpl () |
SfxTabPage * | GetTabPage (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... | |
![]() | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 30 of file styledlg.hxx.
SfxStyleDialogController::SfxStyleDialogController | ( | weld::Window * | pParent, |
const OUString & | rUIXMLDescription, | ||
const OUString & | rID, | ||
SfxStyleSheetBase & | rStyle | ||
) |
Definition at line 33 of file styledlg.cxx.
References SfxTabDialogController::AddTabPage(), weld::Button::connect_clicked(), SfxManageStyleSheetPage::Create(), SfxTabDialogController::GetCancelButton(), SfxStyleSheetBase::GetItemSet(), GetItemSet(), SfxStyleSheetBase::GetName(), SfxStyleSheetBase::HasParentSupport(), LINK, m_rStyle, weld::GenericDialogController::m_xDialog, SfxTabDialogController::m_xExampleSet, SfxTabDialogController::RemoveStandardButton(), and SfxTabDialogController::SetCurPageId().
|
overridevirtual |
Definition at line 66 of file styledlg.cxx.
References SfxTabDialogController::m_xExampleSet.
|
private |
|
static |
Definition at line 112 of file styledlg.cxx.
References SfxStyleSheetBasePool::Find(), i, and SfxResId().
Referenced by SfxManageStyleSheetPage::SfxManageStyleSheetPage().
|
inline |
Definition at line 42 of file styledlg.hxx.
|
inline |
Definition at line 43 of file styledlg.hxx.
|
overridevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 76 of file styledlg.cxx.
References SfxTabDialogController::Ok(), and RET_OK.
|
private |
Definition at line 33 of file styledlg.hxx.
Referenced by SfxStyleDialogController().