LibreOffice Module sd (master)
1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
a
c
d
f
g
h
i
l
m
o
r
s
u
w
Variables
a
b
c
d
e
g
h
i
m
n
o
p
s
t
v
w
Typedefs
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
h
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
l
m
n
o
p
r
s
u
x
z
Typedefs
a
b
c
d
e
f
i
k
l
m
p
r
s
t
u
v
x
Enumerations
a
c
d
e
f
g
h
i
l
m
o
p
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
c
d
e
i
m
o
p
s
t
u
v
w
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
Variables
a
b
c
d
g
h
j
k
m
n
p
s
t
v
w
x
Typedefs
Enumerations
Enumerator
c
f
h
l
m
n
o
p
s
u
v
Macros
a
b
c
d
e
f
g
i
k
m
n
p
r
s
t
u
v
w
z
sd
source
ui
inc
FormShellManager.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 "
ViewShellManager.hxx
"
23
24
#include <
tools/link.hxx
>
25
#include <
svl/lstner.hxx
>
26
#include <
vcl/vclptr.hxx
>
27
28
class
VclWindowEvent
;
29
class
FmFormShell
;
30
namespace
vcl
31
{
32
class
Window
;
33
}
34
35
namespace
sd::tools
36
{
37
class
EventMultiplexerEvent;
38
}
39
40
namespace
sd
41
{
42
class
ViewShellBase;
43
56
class
FormShellManager
final :
public
SfxListener
57
{
58
public
:
59
FormShellManager
(
ViewShellBase
& rBase);
60
virtual
~FormShellManager
()
override
;
61
68
void
SetFormShell
(
FmFormShell
* pFormShell);
69
75
FmFormShell
*
GetFormShell
() {
return
mpFormShell
; }
76
77
private
:
78
ViewShellBase
&
mrBase
;
79
84
FmFormShell
*
mpFormShell
;
85
89
bool
mbFormShellAboveViewShell
;
90
94
ViewShellManager::SharedShellFactory
mpSubShellFactory
;
95
96
bool
mbIsMainViewChangePending
;
97
98
VclPtr<vcl::Window>
mpMainViewShellWindow
;
99
105
void
RegisterAtCenterPane
();
106
110
void
UnregisterAtCenterPane
();
111
116
DECL_LINK
(WindowEventHandler,
VclWindowEvent
&,
void
);
117
122
DECL_LINK
(ConfigurationUpdateHandler,
::sd::tools::EventMultiplexerEvent
&,
void
);
123
127
DECL_LINK
(FormControlActivated,
LinkParamNone
*,
void
);
128
134
virtual
void
Notify
(
SfxBroadcaster
& rBC,
const
SfxHint
& rHint)
override
;
135
137
void
ImplDestroy
();
138
};
139
140
}
// end of namespace sd
141
142
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ViewShellManager.hxx
FmFormShell
LinkParamNone
SfxBroadcaster
SfxHint
SfxListener
VclPtr< vcl::Window >
VclWindowEvent
sd::FormShellManager
This simple class is responsible for putting the form shell above or below the main view shell on the...
Definition:
FormShellManager.hxx:57
sd::FormShellManager::~FormShellManager
virtual ~FormShellManager() override
Definition:
FormShellManager.cxx:84
sd::FormShellManager::mrBase
ViewShellBase & mrBase
Definition:
FormShellManager.hxx:78
sd::FormShellManager::mpFormShell
FmFormShell * mpFormShell
Ownership of the form shell lies with the ViewShellManager.
Definition:
FormShellManager.hxx:84
sd::FormShellManager::Notify
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
This method is called by the form shell when that is destroyed.
Definition:
FormShellManager.cxx:266
sd::FormShellManager::DECL_LINK
DECL_LINK(FormControlActivated, LinkParamNone *, void)
This call back is called by the form shell when it gets the focus.
sd::FormShellManager::GetFormShell
FmFormShell * GetFormShell()
Return the form shell last set with SetFormShell().
Definition:
FormShellManager.hxx:75
sd::FormShellManager::ImplDestroy
void ImplDestroy()
dtor body
Definition:
FormShellManager.cxx:67
sd::FormShellManager::mpSubShellFactory
ViewShellManager::SharedShellFactory mpSubShellFactory
The factory is remembered so that it removed from the ViewShellManager when the FormShellManager is d...
Definition:
FormShellManager.hxx:94
sd::FormShellManager::SetFormShell
void SetFormShell(FmFormShell *pFormShell)
Typically called by a ShellFactory.
Definition:
FormShellManager.cxx:89
sd::FormShellManager::UnregisterAtCenterPane
void UnregisterAtCenterPane()
Unregister the listeners that were registered in RegisterAtCenterPane().
Definition:
FormShellManager.cxx:161
sd::FormShellManager::FormShellManager
FormShellManager(ViewShellBase &rBase)
Definition:
FormShellManager.cxx:52
sd::FormShellManager::DECL_LINK
DECL_LINK(WindowEventHandler, VclWindowEvent &, void)
This call back is called by the application window (among others) when the window gets the focus.
sd::FormShellManager::mbFormShellAboveViewShell
bool mbFormShellAboveViewShell
Remember whether the form shell is currently above or below the main view shell.
Definition:
FormShellManager.hxx:89
sd::FormShellManager::DECL_LINK
DECL_LINK(ConfigurationUpdateHandler, ::sd::tools::EventMultiplexerEvent &, void)
This call back is called when view in the center pane is replaced.
sd::FormShellManager::RegisterAtCenterPane
void RegisterAtCenterPane()
Register at window of center pane and at the form shell that represents the form tool bar.
Definition:
FormShellManager.cxx:131
sd::FormShellManager::mbIsMainViewChangePending
bool mbIsMainViewChangePending
Definition:
FormShellManager.hxx:96
sd::FormShellManager::mpMainViewShellWindow
VclPtr< vcl::Window > mpMainViewShellWindow
Definition:
FormShellManager.hxx:98
sd::ViewShellBase
SfxViewShell descendant that the stacked Draw/Impress shells are based on.
Definition:
ViewShellBase.hxx:56
sd::ViewShellManager::SharedShellFactory
std::shared_ptr< ShellFactory< SfxShell > > SharedShellFactory
Definition:
ViewShellManager.hxx:57
sd::tools::EventMultiplexerEvent
Definition:
EventMultiplexer.hxx:120
link.hxx
lstner.hxx
sd::tools
Definition:
annotationmanagerimpl.hxx:44
sd
vcl
vclptr.hxx
EViewType::Window
@ Window
Generated on Sun Jul 30 2023 04:27:18 for LibreOffice Module sd (master) by
1.9.3