LibreOffice Module sd (master) 1
|
#include <custsdlg.hxx>
Public Member Functions | |
SdDefineCustomShowDlg (weld::Window *pWindow, SdDrawDocument &rDrawDoc, std::unique_ptr< SdCustomShow > &rpCS) | |
virtual | ~SdDefineCustomShowDlg () override |
![]() | |
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 | CheckState () |
void | CheckCustomShow () |
Checks the page pointer of the Show since entries can be moved and copied by TreeLB. More... | |
DECL_LINK (ClickButtonHdl, weld::Button &, void) | |
DECL_LINK (ClickButtonEditHdl, weld::Entry &, void) | |
DECL_LINK (ClickButtonHdl3, weld::TreeView &, void) | |
DECL_LINK (ClickButtonHdl4, weld::TreeView &, void) | |
DECL_LINK (OKHdl, weld::Button &, void) | |
void | ClickButtonHdl2 (void const *) |
Private Attributes | |
SdDrawDocument & | rDoc |
std::unique_ptr< SdCustomShow > & | rpCustomShow |
bool | bModified |
OUString | aOldName |
std::unique_ptr< weld::Entry > | m_xEdtName |
std::unique_ptr< weld::TreeView > | m_xLbPages |
std::unique_ptr< weld::Button > | m_xBtnAdd |
std::unique_ptr< weld::Button > | m_xBtnRemove |
std::unique_ptr< weld::TreeView > | m_xLbCustomPages |
std::unique_ptr< weld::ReorderingDropTarget > | m_xDropTargetHelper |
std::unique_ptr< weld::Button > | m_xBtnOK |
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 55 of file custsdlg.hxx.
SdDefineCustomShowDlg::SdDefineCustomShowDlg | ( | weld::Window * | pWindow, |
SdDrawDocument & | rDrawDoc, | ||
std::unique_ptr< SdCustomShow > & | rpCS | ||
) |
Definition at line 241 of file custsdlg.cxx.
References aOldName, CheckState(), SdPage::GetName(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), LINK, m_xBtnAdd, m_xBtnOK, m_xBtnRemove, m_xEdtName, m_xLbCustomPages, m_xLbPages, rDoc, rpCustomShow, SdResId(), Standard, and weld::toId().
|
overridevirtual |
Definition at line 302 of file custsdlg.cxx.
|
private |
Checks the page pointer of the Show since entries can be moved and copied by TreeLB.
Definition at line 386 of file custsdlg.cxx.
References aStr, bModified, i, m_xEdtName, m_xLbCustomPages, nCount, and rpCustomShow.
|
private |
Definition at line 307 of file custsdlg.cxx.
References m_xBtnAdd, m_xBtnOK, m_xBtnRemove, m_xLbCustomPages, and m_xLbPages.
Referenced by ClickButtonHdl2(), and SdDefineCustomShowDlg().
|
private |
Definition at line 339 of file custsdlg.cxx.
References aStr, bModified, CheckState(), SdDrawDocument::GetSdPage(), i, m_xBtnAdd, m_xBtnRemove, m_xEdtName, m_xLbCustomPages, m_xLbPages, nPos, p, rDoc, sId, Standard, and weld::toId().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 61 of file custsdlg.hxx.
Referenced by SdDefineCustomShowDlg().
|
private |
Definition at line 60 of file custsdlg.hxx.
Referenced by CheckCustomShow(), and ClickButtonHdl2().
|
private |
Definition at line 65 of file custsdlg.hxx.
Referenced by CheckState(), ClickButtonHdl2(), and SdDefineCustomShowDlg().
|
private |
Definition at line 69 of file custsdlg.hxx.
Referenced by CheckState(), and SdDefineCustomShowDlg().
|
private |
Definition at line 66 of file custsdlg.hxx.
Referenced by CheckState(), ClickButtonHdl2(), and SdDefineCustomShowDlg().
|
private |
Definition at line 68 of file custsdlg.hxx.
|
private |
Definition at line 63 of file custsdlg.hxx.
Referenced by CheckCustomShow(), ClickButtonHdl2(), and SdDefineCustomShowDlg().
|
private |
Definition at line 67 of file custsdlg.hxx.
Referenced by CheckCustomShow(), CheckState(), ClickButtonHdl2(), and SdDefineCustomShowDlg().
|
private |
Definition at line 64 of file custsdlg.hxx.
Referenced by CheckState(), ClickButtonHdl2(), and SdDefineCustomShowDlg().
|
private |
Definition at line 58 of file custsdlg.hxx.
Referenced by ClickButtonHdl2(), and SdDefineCustomShowDlg().
|
private |
Definition at line 59 of file custsdlg.hxx.
Referenced by CheckCustomShow(), and SdDefineCustomShowDlg().