Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / chart2 / source / controller / inc / MultipleChartConverters.hxx
blob05e435c3830fc2dcef2e74e0debc3f949ded1f6d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_MULTIPLECHARTCONVERTERS_HXX
20 #define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_MULTIPLECHARTCONVERTERS_HXX
22 #include "MultipleItemConverter.hxx"
24 namespace com { namespace sun { namespace star { namespace awt { struct Size; } } } }
25 namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
26 namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
28 class SdrModel;
30 namespace chart { namespace wrapper {
32 class AllAxisItemConverter : public MultipleItemConverter
34 public:
35 AllAxisItemConverter(
36 const css::uno::Reference<css::frame::XModel> & xChartModel,
37 SfxItemPool& rItemPool,
38 SdrModel& rDrawModel,
39 const css::awt::Size* pRefSize );
41 virtual ~AllAxisItemConverter() override;
43 protected:
44 virtual const sal_uInt16 * GetWhichPairs() const override;
47 class AllGridItemConverter : public MultipleItemConverter
49 public:
50 AllGridItemConverter(
51 const css::uno::Reference<css::frame::XModel>& xChartModel,
52 SfxItemPool& rItemPool,
53 SdrModel& rDrawModel,
54 const css::uno::Reference<css::lang::XMultiServiceFactory> & xNamedPropertyContainerFactory );
55 virtual ~AllGridItemConverter() override;
57 protected:
58 virtual const sal_uInt16 * GetWhichPairs() const override;
61 class AllDataLabelItemConverter : public MultipleItemConverter
63 public:
64 AllDataLabelItemConverter(
65 const css::uno::Reference<css::frame::XModel>& xChartModel,
66 SfxItemPool& rItemPool,
67 SdrModel& rDrawModel,
68 const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory );
70 virtual ~AllDataLabelItemConverter() override;
72 protected:
73 virtual const sal_uInt16 * GetWhichPairs() const override;
76 class AllTitleItemConverter : public MultipleItemConverter
78 public:
79 AllTitleItemConverter(
80 const css::uno::Reference<css::frame::XModel>& xChartModel,
81 SfxItemPool& rItemPool, SdrModel& rDrawModel,
82 const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory );
84 virtual ~AllTitleItemConverter() override;
86 protected:
87 virtual const sal_uInt16 * GetWhichPairs() const override;
90 class AllSeriesStatisticsConverter : public MultipleItemConverter
92 public:
93 AllSeriesStatisticsConverter(
94 const css::uno::Reference<css::frame::XModel>& xChartModel, SfxItemPool& rItemPool );
95 virtual ~AllSeriesStatisticsConverter() override;
97 protected:
98 virtual const sal_uInt16 * GetWhichPairs() const override;
101 } // namespace wrapper
102 } // namespace chart
104 // INCLUDED_CHART2_SOURCE_CONTROLLER_INC_MULTIPLECHARTCONVERTERS_HXX
105 #endif
107 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */