LibreOffice Module sd (master) 1
Public Member Functions | Protected Member Functions | List of all members
sd::PresentationViewShellBase Class Referencefinal

This class exists to be able to register another factory that creates the view shell for the presentation. More...

#include <PresentationViewShellBase.hxx>

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

Public Member Functions

 SFX_DECL_VIEWFACTORY (PresentationViewShellBase)
 
 PresentationViewShellBase (SfxViewFrame &rFrame, SfxViewShell *pOldShell)
 This constructor is used by the view factory of the SFX macros. More...
 
virtual ~PresentationViewShellBase () override
 
- Public Member Functions inherited from sd::ViewShellBase
 ViewShellBase (SfxViewFrame &rFrame, SfxViewShell *pOldShell)
 This constructor is used by the view factory of the SFX macros. More...
 
virtual ~ViewShellBase () override
 In this destructor the order in which some of the members are destroyed (and/or being prepared to being destroyed) is important. More...
 
void LateInit (const OUString &rsDefaultView)
 This method is part of the object construction. More...
 
std::shared_ptr< ViewShellManager > const & GetViewShellManager () const
 
std::shared_ptr< ViewShellGetMainViewShell () const
 Return the main view shell stacked on the called ViewShellBase object. More...
 
DrawDocShellGetDocShell () const
 
SdDrawDocumentGetDocument () const
 
virtual void Execute (SfxRequest &rRequest)
 Callback function for general slot calls. More...
 
void GetState (SfxItemSet &rSet)
 Callback function for retrieving item values related to certain slots. More...
 
virtual OUString GetSelectionText (bool=false, bool bOnlyASample=false) override
 
virtual bool HasSelection (bool=true) const override
 
SvBorder GetBorder (bool bOuterResize)
 
virtual void InnerResizePixel (const Point &rOrigin, const Size &rSize, bool inplaceEditModeChange) override
 
virtual void OuterResizePixel (const Point &rOrigin, const Size &rSize) override
 
virtual ErrCode DoVerb (sal_Int32 nVerb) override
 This call is forwarded to the main sub-shell. More...
 
virtual css::uno::Reference< css::view::XRenderable > GetRenderable () override
 Return a new renderer that can be used for example for printing the document. More...
 
virtual SfxPrinterGetPrinter (bool bCreate=false) override
 Forwarded to the print manager. More...
 
virtual sal_uInt16 SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) override
 Forwarded to the print manager. More...
 
virtual void WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) override
 Forward methods to main sub shell. More...
 
virtual void ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) override
 Pass the given properties to the main view shell. More...
 
virtual void UIActivating (SfxInPlaceClient *) override
 
virtual void UIDeactivated (SfxInPlaceClient *) override
 
virtual void Activate (bool IsMDIActivate) override
 
virtual void SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) override
 
virtual bool PrepareClose (bool bUI=true) override
 
virtual void WriteUserData (OUString &, bool bBrowse=false) override
 
virtual void ReadUserData (const OUString &, bool bBrowse=false) override
 
virtual SdrViewGetDrawView () const override
 
void SetBusyState (bool bBusy)
 When <TRUE> is given, then the mouse shape is set to hour glass (or whatever the busy shape looks like on the system.) More...
 
void Rearrange ()
 Call this method when the controls of this view shell or the embedded sub shell need to be rearranged. More...
 
void UpdateBorder (bool bForce=false)
 Update the border that is set with SfxViewShell::SetBorderPixel(). More...
 
void ShowUIControls (bool bVisible)
 With this method the UI controls can be turned on or off. More...
 
std::shared_ptr< tools::EventMultiplexer > const & GetEventMultiplexer () const
 Return an event multiplexer. More...
 
const ::tools::RectanglegetClientRectangle () const
 returns the complete area of the current view relative to the frame window More...
 
std::shared_ptr< ToolBarManager > const & GetToolBarManager () const
 
std::shared_ptr< FormShellManager > const & GetFormShellManager () const
 
DrawControllerGetDrawController () const
 
void SetViewTabBar (const ::rtl::Reference< ViewTabBar > &rViewTabBar)
 
vcl::WindowGetViewWindow ()
 Return the window that is used by the main view shell to display its view and other UI elements, like scroll bars and rulers. More...
 
OUString RetrieveLabelFromCommand (const OUString &aCmdURL) const
 returns the ui descriptive name for the given uno slot. More...
 
int getPart () const override
 See SfxViewShell::getPart(). More...
 
int getEditMode () const override
 See SfxViewShell::getEditMode(). More...
 
void setEditMode (int nMode)
 See SfxViewShell::setEditMode(). More...
 
void afterCallbackRegistered () override
 See SfxViewShell::afterCallbackRegistered(). More...
 
void NotifyCursor (SfxViewShell *pViewShell) const override
 See SfxViewShell::NotifyCursor(). More...
 
::Color GetColorConfigColor (svtools::ColorConfigEntry nColorType) const override
 See SfxViewShell::GetColorConfigColor(). More...
 
OUString GetColorConfigName () const override
 See SfxViewShell::GetColorConfigName(). More...
 
void setLOKVisibleArea (const ::tools::Rectangle &rArea)
 
virtual ::tools::Rectangle getLOKVisibleArea () const override
 
virtual void Deactivate (bool IsMDIActivate) override
 
- Public Member Functions inherited from SfxViewShell
 SfxViewShell (SfxViewFrame &rFrame, SfxViewShellFlags nFlags)
 
virtual ~SfxViewShell () override
 
SfxInPlaceClientGetIPClient () const
 
SfxInPlaceClientGetUIActiveClient () const
 
SfxInPlaceClientFindIPClient (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, vcl::Window *pObjParentWin) const
 
virtual ErrCode DoVerb (sal_Int32 nVerb)
 
void OutplaceActivated (bool bActive)
 
virtual void UIActivating (SfxInPlaceClient *pClient)
 
virtual void UIDeactivated (SfxInPlaceClient *pClient)
 
void JumpToMark (const OUString &rMark)
 
void VisAreaChanged ()
 
virtual bool PrepareClose (bool bUI=true)
 
virtual OUString GetSelectionText (bool bCompleteWords=false, bool bOnlyASample=false)
 
virtual bool HasSelection (bool bText=true) const
 
virtual SdrViewGetDrawView () const
 
void AddSubShell (SfxShell &rShell)
 
void RemoveSubShell (SfxShell *pShell=nullptr)
 
SfxShellGetSubShell (sal_uInt16)
 
virtual SfxShellGetFormShell ()
 
virtual const SfxShellGetFormShell () const
 
virtual void notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< vcl::LOKPayloadItem > &rPayload=std::vector< vcl::LOKPayloadItem >()) const override
 
virtual void ShowCursor (bool bOn=true)
 
virtual bool KeyInput (const KeyEvent &rKeyEvent)
 
bool Escape ()
 
vcl::WindowGetWindow () const
 
weld::WindowGetFrameWeld () const
 
void SetWindow (vcl::Window *pViewPort)
 
const SvBorderGetBorderPixel () const
 
void SetBorderPixel (const SvBorder &rBorder)
 
void InvalidateBorder ()
 
SfxViewFrameGetViewFrame () const
 
virtual SfxPrinterGetPrinter (bool bCreate=false)
 
virtual sal_uInt16 SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL)
 
virtual bool HasPrintOptionsPage () const
 
virtual std::unique_ptr< SfxTabPageCreatePrintOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions)
 
PrinterGetActivePrinter () const
 
virtual void WriteUserData (OUString &, bool bBrowse=false)
 
virtual void ReadUserData (const OUString &, bool bBrowse=false)
 
virtual void WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &)
 
virtual void ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &)
 
virtual void QueryObjAreaPixel (tools::Rectangle &rRect) const
 
virtual SfxObjectShellGetObjectShell () override
 
virtual css::uno::Reference< css::frame::XModel > GetCurrentDocument () const
 
void SetCurrentDocument () const
 
virtual css::uno::Reference< css::view::XRenderable > GetRenderable ()
 
virtual void MarginChanged ()
 
const SizeGetMargin () const
 
void SetMargin (const Size &)
 
void DisconnectAllClients ()
 
bool NewWindowAllowed () const
 
void SetNewWindowAllowed (bool bSet)
 
void SetController (SfxBaseController *pController)
 
css::uno::Reference< css::frame::XController > GetController () const
 
bool TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &rIn, const OUString &rMenuIdentifier, rtl::Reference< VCLXPopupMenu > &rOut, css::ui::ContextMenuExecuteEvent aEvent)
 
bool TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &, const OUString &rMenuIdentifier, css::ui::ContextMenuExecuteEvent aEvent)
 
void ExecPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool)
 
void StartPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool)
 
const std::shared_ptr< vcl::PrinterController > & GetPrinterController () const
 
void AddRemoveClipboardListener (const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &, bool)
 
css::uno::Reference< css::datatransfer::clipboard::XClipboardNotifier > GetClipboardNotifier () const
 
SAL_DLLPRIVATE SfxInPlaceClientGetUIActiveIPClient_Impl () const
 
SAL_DLLPRIVATE void AddContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor)
 
SAL_DLLPRIVATE void RemoveContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor)
 
SAL_DLLPRIVATE bool GlobalKeyInput_Impl (const KeyEvent &rKeyEvent)
 
SAL_DLLPRIVATE void NewIPClient_Impl (SfxInPlaceClient *pIPClient)
 
SAL_DLLPRIVATE void IPClientGone_Impl (SfxInPlaceClient const *pIPClient)
 
SAL_DLLPRIVATE void ResetAllClients_Impl (SfxInPlaceClient const *pIP)
 
SAL_DLLPRIVATE void SetPrinter_Impl (VclPtr< SfxPrinter > &pNewPrinter)
 
SAL_DLLPRIVATE bool HandleNotifyEvent_Impl (NotifyEvent const &rEvent)
 
SAL_DLLPRIVATE bool HasKeyListeners_Impl () const
 
SAL_DLLPRIVATE bool HasMouseClickListeners_Impl () const
 
SAL_DLLPRIVATE SfxBaseControllerGetBaseController_Impl () const
 
SAL_DLLPRIVATE void ExecPrint_Impl (SfxRequest &)
 
SAL_DLLPRIVATE void ExecMisc_Impl (SfxRequest &)
 
SAL_DLLPRIVATE void GetState_Impl (SfxItemSet &)
 
SAL_DLLPRIVATE void CheckIPClient_Impl (SfxInPlaceClient const *, const tools::Rectangle &)
 
SAL_DLLPRIVATE void PushSubShells_Impl (bool bPush=true)
 
SAL_DLLPRIVATE void PopSubShells_Impl ()
 
SAL_DLLPRIVATE bool ExecKey_Impl (const KeyEvent &aKey)
 
void setLibreOfficeKitViewCallback (SfxLokCallbackInterface *pCallback)
 
SfxLokCallbackInterfacegetLibreOfficeKitViewCallback () const
 
void dumpLibreOfficeKitViewState (rtl::OStringBuffer &rState)
 
virtual void libreOfficeKitViewCallback (int nType, const OString &pPayload) const override
 
virtual void libreOfficeKitViewCallbackWithViewId (int nType, const OString &pPayload, int nViewId) const override
 
virtual void libreOfficeKitViewInvalidateTilesCallback (const tools::Rectangle *pRect, int nPart, int nMode) const override
 
virtual void libreOfficeKitViewUpdatedCallback (int nType) const override
 
virtual void libreOfficeKitViewUpdatedCallbackPerViewId (int nType, int nViewId, int nSourceViewId) const override
 
virtual void flushPendingLOKInvalidateTiles ()
 
virtual void libreOfficeKitViewAddPendingInvalidateTiles () override
 
virtual std::optional< OString > getLOKPayload (int nType, int nViewId) const
 
void setTiledSearching (bool bTiledSearching)
 
virtual int getPart () const
 
virtual int getEditMode () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
ViewShellId GetViewShellId () const override
 
ViewShellDocId GetDocId () const override
 
virtual void notifyInvalidation (tools::Rectangle const *) const override
 
void NotifyOtherViews (int nType, const OString &rKey, const OString &rPayload) override
 
void NotifyOtherView (OutlinerViewShell *pOtherShell, int nType, const OString &rKey, const OString &rPayload) override
 
virtual void NotifyCursor (SfxViewShell *) const
 
virtual void afterCallbackRegistered ()
 
virtual vcl::WindowGetEditWindowForActiveOLEObj () const override
 
virtual ::Color GetColorConfigColor (svtools::ColorConfigEntry nColorType) const
 
virtual OUString GetColorConfigName () const
 
void SetLOKLanguageTag (const OUString &rBcp47LanguageTag)
 
const LanguageTagGetLOKLanguageTag () const
 
void SetLOKAccessibilityState (bool bEnabled)
 
std::pair< bool, OUString > GetLOKTimezone () const
 
void SetLOKTimezone (bool isSet, const OUString &rTimezone)
 
void SetLOKLocale (const OUString &rBcp47LanguageTag)
 
const LanguageTagGetLOKLocale () const
 
LOKDeviceFormFactor GetLOKDeviceFormFactor () const
 
bool isLOKDesktop () const
 
bool isLOKTablet () const
 
bool isLOKMobilePhone () const
 
virtual tools::Rectangle getLOKVisibleArea () const
 
void setBlockedCommandList (const char *blockedCommandList)
 
bool isBlockedCommand (OUString command)
 
void SetStoringHelper (std::shared_ptr< SfxStoringHelper > xHelper)
 
StylesHighlighterColorMapGetStylesHighlighterParaColorMap ()
 
StylesHighlighterColorMapGetStylesHighlighterCharColorMap ()
 
OUString getA11yFocusedParagraph () const
 
int getA11yCaretPosition () const
 
- 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)
 

Protected Member Functions

virtual void InitializeFramework () override
 
- Protected Member Functions inherited from sd::ViewShellBase
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void InitializeFramework ()
 
- Protected Member Functions inherited from SfxViewShell
virtual void Activate (bool IsMDIActivate) override
 
virtual void Deactivate (bool IsMDIActivate) override
 
virtual void InnerResizePixel (const Point &rOfs, const Size &rSize, bool inplaceEditModeChange)
 
virtual void OuterResizePixel (const Point &rOfs, const Size &rSize)
 
virtual void SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY)
 
virtual void Move ()
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from sd::ViewShellBase
static ViewShellBaseGetViewShellBase (SfxViewFrame const *pFrame)
 When given a view frame this static method returns the corresponding sd::ViewShellBase object. More...
 
- Static Public Member Functions inherited from SfxViewShell
static SAL_WARN_UNUSED_RESULT SfxViewShellGetFirst (bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr)
 
static SAL_WARN_UNUSED_RESULT SfxViewShellGetNext (const SfxViewShell &rPrev, bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr)
 
static SAL_WARN_UNUSED_RESULT SfxViewShellCurrent ()
 
static SAL_WARN_UNUSED_RESULT SfxViewShellGet (const css::uno::Reference< css::frame::XController > &i_rController)
 
static void SetCurrentDocId (ViewShellDocId nId)
 
- 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 Protected Member Functions inherited from SfxShell
static void HandleOpenXmlFilterSettings (SfxRequest &)
 

Detailed Description

This class exists to be able to register another factory that creates the view shell for the presentation.

Definition at line 29 of file PresentationViewShellBase.hxx.

Constructor & Destructor Documentation

◆ PresentationViewShellBase()

sd::PresentationViewShellBase::PresentationViewShellBase ( SfxViewFrame rFrame,
SfxViewShell pOldShell 
)

This constructor is used by the view factory of the SFX macros.

Definition at line 63 of file PresentationViewShellBase.cxx.

References Any, SfxViewFrame::GetFrame(), and SfxFrame::GetFrameInterface().

◆ ~PresentationViewShellBase()

sd::PresentationViewShellBase::~PresentationViewShellBase ( )
overridevirtual

Definition at line 82 of file PresentationViewShellBase.cxx.

Member Function Documentation

◆ InitializeFramework()

void sd::PresentationViewShellBase::InitializeFramework ( )
overrideprotectedvirtual

◆ SFX_DECL_VIEWFACTORY()

sd::PresentationViewShellBase::SFX_DECL_VIEWFACTORY ( PresentationViewShellBase  )

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