LibreOffice Module sd (master) 1
|
Dialog to define optionsm_xnd to start the presentation. More...
#include <present.hxx>
Public Member Functions | |
SdStartPresentationDlg (weld::Window *pWindow, const SfxItemSet &rInAttrs, const std::vector< OUString > &rPageNames, SdCustomShowList *pCSList) | |
virtual | ~SdStartPresentationDlg () override |
void | GetAttr (SfxItemSet &rOutAttrs) |
sets the selected attributes of the dialog 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 Types | |
enum | DisplayType { EXTERNAL_IS_NUMBER , MONITOR_NORMAL , MONITOR_IS_EXTERNAL } |
Private Member Functions | |
DECL_LINK (ChangeRangeHdl, weld::Toggleable &, void) | |
DECL_LINK (ClickWindowPresentationHdl, weld::Toggleable &, void) | |
void | ChangePause () |
DECL_LINK (ChangePauseHdl, weld::FormattedSpinButton &, void) | |
void | InitMonitorSettings () |
sal_Int32 | InsertDisplayEntry (const OUString &aName, sal_Int32 nDisplay) |
Store display index together with name in user data. More... | |
OUString | GetDisplayName (sal_Int32 nDisplay, DisplayType eType) |
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 |
Dialog to define optionsm_xnd to start the presentation.
Definition at line 31 of file present.hxx.
|
private |
Enumerator | |
---|---|
EXTERNAL_IS_NUMBER | |
MONITOR_NORMAL | |
MONITOR_IS_EXTERNAL |
Definition at line 73 of file present.hxx.
SdStartPresentationDlg::SdStartPresentationDlg | ( | weld::Window * | pWindow, |
const SfxItemSet & | rInAttrs, | ||
const std::vector< OUString > & | rPageNames, | ||
SdCustomShowList * | pCSList | ||
) |
Definition at line 34 of file present.cxx.
References ChangePause(), SdCustomShowList::First(), SfxItemSet::Get(), SdCustomShowList::GetCurPos(), SdCustomShow::GetName(), SfxBoolItem::GetValue(), GetValue, InitMonitorSettings(), LINK, m_xCbxAlwaysOnTop, m_xCbxAnimationAllowed, m_xCbxAutoLogo, m_xCbxChangePage, m_xCbxManuel, m_xCbxMousepointer, m_xCbxPen, m_xCbxShowNavigationButton, m_xFormatter, m_xLbCustomshow, m_xLbDias, m_xRbtAll, m_xRbtAtDia, m_xRbtAuto, m_xRbtCustomshow, m_xRbtStandard, m_xRbtWindow, m_xTmfPause, SdCustomShowList::Next(), pCustomShowList, rOutAttrs, and SdCustomShowList::Seek().
|
overridevirtual |
Definition at line 143 of file present.cxx.
|
private |
Definition at line 317 of file present.cxx.
References m_xCbxAutoLogo, m_xFormatter, and m_xRbtAuto.
Referenced by SdStartPresentationDlg().
|
private |
|
private |
|
private |
void SdStartPresentationDlg::GetAttr | ( | SfxItemSet & | rOutAttrs | ) |
sets the selected attributes of the dialog
Definition at line 250 of file present.cxx.
References m_xCbxAlwaysOnTop, m_xCbxAnimationAllowed, m_xCbxAutoLogo, m_xCbxChangePage, m_xCbxManuel, m_xCbxMousepointer, m_xCbxPen, m_xCbxShowNavigationButton, m_xFormatter, m_xLbCustomshow, m_xLbDias, m_xLBMonitor, m_xRbtAll, m_xRbtAuto, m_xRbtCustomshow, m_xRbtWindow, nPos, pCustomShowList, SfxItemSet::Put(), and SdCustomShowList::Seek().
|
private |
Definition at line 147 of file present.cxx.
References aName, eType, EXTERNAL_IS_NUMBER, m_xExternal, m_xMonitor, m_xMonitorExternal, MONITOR_IS_EXTERNAL, and MONITOR_NORMAL.
Referenced by InitMonitorSettings().
|
private |
Definition at line 178 of file present.cxx.
References aName, Exception, EXTERNAL_IS_NUMBER, SfxItemSet::Get(), Application::GetDisplayExternalScreen(), GetDisplayName(), Application::GetScreenCount(), InsertDisplayEntry(), m_xAllMonitors, m_xFtMonitor, m_xLBMonitor, mnMonitors, MONITOR_IS_EXTERNAL, MONITOR_NORMAL, and rOutAttrs.
Referenced by SdStartPresentationDlg().
|
private |
Store display index together with name in user data.
Definition at line 171 of file present.cxx.
References aName, and m_xLBMonitor.
Referenced by InitMonitorSettings().
|
private |
Definition at line 63 of file present.hxx.
Referenced by InitMonitorSettings().
|
private |
Definition at line 56 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 54 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 49 of file present.hxx.
Referenced by ChangePause(), GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 55 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 51 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 52 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 53 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 57 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 65 of file present.hxx.
Referenced by GetDisplayName().
|
private |
Definition at line 48 of file present.hxx.
Referenced by ChangePause(), GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 59 of file present.hxx.
Referenced by InitMonitorSettings().
|
private |
Definition at line 42 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 41 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 60 of file present.hxx.
Referenced by GetAttr(), InitMonitorSettings(), and InsertDisplayEntry().
|
private |
Definition at line 62 of file present.hxx.
Referenced by GetDisplayName().
|
private |
Definition at line 64 of file present.hxx.
Referenced by GetDisplayName().
|
private |
Definition at line 38 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 39 of file present.hxx.
Referenced by SdStartPresentationDlg().
|
private |
Definition at line 46 of file present.hxx.
Referenced by ChangePause(), GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 40 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 44 of file present.hxx.
Referenced by SdStartPresentationDlg().
|
private |
Definition at line 45 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 47 of file present.hxx.
Referenced by SdStartPresentationDlg().
|
private |
Definition at line 36 of file present.hxx.
Referenced by InitMonitorSettings().
|
private |
Definition at line 34 of file present.hxx.
Referenced by GetAttr(), and SdStartPresentationDlg().
|
private |
Definition at line 35 of file present.hxx.
Referenced by InitMonitorSettings(), and SdStartPresentationDlg().