LibreOffice Module sd (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
sd::PresentationViewShell Class Referencefinal

This view shell is responsible for showing the presentation of an Impress document. More...

#include <PresentationViewShell.hxx>

Inheritance diagram for sd::PresentationViewShell:
[legend]
Collaboration diagram for sd::PresentationViewShell:
[legend]

Public Member Functions

 PresentationViewShell (ViewShellBase &rViewShellBase, vcl::Window *pParentWindow, FrameView *pFrameView)
 
virtual ~PresentationViewShell () override
 
void FinishInitialization (FrameView *pFrameView)
 This method is used by a simple class that passes some arguments from the creator of the new view shell to the new view shell object by waiting for its asynchronous creation. More...
 
virtual void Resize () override
 Notify the view shell that its parent window has been resized. More...
 
- Public Member Functions inherited from sd::DrawViewShell
 DrawViewShell (ViewShellBase &rViewShellBase, vcl::Window *pParentWindow, PageKind ePageKind, FrameView *pFrameView)
 Create a new stackable shell that may take some information (e.g. More...
 
virtual ~DrawViewShell () override
 
virtual void Init (bool bIsMainViewShell) override
 The Init method has to be called from the outside directly after a new object of this class has been created. More...
 
virtual void Shutdown () override
 This method is more or less an alias to Deactivate(). More...
 
void PrePaint () override
 
virtual void Paint (const ::tools::Rectangle &rRect, ::sd::Window *pWin) override
 The event is forwarded to the Viewshell and the current function by the window pWin. More...
 
virtual void ArrangeGUIElements () override
 Arrange and resize the GUI elements like rulers, sliders, and buttons as well as the actual document view according to the size of the enclosing window and current sizes of buttons, rulers, and sliders. More...
 
void HidePage ()
 
virtual bool KeyInput (const KeyEvent &rKEvt, ::sd::Window *pWin) override
 
virtual void MouseMove (const MouseEvent &rMEvt, ::sd::Window *pWin) override
 
virtual void MouseButtonUp (const MouseEvent &rMEvt, ::sd::Window *pWin) override
 
virtual void MouseButtonDown (const MouseEvent &rMEvt, ::sd::Window *pWin) override
 
virtual void Command (const CommandEvent &rCEvt, ::sd::Window *pWin) override
 
bool IsMouseButtonDown () const
 
bool IsMouseSelecting () const
 
virtual void Resize () override
 Notify the view shell that its parent window has been resized. More...
 
void ShowMousePosInfo (const ::tools::Rectangle &rRect, ::sd::Window const *pWin)
 
virtual void ChangeEditMode (EditMode eMode, bool bIsLayerModeActive)
 Set status (enabled/disabled) of menu SfxSlots. More...
 
virtual void SetZoom (::tools::Long nZoom) override
 set zoom factor More...
 
virtual void SetZoomRect (const ::tools::Rectangle &rZoomRect) override
 Set zoom rectangle for active window. More...
 
void InsertURLField (const OUString &rURL, const OUString &rText, const OUString &rTarget)
 
void InsertURLButton (const OUString &rURL, const OUString &rText, const OUString &rTarget, const Point *pPos)
 
void SelectionHasChanged ()
 Called, if state of selection of view is changed. More...
 
void ModelHasChanged ()
 
virtual void Activate (bool bIsMDIActivate) override
 set focus to working window More...
 
virtual void Deactivate (bool IsMDIActivate) override
 
virtual void UIActivating (SfxInPlaceClient *) override
 
virtual void UIDeactivated (SfxInPlaceClient *) override
 
OUString GetSelectionText (bool bCompleteWords)
 
bool HasSelection (bool bText) const
 
::OutlinerGetOutlinerForMasterPageOutlineTextObj (ESelection &rSel)
 
void ExecCtrl (SfxRequest &rReq)
 handle SfxRequests for controller More...
 
void GetCtrlState (SfxItemSet &rSet)
 Set state of controller SfxSlots. More...
 
void GetDrawAttrState (SfxItemSet &rSet)
 
void GetMenuState (SfxItemSet &rSet)
 
void GetTableMenuState (SfxItemSet &rSet)
 
void GetModeSwitchingMenuState (SfxItemSet &rSet)
 Set the items of the given item set that are related to switching the editing mode to the correct values. More...
 
void GetAttrState (SfxItemSet &rSet)
 
void GetSnapItemState (SfxItemSet &rSet)
 set state of snap object entries in popup More...
 
void SetPageProperties (SfxRequest &rReq)
 
void GetPageProperties (SfxItemSet &rSet)
 
void GetMarginProperties (SfxItemSet &rSet)
 
void GetState (SfxItemSet &rSet)
 
void Execute (SfxRequest &rReq)
 
void ExecStatusBar (SfxRequest &rReq)
 
void GetStatusBarState (SfxItemSet &rSet)
 
void ExecOptionsBar (SfxRequest &rReq)
 
void GetOptionsBarState (SfxItemSet &rSet)
 
void ExecRuler (SfxRequest &rReq)
 
void GetRulerState (SfxItemSet &rSet)
 
void ExecFormText (SfxRequest &rReq)
 handle SfxRequests for FontWork More...
 
void GetFormTextState (SfxItemSet &rSet)
 Return state values for FontWork. More...
 
void ExecAnimationWin (SfxRequest &rReq)
 
void GetAnimationWinState (SfxItemSet &rSet)
 Return status values for animator. More...
 
void ExecNavigatorWin (SfxRequest &rReq)
 handle SfxRequests for navigator More...
 
void GetNavigatorWinState (SfxItemSet &rSet)
 
void ExecutePropPanelAttr (SfxRequest const &rReq)
 
void GetStatePropPanelAttr (SfxItemSet &rSet)
 
void ExecEffectWin (SfxRequest &rReq)
 Handle SfxRequests for EffekteWindow. More...
 
void Update3DWindow ()
 
void AssignFrom3DWindow ()
 
void ExecGallery (SfxRequest const &rReq)
 
void ExecBmpMask (SfxRequest const &rReq)
 Handle SfxRequests for pipette. More...
 
void GetBmpMaskState (SfxItemSet &rSet)
 
void ExecIMap (SfxRequest const &rReq)
 
void GetIMapState (SfxItemSet &rSet)
 
void FuTemporary (SfxRequest &rReq)
 SfxRequests for temporary actions. More...
 
void FuPermanent (SfxRequest &rReq)
 
void FuSupport (SfxRequest &rReq)
 
void FuDeleteSelectedObjects ()
 
void FuSupportRotate (SfxRequest const &rReq)
 
void FuTable (SfxRequest &rReq)
 
void AttrExec (SfxRequest &rReq)
 Edit macros for attribute configuration. More...
 
void AttrState (SfxItemSet &rSet)
 Edit macros for attribute configuration. More...
 
void ExecGoToNextPage (SfxRequest &rReq)
 
void GetStateGoToNextPage (SfxItemSet &rSet)
 
void ExecGoToPreviousPage (SfxRequest &rReq)
 
void GetStateGoToPreviousPage (SfxItemSet &rSet)
 
void ExecGoToFirstPage (SfxRequest &rReq)
 
void GetStateGoToFirstPage (SfxItemSet &rSet)
 
void ExecGoToLastPage (SfxRequest &rReq)
 
void GetStateGoToLastPage (SfxItemSet &rSet)
 
SD_DLLPUBLIC void ExecChar (SfxRequest &rReq)
 
void ExecuteAnnotation (SfxRequest const &rRequest)
 
void GetAnnotationState (SfxItemSet &rItemSet)
 
void StartRulerDrag (const Ruler &rRuler, const MouseEvent &rMEvt)
 Start with Drag from ruler (helper lines, origin) More...
 
virtual bool PrepareClose (bool bUI=true) override
 PrepareClose, as appropriate end text input, so other viewshells discover a refreshed text object. More...
 
PageKind GetPageKind () const
 
void SetPageKind (PageKind ePageKind)
 
const PointGetMousePos () const
 
EditMode GetEditMode () const
 
virtual SdPageGetActualPage () override
 
virtual SdPagegetCurrentPage () const override
 inherited from sd::ViewShell More...
 
void ResetActualPage ()
 Select new refreshed page, in case of a page order change (eg. More...
 
void ResetActualLayer ()
 Select new refreshed page, in case of a page order change (eg. More...
 
bool SwitchPage (sal_uInt16 nPage, bool bAllowChangeFocus=true)
 Switch to desired page. More...
 
bool IsSwitchPageAllowed () const
 Check if page change is allowed. More...
 
bool SelectPage (sal_uInt16 nPage, sal_uInt16 nSelect)
 Mark the desired page as selected (1), deselected (0), toggle (2). More...
 
bool IsSelected (sal_uInt16 nPage)
 
void GotoBookmark (std::u16string_view rBookmark)
 
void FreshNavigatrTree ()
 
void MakeVisible (const ::tools::Rectangle &rRect, vcl::Window &rWin)
 Make area visible (scroll part of picture) |* . More...
 
virtual void ReadFrameViewData (FrameView *pView) override
 Apply data of the FrameView on the current view. More...
 
virtual void WriteFrameViewData () override
 Apply data of the current view on the FrameView. More...
 
virtual ErrCode DoVerb (sal_Int32 nVerb) override
 Apply "Verb" on OLE-object. More...
 
virtual bool ActivateObject (SdrOle2Obj *pObj, sal_Int32 nVerb) override
 Activate OLE-object. More...
 
void SetZoomOnPage (bool bZoom)
 
bool IsZoomOnPage () const
 
void SetChildWindowState (SfxItemSet &rSet)
 
void UpdateIMapDlg (SdrObject *pObj)
 
void LockInput ()
 
void UnlockInput ()
 
bool IsInputLocked () const
 
sal_uInt16 GetCurPagePos () const
 
virtual void ShowUIControls (bool bVisible) override
 Show controls of the UI or hide them, depending on the given flag. More...
 
void ScannerEvent ()
 
bool IsLayerModeActive () const
 
virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt, DropTargetHelper &rTargetHelper, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer) override
 AcceptDrop. More...
 
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt, DropTargetHelper &rTargetHelper, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer) override
 ExecuteDrop. More...
 
virtual void WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) override
 
virtual void ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) override
 
virtual void VisAreaChanged (const ::tools::Rectangle &rRect) override
 this method is called when the visible area of the view from this viewshell is changed More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleDocumentView (::sd::Window *pWindow) override
 Create an accessible object representing the specified window. More...
 
int GetTabLayerCount () const
 Return the number of layers managed by the layer tab control. More...
 
int GetActiveTabLayerIndex () const
 Return the numerical id of the currently active layer as seen by the layer tab control. More...
 
void SetActiveTabLayerIndex (int nId)
 Set the active layer at the layer tab control and update the control accordingly to reflect the change on screen. More...
 
TabControlGetPageTabControl ()
 Return a pointer to the tab control for pages. More...
 
SD_DLLPUBLIC LayerTabBarGetLayerTabControl ()
 Return a pointer to the tab control for layers. More...
 
bool RenameSlide (sal_uInt16 nPageId, const OUString &rName)
 Renames the given slide using an SvxNameDialog. More...
 
void ModifyLayer (SdrLayer *pLayer, const OUString &rLayerName, const OUString &rLayerTitle, const OUString &rLayerDesc, bool bIsVisible, bool bIsLocked, bool bIsPrintable)
 modifies the given layer with the given values More...
 
virtual css::uno::Reference< css::drawing::XDrawSubController > CreateSubController () override
 Return a sub controller that implements the view shell specific part of the DrawController. More...
 
DrawViewGetDrawView () const
 
virtual bool RelocateToParentWindow (vcl::Window *pParentWindow) override
 Relocation to a new parent window is not supported for DrawViewShell objects so this method always returns <FALSE>. More...
 
OUString const & GetSidebarContextName () const
 
bool IsInSwitchPage () const
 
const SdViewOptionsGetViewOptions () const
 
- Public Member Functions inherited from sd::ViewShell
 ViewShell (vcl::Window *pParentWindow, ViewShellBase &rViewShellBase)
 declare SFX-Slotmap and standard interface More...
 
virtual ~ViewShell () override
 
virtual void Init (bool bIsMainViewShell)
 The Init method has to be called from the outside directly after a new object of this class has been created. More...
 
void Exit ()
 The Exit() method has to be called before the destructor so that the view shell is still a valid object and can safely call methods that rely on that. More...
 
void Cancel ()
 this method deactivates the current function. More...
 
vcl::WindowGetParentWindow () const
 Return the window that is the parent of all controls of this view shell. More...
 
sd::WindowGetContentWindow () const
 
::sd::ViewGetView () const
 
SdrViewGetDrawView () const
 
SD_DLLPUBLIC DrawDocShellGetDocSh () const
 
SdDrawDocumentGetDoc () const
 
SD_DLLPUBLIC SfxViewFrameGetViewFrame () const
 
::sd::WindowGetActiveWindow () const
 The active window is usually the mpContentWindow. More...
 
SD_DLLPUBLIC weld::WindowGetFrameWeld () const
 
void SetActiveWindow (::sd::Window *pWindow)
 Set the active window. More...
 
const ::tools::RectangleGetAllWindowRect ()
 Return the rectangle that encloses all windows of the view. More...
 
virtual void PrePaint ()
 
virtual void Paint (const ::tools::Rectangle &rRect, ::sd::Window *pWin)
 
virtual bool KeyInput (const KeyEvent &rKEvt, ::sd::Window *pWin)
 
virtual void MouseMove (const MouseEvent &rMEvt, ::sd::Window *pWin)
 
virtual void MouseButtonUp (const MouseEvent &rMEvt, ::sd::Window *pWin)
 
virtual void MouseButtonDown (const MouseEvent &rMEvt, ::sd::Window *pWin)
 
virtual void Command (const CommandEvent &rCEvt, ::sd::Window *pWin)
 
bool RequestHelp (const HelpEvent &rEvt)
 
bool Notify (NotifyEvent const &rNEvt, ::sd::Window *pWin)
 
bool HandleScrollCommand (const CommandEvent &rCEvt, ::sd::Window *pWin)
 
void SetUIUnit (FieldUnit eUnit)
 
void SetDefTabHRuler (sal_uInt16 nDefTab)
 set DefTab at horizontal rulers More...
 
const SvxNumBulletItemGetNumBulletItem (SfxItemSet &aNewAttr, TypedWhichId< SvxNumBulletItem > &nNumItemId)
 
bool HasRuler () const
 
void SetRuler (bool bRuler)
 Switch ruler on/off. More...
 
void SetScrollBarsVisible (bool bVisible)
 
virtual void UpdateScrollBars ()
 Set internal values of all scroll bars that determine thumb size and position. More...
 
void Scroll (::tools::Long nX, ::tools::Long nY)
 
void ScrollLines (::tools::Long nX, ::tools::Long nY)
 Scroll a specific number of lines. More...
 
virtual void SetZoom (::tools::Long nZoom)
 Set zoom factor for all split windows. More...
 
::tools::Long GetZoom () const
 
virtual void SetZoomRect (const ::tools::Rectangle &rZoomRect)
 Set zoom rectangle for active window. More...
 
void InitWindows (const Point &rViewOrigin, const Size &rViewSize, const Point &rWinPos, bool bUpdate=false)
 Initialize imaging parameters for all split windows. More...
 
void InvalidateWindows ()
 Invalidate all split windows below the ?provided rectangle. More...
 
virtual void UpdatePreview (SdPage *pPage)
 This method is still used by the OutlineViewShell to update the model according to the content of the outline view. More...
 
void DrawMarkRect (const ::tools::Rectangle &rRect) const
 Draw a selection rectangle with the ?provided pen on all split windows. More...
 
void ExecReq (SfxRequest &rReq)
 
ZoomListGetZoomList ()
 
FrameViewGetFrameView ()
 
void SetFrameView (FrameView *pFrameView)
 Setting a frame view triggers ReadFrameViewData() for the new frame. More...
 
virtual void ReadFrameViewData (FrameView *pView)
 
virtual void WriteFrameViewData ()
 
void WriteUserData ()
 
void ReadUserData ()
 
virtual bool ActivateObject (SdrOle2Obj *pObj, sal_Int32 nVerb)
 
virtual SdPageGetActualPage ()=0
 
virtual SdPagegetCurrentPage () const =0
 
const rtl::Reference< FuPoor > & GetOldFunction () const
 
bool HasOldFunction () const
 
const rtl::Reference< FuPoor > & GetCurrentFunction () const
 
bool HasCurrentFunction (sal_uInt16 nSID)
 
bool HasCurrentFunction () const
 
void SetCurrentFunction (const rtl::Reference< FuPoor > &xFunction)
 
void SetOldFunction (const rtl::Reference< FuPoor > &xFunction)
 
void DeactivateCurrentFunction (bool bPermanent=false)
 
void SetPageSizeAndBorder (PageKind ePageKind, const Size &rNewSize, ::tools::Long nLeft, ::tools::Long nRight, ::tools::Long nUpper, ::tools::Long nLower, bool bScaleAll, Orientation eOrient, sal_uInt16 nPaperBin, bool bBackgroundFullSize)
 
void SetStartShowWithDialog (bool bIn)
 
bool IsStartShowWithDialog () const
 
sal_uInt16 GetPrintedHandoutPageNum () const
 
void SetPrintedHandoutPageNum (sal_uInt16 nPageNumber)
 
sal_uInt16 GetPrintedHandoutPageCount () const
 
void SetPrintedHandoutPageCount (sal_uInt16 nPageCount)
 
virtual bool PrepareClose (bool bUI=true)
 Tell the FmFormShell that the view shell is closing. More...
 
void GetMenuState (SfxItemSet &rSet)
 set state (enabled/disabled) of Menu SfxSlots More...
 
virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt, DropTargetHelper &rTargetHelper, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer)
 
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt, DropTargetHelper &rTargetHelper, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer)
 
virtual void WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &)
 
virtual void ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &)
 
virtual void VisAreaChanged (const ::tools::Rectangle &rRect)
 this method is called when the visible area of the view from this viewshell is changed More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleDocumentView (::sd::Window *pWindow)
 Create an accessible object representing the specified window. More...
 
virtual void SwitchViewFireFocus (const css::uno::Reference< css::accessibility::XAccessible > &xAcc)
 
void SwitchActiveViewFireFocus ()
 
void NotifyAccUpdate ()
 
void fireSwitchCurrentPage (sal_Int32 pageIndex)
 
void SetWinViewPos (const Point &rWinPos)
 
Point const & GetWinViewPos () const
 
Point const & GetViewOrigin () const
 
::sd::WindowUpdaterGetWindowUpdater () const
 Return the window updater of this view shell. More...
 
SvBorder GetBorder ()
 Return the border that is drawn around the actual document view. More...
 
virtual void Resize ()
 Notify the view shell that its parent window has been resized. More...
 
virtual void ArrangeGUIElements ()
 Set position and size of the GUI elements that are controlled by the view shell like rulers and scroll bars as well as the actual document view according to the position and size that were given with the last Resize() call. More...
 
SD_DLLPUBLIC ViewShellBaseGetViewShellBase () const
 
bool IsMainViewShell () const
 Return <TRUE> when the called view shell is the main sub shell of its ViewShellBase object, i.e. More...
 
void SetIsMainViewShell (bool bIsMainViewShell)
 Set or reset the flag that indicates whether the called shell is the one displayed in the center pane. More...
 
virtual css::uno::Reference< css::drawing::XDrawSubController > CreateSubController ()=0
 Return a sub controller that implements the view shell specific part of the DrawController. More...
 
SD_DLLPUBLIC ShellType GetShellType () const
 Return the type of the shell. More...
 
virtual void Shutdown ()
 This method is more or less an alias to Deactivate(). More...
 
virtual ErrCode DoVerb (sal_Int32 nVerb)
 This function is called from the underlying ViewShellBase object to handle a verb execution request. More...
 
virtual void UIActivating (SfxInPlaceClient *)
 
virtual void UIDeactivated (SfxInPlaceClient *)
 
virtual void ShowUIControls (bool bVisible)
 Show controls of the UI or hide them, depending on the given flag. More...
 
bool IsPageFlipMode () const
 
virtual bool RelocateToParentWindow (vcl::Window *pParentWindow)
 Set the given window as new parent window. More...
 
virtual SdPageCreateOrDuplicatePage (SfxRequest &rRequest, PageKind ePageKind, SdPage *pPage, const sal_Int32 nInsertPosition=-1)
 Depending on the given request create a new page or duplicate an existing one. More...
 
void SetCursorMm100Position (const Point &rPosition, bool bPoint, bool bClearMark)
 Allows adjusting the point or mark of the selection to a document coordinate. More...
 
css::uno::Reference< css::datatransfer::XTransferable > GetSelectionTransferable () const
 Gets the current selection. More...
 
void SetGraphicMm100Position (bool bStart, const Point &rPosition)
 Allows starting or ending a graphic move or resize action. More...
 
- Public Member Functions inherited from SfxShell
virtual ~SfxShell () override
 
virtual SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
const SfxPoolItemGetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
 
const SfxPoolItemExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr)
 
void ExecuteSlot (SfxRequest &rReq, bool bAsync)
 
SfxItemPoolGetPool () const
 
void SetPool (SfxItemPool *pNewPool)
 
virtual SfxUndoManagerGetUndoManager ()
 
void SetUndoManager (SfxUndoManager *pNewUndoMgr)
 
SfxRepeatTarget * GetRepeatTarget () const
 
void SetRepeatTarget (SfxRepeatTarget *pTarget)
 
virtual void Invalidate (sal_uInt16 nId=0)
 
virtual bool IsDesignMode () const
 
bool IsActive () const
 
virtual void Activate (bool bMDI)
 
virtual void Deactivate (bool bMDI)
 
SfxDispatcherGetDispatcher () const
 
SfxViewFrameGetFrame () const
 
virtual bool HasUIFeature (SfxShellFeature nFeature) const
 
void UIFeatureChanged ()
 
const SfxPoolItemGetItem (sal_uInt16 nSlotId) const
 
const T * GetItem (TypedWhichId< T > nWhich) const
 
void PutItem (const SfxPoolItem &rItem)
 
void SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs)
 
const css::uno::Sequence< css::embed::VerbDescriptor > & GetVerbs () const
 
void VerbExec (SfxRequest &)
 
SAL_DLLPRIVATE const SfxSlotGetVerbSlot_Impl (sal_uInt16 nId) const
 
virtual SfxObjectShellGetObjectShell ()
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::optional< SfxItemSetCreateItemSet (sal_uInt16 nId)
 
virtual void ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet)
 
void SetContextName (const OUString &rsContextName)
 
void BroadcastContextForActivation (const bool bIsActivated)
 
bool SetContextBroadcasterEnabled (const bool bIsEnabled)
 
SAL_DLLPRIVATE bool CanExecuteSlot_Impl (const SfxSlot &rSlot)
 
virtual bool IsConditionalFastCall (const SfxRequest &rReq)
 
SAL_DLLPRIVATE void DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI)
 
SAL_DLLPRIVATE void DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI)
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 
- Public Member Functions inherited from utl::ConfigurationListener
virtual ~ConfigurationListener ()
 
virtual void ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0
 

Protected Member Functions

virtual VclPtr< SvxRulerCreateHRuler (::sd::Window *pWin) override
 Generate horizontal ruler. More...
 
virtual VclPtr< SvxRulerCreateVRuler (::sd::Window *pWin) override
 Generate vertical ruler. More...
 
- Protected Member Functions inherited from sd::DrawViewShell
 DECL_DLLPRIVATE_LINK (ClipboardChanged, TransferableDataHelper *, void)
 
 DECL_DLLPRIVATE_LINK (TabSplitHdl, TabBar *, void)
 
 DECL_DLLPRIVATE_LINK (NameObjectHdl, AbstractSvxObjectNameDialog &, bool)
 
 DECL_DLLPRIVATE_LINK (RenameSlideHdl, AbstractSvxNameDialog &, bool)
 
void DeleteActualPage ()
 
void DeleteActualLayer ()
 
virtual VclPtr< SvxRulerCreateHRuler (::sd::Window *pWin) override
 Generate horizontal ruler. More...
 
virtual VclPtr< SvxRulerCreateVRuler (::sd::Window *pWin) override
 Generate vertical ruler. More...
 
virtual void UpdateHRuler () override
 Refresh horizontal ruler. More...
 
virtual void UpdateVRuler () override
 Refresh vertical ruler. More...
 
virtual void SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) override
 adjust zoom factor for InPlace More...
 
void SetupPage (Size const &rSize, ::tools::Long nLeft, ::tools::Long nRight, ::tools::Long nUpper, ::tools::Long nLower, bool bSize, bool bMargin, bool bScaleAll)
 Change page parameter if SID_PAGESIZE or SID_PAGEMARGIN. More...
 
void GetMenuStateSel (SfxItemSet &rSet)
 Set state (Enabled/Disabled) of Menu-SfxSlots. More...
 
- Protected Member Functions inherited from sd::ViewShell
void DisposeFunctions ()
 must be called in the beginning of each subclass d'tor. More...
 
virtual SfxUndoManagerImpGetUndoManager () const
 
void ImpGetUndoStrings (SfxItemSet &rSet) const
 
void ImpGetRedoStrings (SfxItemSet &rSet) const
 
void ImpSidUndo (SfxRequest &rReq)
 
void ImpSidRedo (SfxRequest &rReq)
 
 DECL_DLLPRIVATE_LINK (HScrollHdl, weld::Scrollbar &, void)
 
 DECL_DLLPRIVATE_LINK (VScrollHdl, weld::Scrollbar &, void)
 
virtual void VirtHScrollHdl (ScrollAdaptor *pHScroll)
 virtual scroll handler for horizontal Scrollbars More...
 
virtual void VirtVScrollHdl (ScrollAdaptor *pVScroll)
 handling for vertical Scrollbars More...
 
virtual VclPtr< SvxRulerCreateHRuler (::sd::Window *pWin)
 
virtual VclPtr< SvxRulerCreateVRuler (::sd::Window *pWin)
 
virtual void UpdateHRuler ()
 
virtual void UpdateVRuler ()
 
virtual void Activate (bool IsMDIActivate) override
 set focus to working window More...
 
virtual void Deactivate (bool IsMDIActivate) override
 
virtual void SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY)
 Set zoom factor for InPlace. More...
 
void doShow ()
 This must be called after the ctor, but before anything else. More...
 
- Protected Member Functions inherited from SfxShell
 SfxShell ()
 
 SfxShell (SfxViewShell *pViewSh)
 
void SetViewShell_Impl (SfxViewShell *pView)
 
SAL_DLLPRIVATE void Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId)
 

Private Member Functions

virtual void Activate (bool bIsMDIActivate) override
 set focus to working window More...
 
virtual void Paint (const ::tools::Rectangle &rRect, ::sd::Window *pWin) override
 The event is forwarded to the Viewshell and the current function by the window pWin. More...
 
 DECL_LINK (AbortSlideShowHdl, void *, void)
 

Static Private Member Functions

static void InitInterface_Impl ()
 SfxInterface initializer. More...
 

Private Attributes

::tools::Rectangle maOldVisArea
 
ImplSVEventmnAbortSlideShowEvent
 

Additional Inherited Members

- Public Types inherited from sd::ViewShell
enum  ShellType {
  ST_NONE ,
  ST_DRAW ,
  ST_IMPRESS ,
  ST_NOTES ,
  ST_HANDOUT ,
  ST_OUTLINE ,
  ST_SLIDE_SORTER ,
  ST_PRESENTATION ,
  ST_SIDEBAR
}
 
- Static Public Member Functions inherited from sd::DrawViewShell
static void CheckLineTo (SfxRequest &rReq)
 check if we have to draw a polyline More...
 
- Static Public Member Functions inherited from SfxShell
static SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 
- Static Public Attributes inherited from sd::ViewShell
static const int MAX_HSPLIT_CNT = 1
 
static const int MAX_VSPLIT_CNT = 1
 
static const int MIN_SCROLLBAR_SIZE = 50
 
- Static Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 
- Protected Attributes inherited from sd::ViewShell
VclPtr< sd::WindowmpContentWindow
 Window inside the rulers and scroll bars that shows a view of the document. More...
 
VclPtr< ScrollAdaptormpHorizontalScrollBar
 Horizontal scroll bar for the current slide is displayed when needed. More...
 
VclPtr< ScrollAdaptormpVerticalScrollBar
 Vertical scroll bar for whole document is always visible. More...
 
VclPtr< SvxRulermpHorizontalRuler
 Horizontal ruler is not shown by default. More...
 
VclPtr< SvxRulermpVerticalRuler
 Vertical ruler is not shown by default. More...
 
VclPtr< LayerTabBarmpLayerTabBar
 Layer tab bar. More...
 
bool mbHasRulers
 This flag controls whether the rulers are visible. More...
 
VclPtr< ::sd::WindowmpActiveWindow
 The active window. More...
 
::sd::ViewmpView
 
FrameViewmpFrameView
 
rtl::Reference< FuPoormxCurrentFunction
 
rtl::Reference< FuPoormxOldFunction
 
std::unique_ptr< ZoomListmpZoomList
 
double mfLastZoomScale
 
double mfAccumulatedZoom = 0
 
Point maViewPos
 
Size maViewSize
 
Size maScrBarWH
 
bool mbStartShowWithDialog
 
sal_uInt16 mnPrintedHandoutPageNum
 
sal_uInt16 mnPrintedHandoutPageCount
 
::tools::Rectangle maAllWindowRectangle
 Area covered by all windows, i.e. More...
 
ShellType meShellType
 The type of the shell. Returned by GetShellType(). More...
 
std::unique_ptr< Implementation, o3tl::default_delete< Implementation > > mpImpl
 

Detailed Description

This view shell is responsible for showing the presentation of an Impress document.

Definition at line 29 of file PresentationViewShell.hxx.

Constructor & Destructor Documentation

◆ PresentationViewShell()

sd::PresentationViewShell::PresentationViewShell ( ViewShellBase rViewShellBase,
vcl::Window pParentWindow,
FrameView pFrameView 
)

◆ ~PresentationViewShell()

sd::PresentationViewShell::~PresentationViewShell ( )
overridevirtual

Member Function Documentation

◆ Activate()

void sd::PresentationViewShell::Activate ( bool  IsMDIActivate)
overrideprivatevirtual

◆ CreateHRuler()

VclPtr< SvxRuler > sd::PresentationViewShell::CreateHRuler ( ::sd::Window pWin)
overrideprotectedvirtual

Generate horizontal ruler.

Reimplemented from sd::DrawViewShell.

Definition at line 99 of file presvish.cxx.

◆ CreateVRuler()

VclPtr< SvxRuler > sd::PresentationViewShell::CreateVRuler ( ::sd::Window pWin)
overrideprotectedvirtual

Generate vertical ruler.

Reimplemented from sd::DrawViewShell.

Definition at line 104 of file presvish.cxx.

◆ DECL_LINK()

sd::PresentationViewShell::DECL_LINK ( AbortSlideShowHdl  ,
void *  ,
void   
)
private

◆ FinishInitialization()

void sd::PresentationViewShell::FinishInitialization ( FrameView pFrameView)

This method is used by a simple class that passes some arguments from the creator of the new view shell to the new view shell object by waiting for its asynchronous creation.

Parameters
pFrameViewThe frame view that is typically used by the creating object and that shall be shared by the created view shell.

Definition at line 81 of file presvish.cxx.

References sd::FrameView::Connect(), sd::FrameView::Disconnect(), sd::ViewShell::GetActiveWindow(), sd::ViewShell::GetFrameView(), sd::Window::GrabFocus(), sd::DrawViewShell::Init(), sd::ViewShell::SetFrameView(), sd::ViewShell::SetRuler(), and sd::DrawViewShell::WriteFrameViewData().

◆ InitInterface_Impl()

void sd::PresentationViewShell::InitInterface_Impl ( )
staticprivate

◆ Paint()

void sd::PresentationViewShell::Paint ( const ::tools::Rectangle rRect,
::sd::Window pWin 
)
overrideprivatevirtual

The event is forwarded to the Viewshell and the current function by the window pWin.

Remark: pWin==NULL, if Paint() is called from ShowWindow!

Reimplemented from sd::DrawViewShell.

Definition at line 154 of file presvish.cxx.

References sd::SlideShow::GetSlideShow(), and sd::ViewShell::GetViewShellBase().

◆ Resize()

void sd::PresentationViewShell::Resize ( )
overridevirtual

Notify the view shell that its parent window has been resized.

The ViewShell places and resizes its UI elements accordingly. The new size can be obtained from the parent window.

Reimplemented from sd::DrawViewShell.

Definition at line 161 of file presvish.cxx.

References sd::SlideShow::GetSlideShow(), sd::ViewShell::GetViewShellBase(), sd::ViewShell::maViewSize, and sd::ViewShell::Resize().

Member Data Documentation

◆ maOldVisArea

::tools::Rectangle sd::PresentationViewShell::maOldVisArea
private

Definition at line 59 of file PresentationViewShell.hxx.

Referenced by PresentationViewShell(), and ~PresentationViewShell().

◆ mnAbortSlideShowEvent

ImplSVEvent* sd::PresentationViewShell::mnAbortSlideShowEvent
private

Definition at line 60 of file PresentationViewShell.hxx.

Referenced by Activate(), and ~PresentationViewShell().


The documentation for this class was generated from the following files: