LibreOffice Module chart2 (master) 1
MultipleChartConverters.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#pragma once
20
22#include <rtl/ref.hxx>
23
24namespace com::sun::star::awt { struct Size; }
25namespace com::sun::star::frame { class XModel; }
26namespace com::sun::star::lang { class XMultiServiceFactory; }
27namespace chart { class ChartModel; }
28class SdrModel;
29
30namespace chart::wrapper {
31
33{
34public:
36 const rtl::Reference<::chart::ChartModel> & xChartModel,
37 SfxItemPool& rItemPool,
38 SdrModel& rDrawModel,
39 const css::awt::Size* pRefSize );
40
41 virtual ~AllAxisItemConverter() override;
42
43protected:
44 virtual const WhichRangesContainer& GetWhichPairs() const override;
45};
46
48{
49public:
51 const rtl::Reference<::chart::ChartModel>& xChartModel,
52 SfxItemPool& rItemPool,
53 SdrModel& rDrawModel,
54 const css::uno::Reference<css::lang::XMultiServiceFactory> & xNamedPropertyContainerFactory );
55 virtual ~AllGridItemConverter() override;
56
57protected:
58 virtual const WhichRangesContainer& GetWhichPairs() const override;
59};
60
62{
63public:
65 const rtl::Reference<::chart::ChartModel>& xChartModel,
66 SfxItemPool& rItemPool,
67 SdrModel& rDrawModel,
68 const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory );
69
70 virtual ~AllDataLabelItemConverter() override;
71
72protected:
73 virtual const WhichRangesContainer& GetWhichPairs() const override;
74};
75
77{
78public:
80 const rtl::Reference<::chart::ChartModel>& xChartModel,
81 SfxItemPool& rItemPool, SdrModel& rDrawModel,
82 const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory );
83
84 virtual ~AllTitleItemConverter() override;
85
86protected:
87 virtual const WhichRangesContainer& GetWhichPairs() const override;
88};
89
91{
92public:
94 const rtl::Reference<::chart::ChartModel>& xChartModel, SfxItemPool& rItemPool );
95 virtual ~AllSeriesStatisticsConverter() override;
96
97protected:
98 virtual const WhichRangesContainer& GetWhichPairs() const override;
99};
100
101} // namespace chart::wrapper
102
103/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
AllAxisItemConverter(const rtl::Reference<::chart::ChartModel > &xChartModel, SfxItemPool &rItemPool, SdrModel &rDrawModel, const css::awt::Size *pRefSize)
virtual const WhichRangesContainer & GetWhichPairs() const override
implement this method to provide an array of which-ranges
virtual const WhichRangesContainer & GetWhichPairs() const override
implement this method to provide an array of which-ranges
AllDataLabelItemConverter(const rtl::Reference<::chart::ChartModel > &xChartModel, SfxItemPool &rItemPool, SdrModel &rDrawModel, const css::uno::Reference< css::lang::XMultiServiceFactory > &xNamedPropertyContainerFactory)
virtual const WhichRangesContainer & GetWhichPairs() const override
implement this method to provide an array of which-ranges
AllGridItemConverter(const rtl::Reference<::chart::ChartModel > &xChartModel, SfxItemPool &rItemPool, SdrModel &rDrawModel, const css::uno::Reference< css::lang::XMultiServiceFactory > &xNamedPropertyContainerFactory)
AllSeriesStatisticsConverter(const rtl::Reference<::chart::ChartModel > &xChartModel, SfxItemPool &rItemPool)
virtual const WhichRangesContainer & GetWhichPairs() const override
implement this method to provide an array of which-ranges
virtual const WhichRangesContainer & GetWhichPairs() const override
implement this method to provide an array of which-ranges
AllTitleItemConverter(const rtl::Reference<::chart::ChartModel > &xChartModel, SfxItemPool &rItemPool, SdrModel &rDrawModel, const css::uno::Reference< css::lang::XMultiServiceFactory > &xNamedPropertyContainerFactory)
Note: virtual const sal_uInt16 * GetWhichPairs() const; is still pure virtual.