LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdPresLayoutDlg Class Referencefinal

#include <sdpreslt.hxx>

Inheritance diagram for SdPresLayoutDlg:
[legend]
Collaboration diagram for SdPresLayoutDlg:
[legend]

Public Member Functions

 SdPresLayoutDlg (::sd::DrawDocShell *pDocShell, weld::Window *pWindow, const SfxItemSet &rInAttrs)
 
virtual ~SdPresLayoutDlg () override
 
void GetAttr (SfxItemSet &rOutAttrs)
 Fills the provided Item-Set with dialog box attributes. More...
 
 DECL_LINK (ClickLayoutHdl, ValueSet *, void)
 
 DECL_LINK (ClickLoadHdl, weld::Button &, void)
 
- 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 FillValueSet ()
 Fills ValueSet with bitmaps. More...
 
void Reset ()
 Initialize. More...
 

Private Attributes

::sd::DrawDocShellmpDocSh
 
const SfxItemSetmrOutAttrs
 
std::vector< OUString > maLayoutNames
 
OUString maName
 layout name or file name More...
 
tools::Long mnLayoutCount
 number of master pages in the document More...
 
const OUString maStrNone
 
std::unique_ptr< weld::CheckButtonm_xCbxMasterPage
 
std::unique_ptr< weld::CheckButtonm_xCbxCheckMasters
 
std::unique_ptr< weld::Buttonm_xBtnLoad
 
std::unique_ptr< ValueSetm_xVS
 
std::unique_ptr< weld::CustomWeldm_xVSWin
 
std::unique_ptr< weld::Labelm_xLabel
 

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 34 of file sdpreslt.hxx.

Constructor & Destructor Documentation

◆ SdPresLayoutDlg()

SdPresLayoutDlg::SdPresLayoutDlg ( ::sd::DrawDocShell pDocShell,
weld::Window pWindow,
const SfxItemSet rInAttrs 
)

◆ ~SdPresLayoutDlg()

SdPresLayoutDlg::~SdPresLayoutDlg ( )
overridevirtual

Definition at line 71 of file sdpreslt.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

SdPresLayoutDlg::DECL_LINK ( ClickLayoutHdl  ,
ValueSet ,
void   
)

◆ DECL_LINK() [2/2]

SdPresLayoutDlg::DECL_LINK ( ClickLoadHdl  ,
weld::Button ,
void   
)

◆ FillValueSet()

void SdPresLayoutDlg::FillValueSet ( )
private

◆ GetAttr()

void SdPresLayoutDlg::GetAttr ( SfxItemSet rOutAttrs)

Fills the provided Item-Set with dialog box attributes.

Definition at line 115 of file sdpreslt.cxx.

References m_xCbxCheckMasters, m_xCbxMasterPage, m_xVS, maLayoutNames, maName, maStrNone, mnLayoutCount, nId, and SfxItemSet::Put().

◆ Reset()

void SdPresLayoutDlg::Reset ( void  )
private

Member Data Documentation

◆ m_xBtnLoad

std::unique_ptr<weld::Button> SdPresLayoutDlg::m_xBtnLoad
private

Definition at line 62 of file sdpreslt.hxx.

Referenced by SdPresLayoutDlg().

◆ m_xCbxCheckMasters

std::unique_ptr<weld::CheckButton> SdPresLayoutDlg::m_xCbxCheckMasters
private

Definition at line 61 of file sdpreslt.hxx.

Referenced by GetAttr(), and Reset().

◆ m_xCbxMasterPage

std::unique_ptr<weld::CheckButton> SdPresLayoutDlg::m_xCbxMasterPage
private

Definition at line 60 of file sdpreslt.hxx.

Referenced by GetAttr(), and Reset().

◆ m_xLabel

std::unique_ptr<weld::Label> SdPresLayoutDlg::m_xLabel
private

Definition at line 65 of file sdpreslt.hxx.

Referenced by SdPresLayoutDlg().

◆ m_xVS

std::unique_ptr<ValueSet> SdPresLayoutDlg::m_xVS
private

Definition at line 63 of file sdpreslt.hxx.

Referenced by FillValueSet(), GetAttr(), Reset(), and SdPresLayoutDlg().

◆ m_xVSWin

std::unique_ptr<weld::CustomWeld> SdPresLayoutDlg::m_xVSWin
private

Definition at line 64 of file sdpreslt.hxx.

Referenced by SdPresLayoutDlg().

◆ maLayoutNames

std::vector<OUString> SdPresLayoutDlg::maLayoutNames
private

Definition at line 54 of file sdpreslt.hxx.

Referenced by FillValueSet(), GetAttr(), and Reset().

◆ maName

OUString SdPresLayoutDlg::maName
private

layout name or file name

Definition at line 56 of file sdpreslt.hxx.

Referenced by GetAttr(), and Reset().

◆ maStrNone

const OUString SdPresLayoutDlg::maStrNone
private

Definition at line 58 of file sdpreslt.hxx.

Referenced by GetAttr().

◆ mnLayoutCount

tools::Long SdPresLayoutDlg::mnLayoutCount
private

number of master pages in the document

Definition at line 57 of file sdpreslt.hxx.

Referenced by GetAttr(), and Reset().

◆ mpDocSh

::sd::DrawDocShell* SdPresLayoutDlg::mpDocSh
private

Definition at line 50 of file sdpreslt.hxx.

Referenced by FillValueSet(), and SdPresLayoutDlg().

◆ mrOutAttrs

const SfxItemSet& SdPresLayoutDlg::mrOutAttrs
private

Definition at line 52 of file sdpreslt.hxx.

Referenced by Reset().


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