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>
44 class AllAxisItemConverter
: public ::comphelper::MultipleItemConverter
47 SAL_WNODEPRECATED_DECLARATIONS_PUSH
49 const ::com::sun::star::uno::Reference
<
50 ::com::sun::star::frame::XModel
> & xChartModel
,
51 SfxItemPool
& rItemPool
,
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();
61 virtual const sal_uInt16
* 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 sal_uInt16
* GetWhichPairs() const;
80 class AllDataLabelItemConverter
: public ::comphelper::MultipleItemConverter
83 SAL_WNODEPRECATED_DECLARATIONS_PUSH
84 AllDataLabelItemConverter(
85 const ::com::sun::star::uno::Reference
<
86 ::com::sun::star::frame::XModel
> & xChartModel
,
87 SfxItemPool
& rItemPool
,
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();
97 virtual const sal_uInt16
* GetWhichPairs() const;
100 class AllTitleItemConverter
: public ::comphelper::MultipleItemConverter
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();
117 virtual const sal_uInt16
* GetWhichPairs() const;
120 class AllSeriesStatisticsConverter
: public ::comphelper::MultipleItemConverter
123 AllSeriesStatisticsConverter(
124 const ::com::sun::star::uno::Reference
<
125 ::com::sun::star::frame::XModel
> & xChartModel
,
126 SfxItemPool
& rItemPool
);
127 virtual ~AllSeriesStatisticsConverter();
130 virtual const sal_uInt16
* GetWhichPairs() const;
133 } // namespace wrapper
136 // CHART2_MULTIPLECHARTCONVERTERS_HXX
139 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */