LibreOffice Module sd (master) 1
|
#include <inspagob.hxx>
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... | |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
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 | Reset () |
Fills the TreeLB dependent on the medium. More... | |
DECL_LINK (SelectObjectHdl, weld::TreeView &, void) | |
Private Attributes | |
SfxMedium * | m_pMedium |
const SdDrawDocument * | m_pDoc |
const OUString & | m_rName |
std::unique_ptr< SdPageObjsTLV > | m_xLbTree |
std::unique_ptr< weld::CheckButton > | m_xCbxLink |
std::unique_ptr< weld::CheckButton > | m_xCbxMasters |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 28 of file inspagob.hxx.
SdInsertPagesObjsDlg::SdInsertPagesObjsDlg | ( | weld::Window * | pParent, |
const SdDrawDocument * | pDoc, | ||
SfxMedium * | pSfxMedium, | ||
const OUString & | rFileName | ||
) |
Definition at line 31 of file inspagob.cxx.
References Draw, SdDrawDocument::GetDocSh(), SdDrawDocument::GetDocumentType(), LINK, m_pDoc, m_pMedium, weld::GenericDialogController::m_xDialog, m_xLbTree, Reset(), and SdResId().
|
overridevirtual |
Definition at line 58 of file inspagob.cxx.
|
private |
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.
bool SdInsertPagesObjsDlg::IsLink | ( | ) | const |
bool SdInsertPagesObjsDlg::IsRemoveUnnecessaryMasterPages | ( | ) | const |
|
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().
|
private |
Definition at line 32 of file inspagob.hxx.
Referenced by Reset(), and SdInsertPagesObjsDlg().
|
private |
Definition at line 31 of file inspagob.hxx.
Referenced by GetList(), Reset(), and SdInsertPagesObjsDlg().
|
private |
Definition at line 33 of file inspagob.hxx.
Referenced by Reset().
|
private |
Definition at line 36 of file inspagob.hxx.
Referenced by IsLink().
|
private |
Definition at line 37 of file inspagob.hxx.
Referenced by IsRemoveUnnecessaryMasterPages(), and Reset().
|
private |
Definition at line 35 of file inspagob.hxx.
Referenced by GetList(), Reset(), and SdInsertPagesObjsDlg().