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

#include <headerfooterdlg.hxx>

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

Public Member Functions

 HeaderFooterDialog (ViewShell *pViewShell, weld::Window *pParent, SdDrawDocument *pDoc, SdPage *pCurrentPage)
 
virtual ~HeaderFooterDialog () override
 
void ApplyToAll ()
 
void Apply ()
 
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

 DECL_LINK (ActivatePageHdl, const OUString &, void)
 
 DECL_LINK (ClickApplyToAllHdl, weld::Button &, void)
 
 DECL_LINK (ClickApplyHdl, weld::Button &, void)
 
 DECL_LINK (ClickCancelHdl, weld::Button &, void)
 
void apply (bool bToAll, bool bForceSlides)
 
void change (SdUndoGroup *pUndoGroup, SdPage *pPage, const HeaderFooterSettings &rNewSettings)
 

Private Attributes

HeaderFooterSettings maSlideSettings
 
HeaderFooterSettings maNotesHandoutSettings
 
SdDrawDocumentmpDoc
 
SdPagempCurrentPage
 
ViewShellmpViewShell
 
std::unique_ptr< weld::NotebookmxTabCtrl
 
std::unique_ptr< weld::ButtonmxPBApplyToAll
 
std::unique_ptr< weld::ButtonmxPBApply
 
std::unique_ptr< weld::ButtonmxPBCancel
 
std::unique_ptr< HeaderFooterTabPagemxSlideTabPage
 
std::unique_ptr< HeaderFooterTabPagemxNotesHandoutsTabPage
 

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 33 of file headerfooterdlg.hxx.

Constructor & Destructor Documentation

◆ HeaderFooterDialog()

HeaderFooterDialog::HeaderFooterDialog ( ViewShell pViewShell,
weld::Window pParent,
SdDrawDocument pDoc,
SdPage pCurrentPage 
)

◆ ~HeaderFooterDialog()

HeaderFooterDialog::~HeaderFooterDialog ( )
overridevirtual

Definition at line 224 of file headerfooterdlg.cxx.

Member Function Documentation

◆ Apply()

void HeaderFooterDialog::Apply ( )

◆ apply()

void HeaderFooterDialog::apply ( bool  bToAll,
bool  bForceSlides 
)
private

◆ ApplyToAll()

void HeaderFooterDialog::ApplyToAll ( )

◆ change()

void HeaderFooterDialog::change ( SdUndoGroup pUndoGroup,
SdPage pPage,
const HeaderFooterSettings rNewSettings 
)
private

Definition at line 349 of file headerfooterdlg.cxx.

References SdUndoGroup::AddAction(), mpDoc, and SdPage::setHeaderFooterSettings().

Referenced by apply().

◆ DECL_LINK() [1/4]

sd::HeaderFooterDialog::DECL_LINK ( ActivatePageHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/4]

sd::HeaderFooterDialog::DECL_LINK ( ClickApplyHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

sd::HeaderFooterDialog::DECL_LINK ( ClickApplyToAllHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

sd::HeaderFooterDialog::DECL_LINK ( ClickCancelHdl  ,
weld::Button ,
void   
)
private

◆ run()

short HeaderFooterDialog::run ( )
overridevirtual

Member Data Documentation

◆ maNotesHandoutSettings

HeaderFooterSettings sd::HeaderFooterDialog::maNotesHandoutSettings
private

Definition at line 42 of file headerfooterdlg.hxx.

Referenced by apply(), and HeaderFooterDialog().

◆ maSlideSettings

HeaderFooterSettings sd::HeaderFooterDialog::maSlideSettings
private

Definition at line 41 of file headerfooterdlg.hxx.

Referenced by apply(), and HeaderFooterDialog().

◆ mpCurrentPage

SdPage* sd::HeaderFooterDialog::mpCurrentPage
private

Definition at line 45 of file headerfooterdlg.hxx.

Referenced by apply(), and HeaderFooterDialog().

◆ mpDoc

SdDrawDocument* sd::HeaderFooterDialog::mpDoc
private

Definition at line 44 of file headerfooterdlg.hxx.

Referenced by apply(), change(), and HeaderFooterDialog().

◆ mpViewShell

ViewShell* sd::HeaderFooterDialog::mpViewShell
private

Definition at line 46 of file headerfooterdlg.hxx.

Referenced by apply(), and run().

◆ mxNotesHandoutsTabPage

std::unique_ptr<HeaderFooterTabPage> sd::HeaderFooterDialog::mxNotesHandoutsTabPage
private

Definition at line 53 of file headerfooterdlg.hxx.

Referenced by apply(), and HeaderFooterDialog().

◆ mxPBApply

std::unique_ptr<weld::Button> sd::HeaderFooterDialog::mxPBApply
private

Definition at line 50 of file headerfooterdlg.hxx.

Referenced by HeaderFooterDialog().

◆ mxPBApplyToAll

std::unique_ptr<weld::Button> sd::HeaderFooterDialog::mxPBApplyToAll
private

Definition at line 49 of file headerfooterdlg.hxx.

Referenced by HeaderFooterDialog().

◆ mxPBCancel

std::unique_ptr<weld::Button> sd::HeaderFooterDialog::mxPBCancel
private

Definition at line 51 of file headerfooterdlg.hxx.

Referenced by HeaderFooterDialog().

◆ mxSlideTabPage

std::unique_ptr<HeaderFooterTabPage> sd::HeaderFooterDialog::mxSlideTabPage
private

Definition at line 52 of file headerfooterdlg.hxx.

Referenced by apply(), and HeaderFooterDialog().

◆ mxTabCtrl

std::unique_ptr<weld::Notebook> sd::HeaderFooterDialog::mxTabCtrl
private

Definition at line 48 of file headerfooterdlg.hxx.

Referenced by Apply(), ApplyToAll(), and HeaderFooterDialog().


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