LibreOffice Module sd (master) 1
|
The full screen pane creates a pane that covers the complete application window, i.e. More...
#include <FullScreenPane.hxx>
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) | |
![]() | |
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... | |
![]() | |
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::Window * | GetWindow () |
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... | |
![]() | |
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< WorkWindow > | mpWorkWindow |
Additional Inherited Members | |
![]() | |
css::uno::Reference< css::drawing::framework::XResourceId > | mxPaneId |
VclPtr< vcl::Window > | mpWindow |
css::uno::Reference< css::awt::XWindow > | mxWindow |
css::uno::Reference< css::rendering::XCanvas > | mxCanvas |
![]() | |
mutable::osl::Mutex | m_aMutex |
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.
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.
rxComponentContext | Used for creating a new canvas. |
rxPaneId | The resource id of the new pane. |
pViewShellWindow | The 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.
|
overridevirtualnoexcept |
Definition at line 100 of file FullScreenPane.cxx.
|
overrideprotectedvirtual |
Override this method, not getCanvas(), when you want to provide a different canvas.
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().
sd::framework::FullScreenPane::DECL_LINK | ( | WindowEventHandler | , |
VclWindowEvent & | , | ||
void | |||
) |
|
overridevirtual |
Reimplemented from sd::framework::Pane.
Definition at line 104 of file FullScreenPane.cxx.
References VclPtr< class reference_type >::disposeAndClear(), sd::framework::Pane::disposing(), LINK, sd::framework::Pane::mpWindow, and mpWorkWindow.
|
staticprivate |
Definition at line 211 of file FullScreenPane.cxx.
References aURL, o3tl::equalsAscii(), o3tl::getToken(), nIndex, o3tl::starts_with(), o3tl::toInt32(), and u.
Referenced by FullScreenPane().
|
overridevirtual |
Reimplemented from sd::framework::Pane.
Definition at line 140 of file FullScreenPane.cxx.
References mpWorkWindow, and sd::framework::Pane::ThrowIfDisposed().
|
overridevirtual |
Reimplemented from sd::framework::Pane.
Definition at line 120 of file FullScreenPane.cxx.
References sd::framework::Pane::mpWindow, and sd::framework::Pane::ThrowIfDisposed().
|
overridevirtual |
Reimplemented from sd::framework::Pane.
Definition at line 150 of file FullScreenPane.cxx.
References aArguments, Any, vcl::Window::GetAccessible(), sd::framework::Pane::GetWindow(), sd::framework::Pane::mpWindow, vcl::Window::SetAccessible(), and sd::framework::Pane::ThrowIfDisposed().
|
overridevirtual |
Reimplemented from sd::framework::Pane.
Definition at line 130 of file FullScreenPane.cxx.
References sd::framework::Pane::mpWindow, mpWorkWindow, and sd::framework::Pane::ThrowIfDisposed().
|
private |
Definition at line 76 of file FullScreenPane.hxx.
Referenced by disposing(), FullScreenPane(), getAccessible(), and setVisible().
|
private |
Definition at line 75 of file FullScreenPane.hxx.
Referenced by CreateCanvas().