LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sd::MasterLayoutDialog Class Reference

#include <masterlayoutdlg.hxx>

Inheritance diagram for sd::MasterLayoutDialog:
[legend]
Collaboration diagram for sd::MasterLayoutDialog:
[legend]

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 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
 

Private Member Functions

void applyChanges ()
 
void remove (PresObjKind eKind)
 
void create (PresObjKind eKind)
 

Private Attributes

SdDrawDocumentmpDoc
 
SdPagempCurrentPage
 
std::unique_ptr< weld::CheckButtonmxCBDate
 
std::unique_ptr< weld::CheckButtonmxCBPageNumber
 
std::unique_ptr< weld::CheckButtonmxCBSlideNumber
 
std::unique_ptr< weld::CheckButtonmxCBHeader
 
std::unique_ptr< weld::CheckButtonmxCBFooter
 
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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 31 of file masterlayoutdlg.hxx.

Constructor & Destructor Documentation

◆ MasterLayoutDialog()

MasterLayoutDialog::MasterLayoutDialog ( weld::Window pParent,
SdDrawDocument pDoc,
SdPage pCurrentPage 
)

◆ ~MasterLayoutDialog()

MasterLayoutDialog::~MasterLayoutDialog ( )
overridevirtual

Definition at line 73 of file masterlayoutdlg.cxx.

Member Function Documentation

◆ applyChanges()

void MasterLayoutDialog::applyChanges ( )
private

◆ create()

void MasterLayoutDialog::create ( PresObjKind  eKind)
private

Definition at line 123 of file masterlayoutdlg.cxx.

References SdPage::CreateDefaultPresObj(), and mpCurrentPage.

Referenced by applyChanges().

◆ remove()

void MasterLayoutDialog::remove ( PresObjKind  eKind)
private

Definition at line 128 of file masterlayoutdlg.cxx.

References SdPage::DestroyDefaultPresObj(), and mpCurrentPage.

Referenced by applyChanges().

◆ run()

short MasterLayoutDialog::run ( )
overridevirtual

Reimplemented from weld::DialogController.

Definition at line 77 of file masterlayoutdlg.cxx.

References applyChanges(), and RET_OK.

Member Data Documentation

◆ mbOldDate

bool sd::MasterLayoutDialog::mbOldDate
private

Definition at line 45 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), and MasterLayoutDialog().

◆ mbOldFooter

bool sd::MasterLayoutDialog::mbOldFooter
private

Definition at line 44 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), and MasterLayoutDialog().

◆ mbOldHeader

bool sd::MasterLayoutDialog::mbOldHeader
private

Definition at line 43 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), and MasterLayoutDialog().

◆ mbOldPageNumber

bool sd::MasterLayoutDialog::mbOldPageNumber
private

Definition at line 46 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), and MasterLayoutDialog().

◆ mpCurrentPage

SdPage* sd::MasterLayoutDialog::mpCurrentPage
private

Definition at line 35 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), create(), MasterLayoutDialog(), and remove().

◆ mpDoc

SdDrawDocument* sd::MasterLayoutDialog::mpDoc
private

Definition at line 34 of file masterlayoutdlg.hxx.

Referenced by applyChanges().

◆ mxCBDate

std::unique_ptr<weld::CheckButton> sd::MasterLayoutDialog::mxCBDate
private

Definition at line 37 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), and MasterLayoutDialog().

◆ mxCBFooter

std::unique_ptr<weld::CheckButton> sd::MasterLayoutDialog::mxCBFooter
private

Definition at line 41 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), and MasterLayoutDialog().

◆ mxCBHeader

std::unique_ptr<weld::CheckButton> sd::MasterLayoutDialog::mxCBHeader
private

Definition at line 40 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), and MasterLayoutDialog().

◆ mxCBPageNumber

std::unique_ptr<weld::CheckButton> sd::MasterLayoutDialog::mxCBPageNumber
private

Definition at line 38 of file masterlayoutdlg.hxx.

Referenced by applyChanges(), and MasterLayoutDialog().

◆ mxCBSlideNumber

std::unique_ptr<weld::CheckButton> sd::MasterLayoutDialog::mxCBSlideNumber
private

Definition at line 39 of file masterlayoutdlg.hxx.

Referenced by MasterLayoutDialog().


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