LibreOffice Module chart2 (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
w
z
Functions
a
b
c
d
f
g
h
i
l
m
o
p
r
s
t
u
Variables
Typedefs
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
w
Enumerations
Enumerator
c
d
e
f
g
l
o
p
s
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
w
x
Typedefs
c
i
m
r
t
v
Enumerations
Enumerator
a
c
d
e
h
m
n
r
s
t
v
x
y
z
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
x
Functions
c
i
o
s
Variables
a
b
c
e
f
h
m
n
p
s
Typedefs
Enumerations
Macros
c
d
g
o
p
r
s
t
chart2
source
controller
sidebar
ChartSidebarSelectionListener.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
10
#pragma once
11
12
#include <com/sun/star/view/XSelectionChangeListener.hpp>
13
#include <
cppuhelper/implbase.hxx
>
14
15
#include <
ObjectIdentifier.hxx
>
16
17
#include <vector>
18
19
namespace
chart::sidebar
20
{
21
class
ChartSidebarSelectionListenerParent
22
{
23
public
:
24
virtual
~ChartSidebarSelectionListenerParent
();
25
26
virtual
void
selectionChanged
(
bool
bSelected) = 0;
27
};
28
29
class
ChartSidebarSelectionListener
30
:
public
cppu::WeakImplHelper<css::view::XSelectionChangeListener>
31
{
32
public
:
33
// listen to all chart selection changes
34
explicit
ChartSidebarSelectionListener
(
ChartSidebarSelectionListenerParent
* pParent);
35
// only listen to the changes of eType
36
ChartSidebarSelectionListener
(
ChartSidebarSelectionListenerParent
* pParent,
ObjectType
eType
);
37
virtual
~ChartSidebarSelectionListener
()
override
;
38
39
virtual
void
SAL_CALL
selectionChanged
(
const
css::lang::EventObject& rEvent)
override
;
40
41
virtual
void
SAL_CALL
disposing
(
const
css::lang::EventObject& rEvent)
override
;
42
43
void
setAcceptedTypes
(std::vector<ObjectType>&&
aTypes
);
44
45
private
:
46
ChartSidebarSelectionListenerParent
*
mpParent
;
47
48
std::vector<ObjectType>
maTypes
;
49
};
50
}
51
52
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ObjectIdentifier.hxx
chart::sidebar::ChartSidebarSelectionListenerParent
Definition:
ChartSidebarSelectionListener.hxx:22
chart::sidebar::ChartSidebarSelectionListenerParent::selectionChanged
virtual void selectionChanged(bool bSelected)=0
chart::sidebar::ChartSidebarSelectionListenerParent::~ChartSidebarSelectionListenerParent
virtual ~ChartSidebarSelectionListenerParent()
Definition:
ChartSidebarSelectionListener.cxx:19
chart::sidebar::ChartSidebarSelectionListener
Definition:
ChartSidebarSelectionListener.hxx:31
chart::sidebar::ChartSidebarSelectionListener::mpParent
ChartSidebarSelectionListenerParent * mpParent
Definition:
ChartSidebarSelectionListener.hxx:46
chart::sidebar::ChartSidebarSelectionListener::selectionChanged
virtual void SAL_CALL selectionChanged(const css::lang::EventObject &rEvent) override
Definition:
ChartSidebarSelectionListener.cxx:41
chart::sidebar::ChartSidebarSelectionListener::maTypes
std::vector< ObjectType > maTypes
Definition:
ChartSidebarSelectionListener.hxx:48
chart::sidebar::ChartSidebarSelectionListener::ChartSidebarSelectionListener
ChartSidebarSelectionListener(ChartSidebarSelectionListenerParent *pParent)
Definition:
ChartSidebarSelectionListener.cxx:23
chart::sidebar::ChartSidebarSelectionListener::disposing
virtual void SAL_CALL disposing(const css::lang::EventObject &rEvent) override
Definition:
ChartSidebarSelectionListener.cxx:69
chart::sidebar::ChartSidebarSelectionListener::setAcceptedTypes
void setAcceptedTypes(std::vector< ObjectType > &&aTypes)
Definition:
ChartSidebarSelectionListener.cxx:77
chart::sidebar::ChartSidebarSelectionListener::~ChartSidebarSelectionListener
virtual ~ChartSidebarSelectionListener() override
Definition:
ChartSidebarSelectionListener.cxx:37
eType
DocumentType eType
implbase.hxx
chart::sidebar
Definition:
Chart2PanelFactory.cxx:40
chart::ObjectType
ObjectType
Definition:
ObjectIdentifier.hxx:52
aTypes
const SvXMLTokenMapEntry aTypes[]
Generated on Sun Jul 30 2023 04:39:31 for LibreOffice Module chart2 (master) by
1.9.3