1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: MultipleChartConverters.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef CHART2_MULTIPLECHARTCONVERTERS_HXX
31 #define CHART2_MULTIPLECHARTCONVERTERS_HXX
33 #include "MultipleItemConverter.hxx"
34 #include <com/sun/star/awt/Size.hpp>
35 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
46 class AllAxisItemConverter
: public ::comphelper::MultipleItemConverter
50 const ::com::sun::star::uno::Reference
<
51 ::com::sun::star::frame::XModel
> & xChartModel
,
52 SfxItemPool
& rItemPool
,
54 const ::com::sun::star::uno::Reference
<
55 ::com::sun::star::lang::XMultiServiceFactory
> & xNamedPropertyContainerFactory
,
56 ::std::auto_ptr
< ::com::sun::star::awt::Size
> pRefSize
=
57 ::std::auto_ptr
< ::com::sun::star::awt::Size
>() );
58 virtual ~AllAxisItemConverter();
61 virtual const USHORT
* GetWhichPairs() const;
64 class AllGridItemConverter
: public ::comphelper::MultipleItemConverter
68 const ::com::sun::star::uno::Reference
<
69 ::com::sun::star::frame::XModel
> & xChartModel
,
70 SfxItemPool
& rItemPool
,
72 const ::com::sun::star::uno::Reference
<
73 ::com::sun::star::lang::XMultiServiceFactory
> & xNamedPropertyContainerFactory
);
74 virtual ~AllGridItemConverter();
77 virtual const USHORT
* GetWhichPairs() const;
80 class AllDataLabelItemConverter
: public ::comphelper::MultipleItemConverter
83 AllDataLabelItemConverter(
84 const ::com::sun::star::uno::Reference
<
85 ::com::sun::star::frame::XModel
> & xChartModel
,
86 SfxItemPool
& rItemPool
,
88 const ::com::sun::star::uno::Reference
<
89 ::com::sun::star::lang::XMultiServiceFactory
> & xNamedPropertyContainerFactory
,
90 ::std::auto_ptr
< ::com::sun::star::awt::Size
> pRefSize
=
91 ::std::auto_ptr
< ::com::sun::star::awt::Size
>() );
92 virtual ~AllDataLabelItemConverter();
95 virtual const USHORT
* GetWhichPairs() const;
98 class AllTitleItemConverter
: public ::comphelper::MultipleItemConverter
101 AllTitleItemConverter(
102 const ::com::sun::star::uno::Reference
<
103 ::com::sun::star::frame::XModel
> & xChartModel
,
104 SfxItemPool
& rItemPool
,
105 SdrModel
& rDrawModel
,
106 const ::com::sun::star::uno::Reference
<
107 ::com::sun::star::lang::XMultiServiceFactory
> & xNamedPropertyContainerFactory
,
108 ::std::auto_ptr
< ::com::sun::star::awt::Size
> pRefSize
=
109 ::std::auto_ptr
< ::com::sun::star::awt::Size
>() );
110 virtual ~AllTitleItemConverter();
113 virtual const USHORT
* GetWhichPairs() const;
116 class AllSeriesStatisticsConverter
: public ::comphelper::MultipleItemConverter
119 AllSeriesStatisticsConverter(
120 const ::com::sun::star::uno::Reference
<
121 ::com::sun::star::frame::XModel
> & xChartModel
,
122 SfxItemPool
& rItemPool
);
123 virtual ~AllSeriesStatisticsConverter();
126 virtual const USHORT
* GetWhichPairs() const;
129 } // namespace wrapper
132 // CHART2_MULTIPLECHARTCONVERTERS_HXX