LibreOffice Module sc (master) 1
PivotTableDataSource.cxx
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
11
12#include <sal/config.h>
13
14#include <miscuno.hxx>
15
17#include <vcl/svapp.hxx>
18
19using namespace css;
20
21namespace sc
22{
23
24SC_SIMPLE_SERVICE_INFO(PivotTableDataSource, "PivotTableDataSource", "com.sun.star.chart2.data.DataSource")
25
26PivotTableDataSource::PivotTableDataSource(std::vector<css::uno::Reference<css::chart2::data::XLabeledDataSequence>>&& xLabeledSequence)
27 : m_xLabeledSequence(std::move(xLabeledSequence))
28{
29}
30
32{
33}
34
35void PivotTableDataSource::Notify(SfxBroadcaster& /*rBroadcaster*/, const SfxHint& /*rHint*/)
36{
37}
38
39uno::Sequence<uno::Reference<chart2::data::XLabeledDataSequence>> SAL_CALL
41{
42 SolarMutexGuard aGuard;
43
45}
46
47} // end sc namespace
48
49/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void Notify(SfxBroadcaster &rBroadcaster, const SfxHint &rHint) override
virtual ~PivotTableDataSource() override
std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > m_xLabeledSequence
virtual css::uno::Sequence< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > SAL_CALL getDataSequences() override
#define SC_SIMPLE_SERVICE_INFO(ClassName, ClassNameAscii, ServiceAscii)
Definition: miscuno.hxx:63
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15