LibreOffice Module sfx2 (master) 1
|
#include <tabdlg.hxx>
Public Member Functions | |
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 |
Public Member Functions inherited from SfxOkDialogController | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual weld::Button & | GetOKButton () const =0 |
virtual const SfxItemSet * | GetExampleSet () 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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
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 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)> &) |
Protected Member Functions | |
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... | |
Protected Attributes | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (ActivatePageHdl, const OUString &, void) | |
DECL_DLLPRIVATE_LINK (DeactivatePageHdl, const OUString &, bool) | |
SAL_DLLPRIVATE void | Start_Impl () |
SAL_DLLPRIVATE void | CreatePages () |
SAL_DLLPRIVATE void | setPreviewsToSamePlace () |
Private Attributes | |
std::unique_ptr< weld::Button > | m_xOKBtn |
std::unique_ptr< weld::Button > | m_xApplyBtn |
std::unique_ptr< weld::Button > | m_xUserBtn |
std::unique_ptr< weld::Button > | m_xCancelBtn |
std::unique_ptr< weld::Button > | m_xResetBtn |
std::unique_ptr< weld::Button > | m_xBaseFmtBtn |
std::unique_ptr< weld::SizeGroup > | m_xSizeGroup |
std::unique_ptr< SfxItemSet > | m_pSet |
std::unique_ptr< SfxItemSet > | m_pOutSet |
std::unique_ptr< TabDlg_Impl > | m_pImpl |
WhichRangesContainer | m_pRanges |
OUString | m_sAppPageId |
bool | m_bStandardPushed |
std::unique_ptr< SfxAllItemSet > | m_xItemSet |
Definition at line 58 of file tabdlg.hxx.
SfxTabDialogController::SfxTabDialogController | ( | weld::Widget * | pParent, |
const OUString & | rUIXMLDescription, | ||
const OUString & | rID, | ||
const SfxItemSet * | pItemSet = nullptr , |
||
bool | bEditFmt = false |
||
) |
Definition at line 310 of file tabdlg.cxx.
References HID_TABDLG_RESET_BTN, HID_TABDLG_STANDARD_BTN, comphelper::LibreOfficeKit::isActive(), LINK, m_pImpl, m_pOutSet, m_pSet, m_xBaseFmtBtn, m_xCancelBtn, m_xExampleSet, m_xOKBtn, m_xResetBtn, m_xTabCtrl, m_xUserBtn, RemoveResetButton(), and SfxResId().
|
overridevirtual |
|
protectedvirtual |
void SfxTabDialogController::AddTabPage | ( | const OUString & | rName, |
const OUString & | rLabel, | ||
CreateTabPage | pCreateFunc | ||
) |
void SfxTabDialogController::AddTabPage | ( | const OUString & | rName, |
const OUString & | rLabel, | ||
sal_uInt16 | nPageCreateId | ||
) |
void SfxTabDialogController::AddTabPage | ( | const OUString & | rName, |
CreateTabPage | pCreateFunc, | ||
GetTabPageRanges | pRangesFunc | ||
) |
void SfxTabDialogController::AddTabPage | ( | const OUString & | rName, |
sal_uInt16 | nPageCreateId | ||
) |
|
inline |
Definition at line 164 of file tabdlg.hxx.
bool SfxTabDialogController::Apply | ( | ) |
|
protectedvirtual |
|
private |
BitmapEx SfxTabDialogController::createScreenshot | ( | ) | const |
|
protected |
|
private |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
std::vector< OUString > SfxTabDialogController::getAllPageUIXMLDescriptions | ( | ) | const |
|
inline |
Definition at line 149 of file tabdlg.hxx.
|
inline |
Definition at line 146 of file tabdlg.hxx.
Referenced by SfxStyleDialogController::SfxStyleDialogController().
OUString SfxTabDialogController::GetCurPageId | ( | ) | const |
|
inline |
Definition at line 138 of file tabdlg.hxx.
|
inlineoverridevirtual |
Implements SfxOkDialogController.
Definition at line 158 of file tabdlg.hxx.
const WhichRangesContainer & SfxTabDialogController::GetInputRanges | ( | const SfxItemPool & | ) |
|
protected |
|
inlineoverridevirtual |
Implements SfxOkDialogController.
Definition at line 145 of file tabdlg.hxx.
|
inline |
Definition at line 143 of file tabdlg.hxx.
|
inline |
Definition at line 150 of file tabdlg.hxx.
OUString SfxTabDialogController::GetScreenshotId | ( | ) | const |
|
inline |
Definition at line 148 of file tabdlg.hxx.
|
protected |
|
inline |
Definition at line 147 of file tabdlg.hxx.
|
protectedvirtual |
Reimplemented in SfxStyleDialogController.
Referenced by SfxStyleDialogController::Ok().
|
protectedvirtual |
Reimplemented in SfxDocumentInfoDialog.
|
protected |
prepare to leave the current page.
Calls the DeactivatePage method of the current page, (if necessary), handles the item sets to copy.
|
protectedvirtual |
void SfxTabDialogController::RemoveResetButton | ( | ) |
Referenced by SfxTabDialogController().
void SfxTabDialogController::RemoveStandardButton | ( | ) |
Referenced by SfxStyleDialogController::SfxStyleDialogController().
void SfxTabDialogController::RemoveTabPage | ( | const OUString & | rName | ) |
Referenced by SfxDocumentInfoDialog::SfxDocumentInfoDialog().
|
overridevirtual |
Reimplemented from weld::DialogController.
|
static |
Referenced by SfxObjectShell::ExecFile_Impl().
|
protected |
save the position of the TabDialog and which tab page is the currently active one
bool SfxTabDialogController::selectPageByUIXMLDescription | ( | const OUString & | rUIXMLDescription | ) |
void SfxTabDialogController::SetApplyHandler | ( | const Link< weld::Button &, void > & | _rHdl | ) |
void SfxTabDialogController::SetCurPageId | ( | const OUString & | rName | ) |
Referenced by SfxStyleDialogController::SfxStyleDialogController().
void SfxTabDialogController::SetInputSet | ( | const SfxItemSet * | pInSet | ) |
|
private |
void SfxTabDialogController::ShowPage | ( | const OUString & | rName | ) |
|
private |
|
private |
Definition at line 82 of file tabdlg.hxx.
|
private |
Definition at line 79 of file tabdlg.hxx.
Referenced by SfxTabDialogController().
|
private |
Definition at line 78 of file tabdlg.hxx.
Referenced by SfxTabDialogController().
|
private |
Definition at line 80 of file tabdlg.hxx.
|
private |
Definition at line 77 of file tabdlg.hxx.
Referenced by SfxTabDialogController().
|
private |
Definition at line 81 of file tabdlg.hxx.
|
private |
Definition at line 70 of file tabdlg.hxx.
|
private |
Definition at line 74 of file tabdlg.hxx.
Referenced by SfxTabDialogController().
|
private |
Definition at line 72 of file tabdlg.hxx.
Referenced by SfxTabDialogController().
|
protected |
Definition at line 100 of file tabdlg.hxx.
Referenced by SfxStyleDialogController::SfxStyleDialogController(), SfxTabDialogController(), and SfxStyleDialogController::~SfxStyleDialogController().
|
private |
Definition at line 83 of file tabdlg.hxx.
|
private |
Definition at line 69 of file tabdlg.hxx.
Referenced by SfxTabDialogController().
|
private |
Definition at line 73 of file tabdlg.hxx.
Referenced by SfxTabDialogController().
|
private |
Definition at line 75 of file tabdlg.hxx.
|
protected |
Definition at line 61 of file tabdlg.hxx.
Referenced by SfxTabDialogController().
|
private |
Definition at line 71 of file tabdlg.hxx.
Referenced by SfxTabDialogController().