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 ************************************************************************/
28 // MARKER(update_precomp.py): autogen include statement, do not remove
29 #include "precompiled_chart2.hxx"
30 #include <cppuhelper/implementationentry.hxx>
31 #include "LabeledDataSequence.hxx"
32 #include "CachedDataSequence.hxx"
33 #include "DataSource.hxx"
34 #include "ConfigColorScheme.hxx"
35 #include "Scaling.hxx"
36 #include "ErrorBar.hxx"
37 #include "RegressionCurveModel.hxx"
38 #include "RegressionEquation.hxx"
39 #include "InternalDataProvider.hxx"
40 #include "charttoolsdllapi.hxx"
42 static struct ::cppu::ImplementationEntry g_entries_chart2_tools
[] =
45 ::chart::LabeledDataSequence::create
46 , ::chart::LabeledDataSequence::getImplementationName_Static
47 , ::chart::LabeledDataSequence::getSupportedServiceNames_Static
48 , ::cppu::createSingleComponentFactory
53 ::chart::CachedDataSequence::create
54 , ::chart::CachedDataSequence::getImplementationName_Static
55 , ::chart::CachedDataSequence::getSupportedServiceNames_Static
56 , ::cppu::createSingleComponentFactory
61 ::chart::DataSource::create
62 , ::chart::DataSource::getImplementationName_Static
63 , ::chart::DataSource::getSupportedServiceNames_Static
64 , ::cppu::createSingleComponentFactory
69 ::chart::ConfigColorScheme::create
70 , ::chart::ConfigColorScheme::getImplementationName_Static
71 , ::chart::ConfigColorScheme::getSupportedServiceNames_Static
72 , ::cppu::createSingleComponentFactory
78 ::chart::LogarithmicScaling::create
79 , ::chart::LogarithmicScaling::getImplementationName_Static
80 , ::chart::LogarithmicScaling::getSupportedServiceNames_Static
81 , ::cppu::createSingleComponentFactory
86 ::chart::ExponentialScaling::create
87 , ::chart::ExponentialScaling::getImplementationName_Static
88 , ::chart::ExponentialScaling::getSupportedServiceNames_Static
89 , ::cppu::createSingleComponentFactory
94 ::chart::LinearScaling::create
95 , ::chart::LinearScaling::getImplementationName_Static
96 , ::chart::LinearScaling::getSupportedServiceNames_Static
97 , ::cppu::createSingleComponentFactory
102 ::chart::PowerScaling::create
103 , ::chart::PowerScaling::getImplementationName_Static
104 , ::chart::PowerScaling::getSupportedServiceNames_Static
105 , ::cppu::createSingleComponentFactory
110 ::chart::ErrorBar::create
111 , ::chart::ErrorBar::getImplementationName_Static
112 , ::chart::ErrorBar::getSupportedServiceNames_Static
113 , ::cppu::createSingleComponentFactory
118 ::chart::MeanValueRegressionCurve::create
119 , ::chart::MeanValueRegressionCurve::getImplementationName_Static
120 , ::chart::MeanValueRegressionCurve::getSupportedServiceNames_Static
121 , ::cppu::createSingleComponentFactory
126 ::chart::LinearRegressionCurve::create
127 , ::chart::LinearRegressionCurve::getImplementationName_Static
128 , ::chart::LinearRegressionCurve::getSupportedServiceNames_Static
129 , ::cppu::createSingleComponentFactory
134 ::chart::LogarithmicRegressionCurve::create
135 , ::chart::LogarithmicRegressionCurve::getImplementationName_Static
136 , ::chart::LogarithmicRegressionCurve::getSupportedServiceNames_Static
137 , ::cppu::createSingleComponentFactory
142 ::chart::ExponentialRegressionCurve::create
143 , ::chart::ExponentialRegressionCurve::getImplementationName_Static
144 , ::chart::ExponentialRegressionCurve::getSupportedServiceNames_Static
145 , ::cppu::createSingleComponentFactory
150 ::chart::PotentialRegressionCurve::create
151 , ::chart::PotentialRegressionCurve::getImplementationName_Static
152 , ::chart::PotentialRegressionCurve::getSupportedServiceNames_Static
153 , ::cppu::createSingleComponentFactory
158 ::chart::RegressionEquation::create
159 , ::chart::RegressionEquation::getImplementationName_Static
160 , ::chart::RegressionEquation::getSupportedServiceNames_Static
161 , ::cppu::createSingleComponentFactory
166 ::chart::InternalDataProvider::create
167 , ::chart::InternalDataProvider::getImplementationName_Static
168 , ::chart::InternalDataProvider::getSupportedServiceNames_Static
169 , ::cppu::createSingleComponentFactory
173 ,{ 0, 0, 0, 0, 0, 0 }
179 //==================================================================================================
180 OOO_DLLPUBLIC_CHARTTOOLS
void SAL_CALL
component_getImplementationEnvironment(
181 const sal_Char
** ppEnvTypeName
, uno_Environment
** /* ppEnv */ )
183 *ppEnvTypeName
= CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
185 //==================================================================================================
186 OOO_DLLPUBLIC_CHARTTOOLS sal_Bool SAL_CALL
component_writeInfo(
187 void * pServiceManager
, void * pRegistryKey
)
189 return ::cppu::component_writeInfoHelper(
190 pServiceManager
, pRegistryKey
, g_entries_chart2_tools
);
192 //==================================================================================================
193 OOO_DLLPUBLIC_CHARTTOOLS
void * SAL_CALL
component_getFactory(
194 const sal_Char
* pImplName
, void * pServiceManager
, void * pRegistryKey
)
196 return ::cppu::component_getFactoryHelper(
197 pImplName
, pServiceManager
, pRegistryKey
, g_entries_chart2_tools
);
200 //=========================================================================