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

#include <inspagob.hxx>

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

Public Member Functions

 SdInsertPagesObjsDlg (weld::Window *pParent, const SdDrawDocument *pDoc, SfxMedium *pSfxMedium, const OUString &rFileName)
 
virtual ~SdInsertPagesObjsDlg () override
 
std::vector< OUString > GetList (const sal_uInt16 nType)
 returns the list nType == 0 -> pages nType == 1 -> objects
More...
 
bool IsLink () const
 is link checked More...
 
bool IsRemoveUnnecessaryMasterPages () const
 is link checked More...
 
- 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 Reset ()
 Fills the TreeLB dependent on the medium. More...
 
 DECL_LINK (SelectObjectHdl, weld::TreeView &, void)
 

Private Attributes

SfxMediumm_pMedium
 
const SdDrawDocumentm_pDoc
 
const OUString & m_rName
 
std::unique_ptr< SdPageObjsTLVm_xLbTree
 
std::unique_ptr< weld::CheckButtonm_xCbxLink
 
std::unique_ptr< weld::CheckButtonm_xCbxMasters
 

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 28 of file inspagob.hxx.

Constructor & Destructor Documentation

◆ SdInsertPagesObjsDlg()

SdInsertPagesObjsDlg::SdInsertPagesObjsDlg ( weld::Window pParent,
const SdDrawDocument pDoc,
SfxMedium pSfxMedium,
const OUString &  rFileName 
)

◆ ~SdInsertPagesObjsDlg()

SdInsertPagesObjsDlg::~SdInsertPagesObjsDlg ( )
overridevirtual

Definition at line 58 of file inspagob.cxx.

Member Function Documentation

◆ DECL_LINK()

SdInsertPagesObjsDlg::DECL_LINK ( SelectObjectHdl  ,
weld::TreeView ,
void   
)
private

◆ GetList()

std::vector< OUString > SdInsertPagesObjsDlg::GetList ( const sal_uInt16  nType)

returns the list nType == 0 -> pages nType == 1 -> objects

Definition at line 83 of file inspagob.cxx.

References m_pMedium, m_xLbTree, and nType.

◆ IsLink()

bool SdInsertPagesObjsDlg::IsLink ( ) const

is link checked

Definition at line 105 of file inspagob.cxx.

References m_xCbxLink.

◆ IsRemoveUnnecessaryMasterPages()

bool SdInsertPagesObjsDlg::IsRemoveUnnecessaryMasterPages ( ) const

is link checked

Definition at line 113 of file inspagob.cxx.

References m_xCbxMasters.

◆ Reset()

void SdInsertPagesObjsDlg::Reset ( void  )
private

Fills the TreeLB dependent on the medium.

Is not medium available, then it is a text and not a draw document.

Definition at line 66 of file inspagob.cxx.

References m_pDoc, m_pMedium, m_rName, m_xCbxMasters, and m_xLbTree.

Referenced by SdInsertPagesObjsDlg().

Member Data Documentation

◆ m_pDoc

const SdDrawDocument* SdInsertPagesObjsDlg::m_pDoc
private

Definition at line 32 of file inspagob.hxx.

Referenced by Reset(), and SdInsertPagesObjsDlg().

◆ m_pMedium

SfxMedium* SdInsertPagesObjsDlg::m_pMedium
private

Definition at line 31 of file inspagob.hxx.

Referenced by GetList(), Reset(), and SdInsertPagesObjsDlg().

◆ m_rName

const OUString& SdInsertPagesObjsDlg::m_rName
private

Definition at line 33 of file inspagob.hxx.

Referenced by Reset().

◆ m_xCbxLink

std::unique_ptr<weld::CheckButton> SdInsertPagesObjsDlg::m_xCbxLink
private

Definition at line 36 of file inspagob.hxx.

Referenced by IsLink().

◆ m_xCbxMasters

std::unique_ptr<weld::CheckButton> SdInsertPagesObjsDlg::m_xCbxMasters
private

Definition at line 37 of file inspagob.hxx.

Referenced by IsRemoveUnnecessaryMasterPages(), and Reset().

◆ m_xLbTree

std::unique_ptr<SdPageObjsTLV> SdInsertPagesObjsDlg::m_xLbTree
private

Definition at line 35 of file inspagob.hxx.

Referenced by GetList(), Reset(), and SdInsertPagesObjsDlg().


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