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

The full screen pane creates a pane that covers the complete application window, i.e. More...

#include <FullScreenPane.hxx>

Inheritance diagram for sd::framework::FullScreenPane:
[legend]
Collaboration diagram for sd::framework::FullScreenPane:
[legend]

Public Member Functions

 FullScreenPane (const css::uno::Reference< css::uno::XComponentContext > &rxComponentContext, const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, const vcl::Window *pViewShellWindow)
 Create a new full screen pane. More...
 
virtual ~FullScreenPane () noexcept override
 
virtual void SAL_CALL disposing () override
 
virtual sal_Bool SAL_CALL isVisible () override
 
virtual void SAL_CALL setVisible (sal_Bool bIsVisible) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessible () override
 
virtual void SAL_CALL setAccessible (const css::uno::Reference< css::accessibility::XAccessible > &rxAccessible) override
 
 DECL_LINK (WindowEventHandler, VclWindowEvent &, void)
 
- Public Member Functions inherited from sd::framework::FrameWindowPane
 FrameWindowPane (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, vcl::Window *pWindow)
 
virtual ~FrameWindowPane () noexcept override
 
virtual sal_Bool SAL_CALL isAnchorOnly () override
 A frame window typically can (and should) exists on its own without children, if only to visualize that something (a view) is missing. More...
 
- Public Member Functions inherited from sd::framework::Pane
 Pane (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, vcl::Window *pWindow) noexcept
 Create a new Pane object that wraps the given window. More...
 
virtual ~Pane () override
 
virtual void SAL_CALL disposing () override
 
virtual vcl::WindowGetWindow ()
 This method is typically used to obtain a Window pointer from an XPane object. More...
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getWindow () override
 For a UNO API based implementation of a view this may the most important method of this class because the view is only interested in the window of the pane. More...
 
virtual css::uno::Reference< css::rendering::XCanvas > SAL_CALL getCanvas () override
 
virtual sal_Bool SAL_CALL isVisible () override
 
virtual void SAL_CALL setVisible (sal_Bool bIsVisible) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessible () override
 
virtual void SAL_CALL setAccessible (const css::uno::Reference< css::accessibility::XAccessible > &rxAccessible) override
 
virtual css::uno::Reference< css::drawing::framework::XResourceId > SAL_CALL getResourceId () override
 
virtual sal_Bool SAL_CALL isAnchorOnly () override
 For the typical pane it makes no sense to be displayed without a view. More...
 

Protected Member Functions

virtual css::uno::Reference< css::rendering::XCanvas > CreateCanvas () override
 Override this method, not getCanvas(), when you want to provide a different canvas. More...
 
- Protected Member Functions inherited from sd::framework::Pane
virtual css::uno::Reference< css::rendering::XCanvas > CreateCanvas ()
 Override this method, not getCanvas(), when you want to provide a different canvas. More...
 
void ThrowIfDisposed () const
 Throw DisposedException when the object has already been disposed or is currently being disposed. More...
 

Static Private Member Functions

static void ExtractArguments (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, sal_Int32 &rnScreenNumberReturnValue, bool &rbFullScreen)
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > mxComponentContext
 
VclPtr< WorkWindowmpWorkWindow
 

Additional Inherited Members

- Protected Attributes inherited from sd::framework::Pane
css::uno::Reference< css::drawing::framework::XResourceId > mxPaneId
 
VclPtr< vcl::WindowmpWindow
 
css::uno::Reference< css::awt::XWindow > mxWindow
 
css::uno::Reference< css::rendering::XCanvas > mxCanvas
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

The full screen pane creates a pane that covers the complete application window, i.e.

that hides menu bar, tool bars, status bars.

Definition at line 36 of file FullScreenPane.hxx.

Constructor & Destructor Documentation

◆ FullScreenPane()

sd::framework::FullScreenPane::FullScreenPane ( const css::uno::Reference< css::uno::XComponentContext > &  rxComponentContext,
const css::uno::Reference< css::drawing::framework::XResourceId > &  rxPaneId,
const vcl::Window pViewShellWindow 
)

Create a new full screen pane.

Parameters
rxComponentContextUsed for creating a new canvas.
rxPaneIdThe resource id of the new pane.
pViewShellWindowThe top-level parent of this window is used to obtain title and icon for the new top-level window.

Definition at line 36 of file FullScreenPane.cxx.

References VclPtr< class reference_type >::Create(), CreateCanvas(), ExtractArguments(), VclPtr< class reference_type >::get(), SystemWindow::GetIcon(), VCLUnoHelper::GetInterface(), vcl::Window::GetSystemWindow(), SystemWindow::GetText(), LINK, sd::framework::Pane::mpWindow, mpWorkWindow, sd::framework::Pane::mxCanvas, sd::framework::Pane::mxWindow, VclPtr< class reference_type >::reset(), WB_BORDER, WB_MOVEABLE, and WB_SIZEABLE.

◆ ~FullScreenPane()

sd::framework::FullScreenPane::~FullScreenPane ( )
overridevirtualnoexcept

Definition at line 100 of file FullScreenPane.cxx.

Member Function Documentation

◆ CreateCanvas()

Reference< rendering::XCanvas > sd::framework::FullScreenPane::CreateCanvas ( )
overrideprotectedvirtual

Override this method, not getCanvas(), when you want to provide a different canvas.

Exceptions
css::uno::RuntimeException

Reimplemented from sd::framework::Pane.

Definition at line 190 of file FullScreenPane.cxx.

References Any, VclPtr< class reference_type >::get(), VCLUnoHelper::GetWindow(), mxComponentContext, sd::framework::Pane::mxWindow, and xFactory.

Referenced by FullScreenPane().

◆ DECL_LINK()

sd::framework::FullScreenPane::DECL_LINK ( WindowEventHandler  ,
VclWindowEvent ,
void   
)

◆ disposing()

void SAL_CALL sd::framework::FullScreenPane::disposing ( )
overridevirtual

◆ ExtractArguments()

void sd::framework::FullScreenPane::ExtractArguments ( const css::uno::Reference< css::drawing::framework::XResourceId > &  rxPaneId,
sal_Int32 &  rnScreenNumberReturnValue,
bool &  rbFullScreen 
)
staticprivate

◆ getAccessible()

Reference< css::accessibility::XAccessible > SAL_CALL sd::framework::FullScreenPane::getAccessible ( )
overridevirtual

Reimplemented from sd::framework::Pane.

Definition at line 140 of file FullScreenPane.cxx.

References mpWorkWindow, and sd::framework::Pane::ThrowIfDisposed().

◆ isVisible()

sal_Bool SAL_CALL sd::framework::FullScreenPane::isVisible ( )
overridevirtual

◆ setAccessible()

void SAL_CALL sd::framework::FullScreenPane::setAccessible ( const css::uno::Reference< css::accessibility::XAccessible > &  rxAccessible)
overridevirtual

◆ setVisible()

void SAL_CALL sd::framework::FullScreenPane::setVisible ( sal_Bool  bIsVisible)
overridevirtual

Member Data Documentation

◆ mpWorkWindow

VclPtr<WorkWindow> sd::framework::FullScreenPane::mpWorkWindow
private

Definition at line 76 of file FullScreenPane.hxx.

Referenced by disposing(), FullScreenPane(), getAccessible(), and setVisible().

◆ mxComponentContext

css::uno::Reference<css::uno::XComponentContext> sd::framework::FullScreenPane::mxComponentContext
private

Definition at line 75 of file FullScreenPane.hxx.

Referenced by CreateCanvas().


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