41 :
FuPoor(pViewSh, pWin, pView, pDoc, rReq)
48 xFunc->DoExecute(rReq);
58 case SID_GO_TO_FIRST_PAGE:
70 case SID_GO_TO_PREVIOUS_PAGE:
80 SdPage* pPage = pDrawViewShell->GetActualPage();
81 sal_uInt16 nSdPage = (pPage->
GetPageNum() - 1) / 2;
90 ->GetPageTabControl();
91 if (rPageTabControl.IsReallyShown())
94 if (rPageTabControl.IsReallyShown())
101 case SID_GO_TO_NEXT_PAGE:
110 SdPage* pPage = pDrawViewShell->GetActualPage();
111 sal_uInt16 nSdPage = (pPage->
GetPageNum() - 1) / 2;
113 if (nSdPage < mpDoc->GetSdPageCount(pPage->
GetPageKind()) - 1)
120 if (rPageTabControl.IsReallyShown())
123 if (rPageTabControl.IsReallyShown())
130 case SID_GO_TO_LAST_PAGE:
136 SdPage* pPage = pDrawViewShell->GetActualPage();
146 rBindings.
Invalidate(SID_GO_TO_PREVIOUS_PAGE);
sal_uInt16 GetSdPageCount(PageKind ePgKind) const
PageKind GetPageKind() const
virtual bool IsTextEdit() const final override
sal_uInt16 GetPageNum() const
void Invalidate(sal_uInt16 nId)
sal_uInt16 GetSlot() const
SfxBindings & GetBindings()
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
virtual void DoExecute(SfxRequest &rReq) override
FuNavigation(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
static rtl::Reference< FuPoor > Create(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
Base class for all functions.
static bool IsRunning(ViewShellBase const &rBase)
returns true if there is a running presentation for the given ViewShellBase
void SendDeactivatePageEvent()
Inform all listeners of this control that the current page has been deactivated.
void SendActivatePageEvent()
Inform all listeners of this control that the current page has been activated.
Base class of the stacked shell hierarchy.
SD_DLLPUBLIC ViewShellBase & GetViewShellBase() const
SD_DLLPUBLIC SfxViewFrame * GetViewFrame() const
virtual SdrEndTextEditKind SdrEndTextEdit(bool bDontDeleteReally=false) override
ends current text editing
An SdWindow contains the actual working area of ViewShell.