Bump for 3.6-28
[LibreOffice.git] / chart2 / source / controller / inc / MultipleChartConverters.hxx
blobd42231c45f697c14a7bfe5f6dc32ca8973eebf22
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef CHART2_MULTIPLECHARTCONVERTERS_HXX
29 #define CHART2_MULTIPLECHARTCONVERTERS_HXX
31 #include "MultipleItemConverter.hxx"
32 #include <com/sun/star/awt/Size.hpp>
33 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
35 #include <memory>
37 class SdrModel;
39 namespace chart
41 namespace wrapper
44 class AllAxisItemConverter : public ::comphelper::MultipleItemConverter
46 public:
47 SAL_WNODEPRECATED_DECLARATIONS_PUSH
48 AllAxisItemConverter(
49 const ::com::sun::star::uno::Reference<
50 ::com::sun::star::frame::XModel > & xChartModel,
51 SfxItemPool& rItemPool,
52 SdrModel& rDrawModel,
53 const ::com::sun::star::uno::Reference<
54 ::com::sun::star::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory,
55 ::std::auto_ptr< ::com::sun::star::awt::Size > pRefSize =
56 ::std::auto_ptr< ::com::sun::star::awt::Size >() );
57 SAL_WNODEPRECATED_DECLARATIONS_POP
58 virtual ~AllAxisItemConverter();
60 protected:
61 virtual const sal_uInt16 * GetWhichPairs() const;
64 class AllGridItemConverter : public ::comphelper::MultipleItemConverter
66 public:
67 AllGridItemConverter(
68 const ::com::sun::star::uno::Reference<
69 ::com::sun::star::frame::XModel > & xChartModel,
70 SfxItemPool& rItemPool,
71 SdrModel& rDrawModel,
72 const ::com::sun::star::uno::Reference<
73 ::com::sun::star::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory );
74 virtual ~AllGridItemConverter();
76 protected:
77 virtual const sal_uInt16 * GetWhichPairs() const;
80 class AllDataLabelItemConverter : public ::comphelper::MultipleItemConverter
82 public:
83 SAL_WNODEPRECATED_DECLARATIONS_PUSH
84 AllDataLabelItemConverter(
85 const ::com::sun::star::uno::Reference<
86 ::com::sun::star::frame::XModel > & xChartModel,
87 SfxItemPool& rItemPool,
88 SdrModel& rDrawModel,
89 const ::com::sun::star::uno::Reference<
90 ::com::sun::star::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory,
91 ::std::auto_ptr< ::com::sun::star::awt::Size > pRefSize =
92 ::std::auto_ptr< ::com::sun::star::awt::Size >() );
93 SAL_WNODEPRECATED_DECLARATIONS_POP
94 virtual ~AllDataLabelItemConverter();
96 protected:
97 virtual const sal_uInt16 * GetWhichPairs() const;
100 class AllTitleItemConverter : public ::comphelper::MultipleItemConverter
102 public:
103 SAL_WNODEPRECATED_DECLARATIONS_PUSH
104 AllTitleItemConverter(
105 const ::com::sun::star::uno::Reference<
106 ::com::sun::star::frame::XModel > & xChartModel,
107 SfxItemPool& rItemPool,
108 SdrModel& rDrawModel,
109 const ::com::sun::star::uno::Reference<
110 ::com::sun::star::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory,
111 ::std::auto_ptr< ::com::sun::star::awt::Size > pRefSize =
112 ::std::auto_ptr< ::com::sun::star::awt::Size >() );
113 SAL_WNODEPRECATED_DECLARATIONS_POP
114 virtual ~AllTitleItemConverter();
116 protected:
117 virtual const sal_uInt16 * GetWhichPairs() const;
120 class AllSeriesStatisticsConverter : public ::comphelper::MultipleItemConverter
122 public:
123 AllSeriesStatisticsConverter(
124 const ::com::sun::star::uno::Reference<
125 ::com::sun::star::frame::XModel > & xChartModel,
126 SfxItemPool& rItemPool );
127 virtual ~AllSeriesStatisticsConverter();
129 protected:
130 virtual const sal_uInt16 * GetWhichPairs() const;
133 } // namespace wrapper
134 } // namespace chart
136 // CHART2_MULTIPLECHARTCONVERTERS_HXX
137 #endif
139 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */