LibreOffice Module sd (master) 1
|
#include <masterlayoutdlg.hxx>
Public Member Functions | |
MasterLayoutDialog (weld::Window *pParent, SdDrawDocument *pDoc, SdPage *pCurrentPage) | |
virtual | ~MasterLayoutDialog () override |
virtual short | run () override |
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 |
Private Member Functions | |
void | applyChanges () |
void | remove (PresObjKind eKind) |
void | create (PresObjKind eKind) |
Private Attributes | |
SdDrawDocument * | mpDoc |
SdPage * | mpCurrentPage |
std::unique_ptr< weld::CheckButton > | mxCBDate |
std::unique_ptr< weld::CheckButton > | mxCBPageNumber |
std::unique_ptr< weld::CheckButton > | mxCBSlideNumber |
std::unique_ptr< weld::CheckButton > | mxCBHeader |
std::unique_ptr< weld::CheckButton > | mxCBFooter |
bool | mbOldHeader |
bool | mbOldFooter |
bool | mbOldDate |
bool | mbOldPageNumber |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 31 of file masterlayoutdlg.hxx.
MasterLayoutDialog::MasterLayoutDialog | ( | weld::Window * | pParent, |
SdDrawDocument * | pDoc, | ||
SdPage * | pCurrentPage | ||
) |
Definition at line 27 of file masterlayoutdlg.cxx.
References DateTime, Footer, SdDrawDocument::GetMasterSdPage(), SdPage::GetPageKind(), SdPage::GetPresObj(), Handout, Header, SdrPage::IsMasterPage(), mbOldDate, mbOldFooter, mbOldHeader, mbOldPageNumber, mpCurrentPage, mxCBDate, mxCBFooter, mxCBHeader, mxCBPageNumber, mxCBSlideNumber, Notes, SlideNumber, Standard, and SdrPage::TRG_GetMasterPage().
|
overridevirtual |
Definition at line 73 of file masterlayoutdlg.cxx.
|
private |
Definition at line 84 of file masterlayoutdlg.cxx.
References SdrModel::BegUndo(), create(), DateTime, SdrModel::EndUndo(), Footer, SdPage::GetPageKind(), Header, weld::GenericDialogController::m_xDialog, mbOldDate, mbOldFooter, mbOldHeader, mbOldPageNumber, mpCurrentPage, mpDoc, mxCBDate, mxCBFooter, mxCBHeader, mxCBPageNumber, remove(), SlideNumber, and Standard.
Referenced by run().
|
private |
Definition at line 123 of file masterlayoutdlg.cxx.
References SdPage::CreateDefaultPresObj(), and mpCurrentPage.
Referenced by applyChanges().
|
private |
Definition at line 128 of file masterlayoutdlg.cxx.
References SdPage::DestroyDefaultPresObj(), and mpCurrentPage.
Referenced by applyChanges().
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 77 of file masterlayoutdlg.cxx.
References applyChanges(), and RET_OK.
|
private |
Definition at line 45 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), and MasterLayoutDialog().
|
private |
Definition at line 44 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), and MasterLayoutDialog().
|
private |
Definition at line 43 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), and MasterLayoutDialog().
|
private |
Definition at line 46 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), and MasterLayoutDialog().
|
private |
Definition at line 35 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), create(), MasterLayoutDialog(), and remove().
|
private |
Definition at line 34 of file masterlayoutdlg.hxx.
Referenced by applyChanges().
|
private |
Definition at line 37 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), and MasterLayoutDialog().
|
private |
Definition at line 41 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), and MasterLayoutDialog().
|
private |
Definition at line 40 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), and MasterLayoutDialog().
|
private |
Definition at line 38 of file masterlayoutdlg.hxx.
Referenced by applyChanges(), and MasterLayoutDialog().
|
private |
Definition at line 39 of file masterlayoutdlg.hxx.
Referenced by MasterLayoutDialog().