30class EventMultiplexer;
37class FormShellManager;
40class ViewShellManager;
78 void LateInit (
const OUString& rsDefaultView);
111 virtual OUString
GetSelectionText(
bool =
false,
bool bOnlyASample =
false)
override;
125 virtual css::uno::Reference<css::view::XRenderable>
GetRenderable()
override;
137 css::uno::Sequence< css::beans::PropertyValue >&)
override;
144 const css::uno::Sequence< css::beans::PropertyValue >&)
override;
148 virtual void Activate (
bool IsMDIActivate)
override;
154 virtual void WriteUserData (OUString&,
bool bBrowse =
false)
override;
155 virtual void ReadUserData (
const OUString&,
bool bBrowse =
false)
override;
203 void SetViewTabBar (const ::rtl::Reference<ViewTabBar>& rViewTabBar);
239 class Implementation;
virtual void Deactivate(bool IsMDIActivate) override
The DrawController is the UNO controller for Impress and Draw.
SfxViewShell descendant that the stacked Draw/Impress shells are based on.
DrawController * GetDrawController() const
void LateInit(const OUString &rsDefaultView)
This method is part of the object construction.
virtual ::tools::Rectangle getLOKVisibleArea() const override
virtual void Execute(SfxRequest &rRequest)
Callback function for general slot calls.
::Color GetColorConfigColor(svtools::ColorConfigEntry nColorType) const override
See SfxViewShell::GetColorConfigColor().
static ViewShellBase * GetViewShellBase(SfxViewFrame const *pFrame)
When given a view frame this static method returns the corresponding sd::ViewShellBase object.
OUString RetrieveLabelFromCommand(const OUString &aCmdURL) const
returns the ui descriptive name for the given uno slot.
OUString GetInitialViewShellType() const
Determine from the properties of the document shell the initial type of the view shell in the center ...
virtual void SetZoomFactor(const Fraction &rZoomX, const Fraction &rZoomY) override
void ShowUIControls(bool bVisible)
With this method the UI controls can be turned on or off.
virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) override
Forwarded to the print manager.
virtual void InnerResizePixel(const Point &rOrigin, const Size &rSize, bool inplaceEditModeChange) override
void setLOKVisibleArea(const ::tools::Rectangle &rArea)
virtual bool HasSelection(bool=true) const override
virtual ~ViewShellBase() override
In this destructor the order in which some of the members are destroyed (and/or being prepared to bei...
void setEditMode(int nMode)
See SfxViewShell::setEditMode().
void GetState(SfxItemSet &rSet)
Callback function for retrieving item values related to certain slots.
void SetBusyState(bool bBusy)
When <TRUE> is given, then the mouse shape is set to hour glass (or whatever the busy shape looks lik...
std::shared_ptr< ToolBarManager > const & GetToolBarManager() const
OUString GetColorConfigName() const override
See SfxViewShell::GetColorConfigName().
DrawDocShell * mpDocShell
virtual void WriteUserDataSequence(css::uno::Sequence< css::beans::PropertyValue > &) override
Forward methods to main sub shell.
const ::tools::Rectangle & getClientRectangle() const
returns the complete area of the current view relative to the frame window
virtual void UIDeactivated(SfxInPlaceClient *) override
virtual void Activate(bool IsMDIActivate) override
virtual void OuterResizePixel(const Point &rOrigin, const Size &rSize) override
std::unique_ptr< Implementation > mpImpl
virtual void ReadUserDataSequence(const css::uno::Sequence< css::beans::PropertyValue > &) override
Pass the given properties to the main view shell.
virtual OUString GetSelectionText(bool=false, bool bOnlyASample=false) override
SdDrawDocument * mpDocument
std::shared_ptr< ViewShell > GetMainViewShell() const
Return the main view shell stacked on the called ViewShellBase object.
virtual void UIActivating(SfxInPlaceClient *) override
void NotifyCursor(SfxViewShell *pViewShell) const override
See SfxViewShell::NotifyCursor().
int getPart() const override
See SfxViewShell::getPart().
int getEditMode() const override
See SfxViewShell::getEditMode().
::tools::Rectangle maLOKVisibleArea
virtual void InitializeFramework()
std::shared_ptr< tools::EventMultiplexer > const & GetEventMultiplexer() const
Return an event multiplexer.
SvBorder GetBorder(bool bOuterResize)
virtual SfxPrinter * GetPrinter(bool bCreate=false) override
Forwarded to the print manager.
std::shared_ptr< FormShellManager > const & GetFormShellManager() const
virtual ErrCode DoVerb(sal_Int32 nVerb) override
This call is forwarded to the main sub-shell.
virtual css::uno::Reference< css::view::XRenderable > GetRenderable() override
Return a new renderer that can be used for example for printing the document.
vcl::Window * GetViewWindow()
Return the window that is used by the main view shell to display its view and other UI elements,...
ViewShellBase(SfxViewFrame &rFrame, SfxViewShell *pOldShell)
This constructor is used by the view factory of the SFX macros.
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
std::shared_ptr< ViewShellManager > const & GetViewShellManager() const
void UpdateBorder(bool bForce=false)
Update the border that is set with SfxViewShell::SetBorderPixel().
virtual bool PrepareClose(bool bUI=true) override
void Rearrange()
Call this method when the controls of this view shell or the embedded sub shell need to be rearranged...
virtual void ReadUserData(const OUString &, bool bBrowse=false) override
void afterCallbackRegistered() override
See SfxViewShell::afterCallbackRegistered().
virtual void WriteUserData(OUString &, bool bBrowse=false) override
static void InitInterface_Impl()
SfxInterface initializer.
DrawDocShell * GetDocShell() const
virtual SdrView * GetDrawView() const override
SdDrawDocument * GetDocument() const
void SetViewTabBar(const ::rtl::Reference< ViewTabBar > &rViewTabBar)
#define SD_IF_SDVIEWSHELLBASE
#define SFX_DECL_INTERFACE(nId)