LibreOffice Module sd (master) 1
FullScreenPane.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include "FrameWindowPane.hxx"
23#include <tools/link.hxx>
24#include <vcl/wrkwin.hxx>
25
26class VclWindowEvent;
27
28namespace vcl { class Window; }
29namespace com::sun::star::uno { class XComponentContext; }
30
31namespace sd::framework {
32
37 : public FrameWindowPane
38{
39public:
50 const css::uno::Reference<css::uno::XComponentContext>& rxComponentContext,
51 const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId,
52 const vcl::Window* pViewShellWindow);
53 virtual ~FullScreenPane() noexcept override;
54
55 virtual void SAL_CALL disposing() override;
56
57 //----- XPane -------------------------------------------------------------
58
59 virtual sal_Bool SAL_CALL isVisible() override;
60
61 virtual void SAL_CALL setVisible (sal_Bool bIsVisible) override;
62
63 virtual css::uno::Reference<css::accessibility::XAccessible> SAL_CALL getAccessible() override;
64
65 virtual void SAL_CALL setAccessible (
66 const css::uno::Reference<css::accessibility::XAccessible>& rxAccessible) override;
67
68 DECL_LINK(WindowEventHandler, VclWindowEvent&, void);
69
70protected:
71 virtual css::uno::Reference<css::rendering::XCanvas>
72 CreateCanvas() override;
73
74private:
75 css::uno::Reference<css::uno::XComponentContext> mxComponentContext;
77
78 static void ExtractArguments (
79 const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId,
80 sal_Int32& rnScreenNumberReturnValue,
81 bool& rbFullScreen);
82};
83
84} // end of namespace sd::framework
85
86/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This subclass is not necessary anymore.
The full screen pane creates a pane that covers the complete application window, i....
static void ExtractArguments(const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, sal_Int32 &rnScreenNumberReturnValue, bool &rbFullScreen)
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.
virtual ~FullScreenPane() noexcept override
virtual css::uno::Reference< css::rendering::XCanvas > CreateCanvas() override
Override this method, not getCanvas(), when you want to provide a different canvas.
virtual void SAL_CALL setVisible(sal_Bool bIsVisible) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessible() override
virtual void SAL_CALL disposing() override
DECL_LINK(WindowEventHandler, VclWindowEvent &, void)
css::uno::Reference< css::uno::XComponentContext > mxComponentContext
VclPtr< WorkWindow > mpWorkWindow
virtual sal_Bool SAL_CALL isVisible() override
virtual void SAL_CALL setAccessible(const css::uno::Reference< css::accessibility::XAccessible > &rxAccessible) override
unsigned char sal_Bool