1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef CHART2_MULTIPLECHARTCONVERTERS_HXX
28 #define CHART2_MULTIPLECHARTCONVERTERS_HXX
30 #include "MultipleItemConverter.hxx"
31 #include <com/sun/star/awt/Size.hpp>
32 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
43 class AllAxisItemConverter
: public ::comphelper::MultipleItemConverter
47 const ::com::sun::star::uno::Reference
<
48 ::com::sun::star::frame::XModel
> & xChartModel
,
49 SfxItemPool
& rItemPool
,
51 const ::com::sun::star::uno::Reference
<
52 ::com::sun::star::lang::XMultiServiceFactory
> & xNamedPropertyContainerFactory
,
53 ::std::auto_ptr
< ::com::sun::star::awt::Size
> pRefSize
=
54 ::std::auto_ptr
< ::com::sun::star::awt::Size
>() );
55 virtual ~AllAxisItemConverter();
58 virtual const USHORT
* GetWhichPairs() const;
61 class AllGridItemConverter
: public ::comphelper::MultipleItemConverter
65 const ::com::sun::star::uno::Reference
<
66 ::com::sun::star::frame::XModel
> & xChartModel
,
67 SfxItemPool
& rItemPool
,
69 const ::com::sun::star::uno::Reference
<
70 ::com::sun::star::lang::XMultiServiceFactory
> & xNamedPropertyContainerFactory
);
71 virtual ~AllGridItemConverter();
74 virtual const USHORT
* GetWhichPairs() const;
77 class AllDataLabelItemConverter
: public ::comphelper::MultipleItemConverter
80 AllDataLabelItemConverter(
81 const ::com::sun::star::uno::Reference
<
82 ::com::sun::star::frame::XModel
> & xChartModel
,
83 SfxItemPool
& rItemPool
,
85 const ::com::sun::star::uno::Reference
<
86 ::com::sun::star::lang::XMultiServiceFactory
> & xNamedPropertyContainerFactory
,
87 ::std::auto_ptr
< ::com::sun::star::awt::Size
> pRefSize
=
88 ::std::auto_ptr
< ::com::sun::star::awt::Size
>() );
89 virtual ~AllDataLabelItemConverter();
92 virtual const USHORT
* GetWhichPairs() const;
95 class AllTitleItemConverter
: public ::comphelper::MultipleItemConverter
98 AllTitleItemConverter(
99 const ::com::sun::star::uno::Reference
<
100 ::com::sun::star::frame::XModel
> & xChartModel
,
101 SfxItemPool
& rItemPool
,
102 SdrModel
& rDrawModel
,
103 const ::com::sun::star::uno::Reference
<
104 ::com::sun::star::lang::XMultiServiceFactory
> & xNamedPropertyContainerFactory
,
105 ::std::auto_ptr
< ::com::sun::star::awt::Size
> pRefSize
=
106 ::std::auto_ptr
< ::com::sun::star::awt::Size
>() );
107 virtual ~AllTitleItemConverter();
110 virtual const USHORT
* GetWhichPairs() const;
113 class AllSeriesStatisticsConverter
: public ::comphelper::MultipleItemConverter
116 AllSeriesStatisticsConverter(
117 const ::com::sun::star::uno::Reference
<
118 ::com::sun::star::frame::XModel
> & xChartModel
,
119 SfxItemPool
& rItemPool
);
120 virtual ~AllSeriesStatisticsConverter();
123 virtual const USHORT
* GetWhichPairs() const;
126 } // namespace wrapper
129 // CHART2_MULTIPLECHARTCONVERTERS_HXX