virtual SfxObjectShell * GetObjectShell()
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
virtual void ChangeEditMode(EditMode eMode, bool bIsLayerModeActive)
Set status (enabled/disabled) of menu SfxSlots.
virtual void ArrangeGUIElements() override
Arrange and resize the GUI elements like rulers, sliders, and buttons as well as the actual document ...
GraphicViewShell(ViewShellBase &rViewShellBase, vcl::Window *pParentWindow, FrameView *pFrameView)
Create a new view shell for the Draw application.
virtual void ChangeEditMode(EditMode eMode, bool bIsLayerModeActive) override
Override this method in order to have the layer mode always active.
void ConstructGraphicViewShell()
virtual void ArrangeGUIElements() override
Arrange and resize the GUI elements like rulers, sliders, and buttons as well as the actual document ...
virtual ~GraphicViewShell() override
SfxViewShell descendant that the stacked Draw/Impress shells are based on.
ShellType meShellType
The type of the shell. Returned by GetShellType().
vcl::Window * GetParentWindow() const
Return the window that is the parent of all controls of this view shell.
VclPtr< LayerTabBar > mpLayerTabBar
Layer tab bar.
SD_DLLPUBLIC SfxViewFrame * GetViewFrame() const
constexpr sal_Int32 TAB_HEIGHT_MARGIN
vcl::Font GetFont(vcl::Font const &rFont, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings)