38#define ITEMVALUE(ItemSet,Id,Cast) static_cast<const Cast&>((ItemSet).Get(Id)).GetValue()
47 :
FuPoor( pViewSh, pWin, pView, pDoc, rReq )
54 xFunc->DoExecute(rReq);
64 const OUString& rPresPage = rPresentationSettings.
maPresPage;
76 aStr =
SdResId( STR_PAGE ) + OUString::number( nPage + 1 );
79 aPageNameList[ nPage ] =
aStr;
82 if ( rPresPage ==
aStr )
83 aFirstPage = rPresPage;
84 else if ( pPage->
IsSelected() && aFirstPage.isEmpty() )
89 if( aFirstPage.isEmpty() && pPage )
112 if( pDlg->Execute() !=
RET_OK )
117 bool bValuesChanged =
false;
119 pDlg->GetAttr( aDlgSet );
122 if ( bValue != rPresentationSettings.
mbAll )
124 bValuesChanged =
true;
125 rPresentationSettings.
mbAll = bValue;
130 if (!rPresentationSettings.
mbAll)
132 OUString aPage = aDlgSet.
Get(ATTR_PRESENT_DIANAME).GetValue();
133 if( aPage != rPresentationSettings.
maPresPage )
135 bValuesChanged =
true;
143 bValuesChanged =
true;
149 if ( bValue != rPresentationSettings.
mbEndless )
151 bValuesChanged =
true;
152 rPresentationSettings.
mbEndless = bValue;
156 if ( bValue != rPresentationSettings.
mbManual )
158 bValuesChanged =
true;
159 rPresentationSettings.
mbManual = bValue;
165 bValuesChanged =
true;
172 bValuesChanged =
true;
179 bValuesChanged =
true;
186 bValuesChanged =
true;
193 bValuesChanged =
true;
200 bValuesChanged =
true;
207 bValuesChanged =
true;
211 nValue32 = aDlgSet.
Get(ATTR_PRESENT_PAUSE_TIMEOUT).GetValue();
214 bValuesChanged =
true;
221 bValuesChanged =
true;
225 pOptions->
SetDisplay( aDlgSet.
Get(ATTR_PRESENT_DISPLAY).GetValue() );
228 if ( bValuesChanged )
static SD_DLLPUBLIC SdAbstractDialogFactory * Create()
virtual VclPtr< AbstractSdStartPresDlg > CreateSdStartPresentationDlg(weld::Window *pWindow, const SfxItemSet &rInAttrs, const std::vector< OUString > &rPageNames, SdCustomShowList *pCSList)=0
SAL_DLLPRIVATE const sd::PresentationSettings & getPresentationSettings() const
SAL_DLLPRIVATE SfxItemPool & GetPool()
SdPage * GetSdPage(sal_uInt16 nPgNum, PageKind ePgKind) const
SdCustomShowList * GetCustomShowList(bool bCreate=false)
virtual SAL_DLLPRIVATE void SetChanged(bool bFlag=true) override
sal_uInt16 GetSdPageCount(PageKind ePgKind) const
void SetDisplay(sal_Int32 nDisplay)
sal_Int32 GetDisplay() const
const OUString & GetName() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
Base class for all functions.
VclPtr< ::sd::Window > mpWindow
static rtl::Reference< FuPoor > Create(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
FuSlideShowDlg(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
virtual void DoExecute(SfxRequest &rReq) override
Base class of the stacked shell hierarchy.
An SdWindow contains the actual working area of ViewShell.
#define ITEMVALUE(ItemSet, Id, Cast)
OUString SdResId(TranslateId aId)