1*cde9e8dcSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*cde9e8dcSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*cde9e8dcSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*cde9e8dcSAndrew Rist  * distributed with this work for additional information
6*cde9e8dcSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*cde9e8dcSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*cde9e8dcSAndrew Rist  * "License"); you may not use this file except in compliance
9*cde9e8dcSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*cde9e8dcSAndrew Rist  *
11*cde9e8dcSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*cde9e8dcSAndrew Rist  *
13*cde9e8dcSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*cde9e8dcSAndrew Rist  * software distributed under the License is distributed on an
15*cde9e8dcSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*cde9e8dcSAndrew Rist  * KIND, either express or implied.  See the License for the
17*cde9e8dcSAndrew Rist  * specific language governing permissions and limitations
18*cde9e8dcSAndrew Rist  * under the License.
19*cde9e8dcSAndrew Rist  *
20*cde9e8dcSAndrew Rist  *************************************************************/
21*cde9e8dcSAndrew Rist 
22*cde9e8dcSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
25cdf0e10cSrcweir #include "precompiled_chart2.hxx"
26cdf0e10cSrcweir #include <cppuhelper/implementationentry.hxx>
27cdf0e10cSrcweir #include "LabeledDataSequence.hxx"
28cdf0e10cSrcweir #include "CachedDataSequence.hxx"
29cdf0e10cSrcweir #include "DataSource.hxx"
30cdf0e10cSrcweir #include "ConfigColorScheme.hxx"
31cdf0e10cSrcweir #include "Scaling.hxx"
32cdf0e10cSrcweir #include "ErrorBar.hxx"
33cdf0e10cSrcweir #include "RegressionCurveModel.hxx"
34cdf0e10cSrcweir #include "RegressionEquation.hxx"
35cdf0e10cSrcweir #include "InternalDataProvider.hxx"
36cdf0e10cSrcweir #include "charttoolsdllapi.hxx"
37cdf0e10cSrcweir 
38cdf0e10cSrcweir static struct ::cppu::ImplementationEntry g_entries_chart2_tools[] =
39cdf0e10cSrcweir {
40cdf0e10cSrcweir 	{
41cdf0e10cSrcweir 		  ::chart::LabeledDataSequence::create
42cdf0e10cSrcweir 		, ::chart::LabeledDataSequence::getImplementationName_Static
43cdf0e10cSrcweir 		, ::chart::LabeledDataSequence::getSupportedServiceNames_Static
44cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
45cdf0e10cSrcweir 		, 0
46cdf0e10cSrcweir 		, 0
47cdf0e10cSrcweir 	}
48cdf0e10cSrcweir    ,{
49cdf0e10cSrcweir 		  ::chart::CachedDataSequence::create
50cdf0e10cSrcweir 		, ::chart::CachedDataSequence::getImplementationName_Static
51cdf0e10cSrcweir 		, ::chart::CachedDataSequence::getSupportedServiceNames_Static
52cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
53cdf0e10cSrcweir 		, 0
54cdf0e10cSrcweir 		, 0
55cdf0e10cSrcweir 	}
56cdf0e10cSrcweir    ,{
57cdf0e10cSrcweir 		  ::chart::DataSource::create
58cdf0e10cSrcweir 		, ::chart::DataSource::getImplementationName_Static
59cdf0e10cSrcweir 		, ::chart::DataSource::getSupportedServiceNames_Static
60cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
61cdf0e10cSrcweir 		, 0
62cdf0e10cSrcweir         , 0
63cdf0e10cSrcweir     }
64cdf0e10cSrcweir    ,{
65cdf0e10cSrcweir 		  ::chart::ConfigColorScheme::create
66cdf0e10cSrcweir 		, ::chart::ConfigColorScheme::getImplementationName_Static
67cdf0e10cSrcweir 		, ::chart::ConfigColorScheme::getSupportedServiceNames_Static
68cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
69cdf0e10cSrcweir 		, 0
70cdf0e10cSrcweir 		, 0
71cdf0e10cSrcweir 	}
72cdf0e10cSrcweir 
73cdf0e10cSrcweir     ,{
74cdf0e10cSrcweir 		  ::chart::LogarithmicScaling::create
75cdf0e10cSrcweir 		, ::chart::LogarithmicScaling::getImplementationName_Static
76cdf0e10cSrcweir 		, ::chart::LogarithmicScaling::getSupportedServiceNames_Static
77cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
78cdf0e10cSrcweir 		, 0
79cdf0e10cSrcweir 		, 0
80cdf0e10cSrcweir 	}
81cdf0e10cSrcweir    ,{
82cdf0e10cSrcweir 		  ::chart::ExponentialScaling::create
83cdf0e10cSrcweir 		, ::chart::ExponentialScaling::getImplementationName_Static
84cdf0e10cSrcweir 		, ::chart::ExponentialScaling::getSupportedServiceNames_Static
85cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
86cdf0e10cSrcweir 		, 0
87cdf0e10cSrcweir 		, 0
88cdf0e10cSrcweir 	}
89cdf0e10cSrcweir    ,{
90cdf0e10cSrcweir 		  ::chart::LinearScaling::create
91cdf0e10cSrcweir 		, ::chart::LinearScaling::getImplementationName_Static
92cdf0e10cSrcweir 		, ::chart::LinearScaling::getSupportedServiceNames_Static
93cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
94cdf0e10cSrcweir 		, 0
95cdf0e10cSrcweir 		, 0
96cdf0e10cSrcweir 	}
97cdf0e10cSrcweir    ,{
98cdf0e10cSrcweir 		  ::chart::PowerScaling::create
99cdf0e10cSrcweir 		, ::chart::PowerScaling::getImplementationName_Static
100cdf0e10cSrcweir 		, ::chart::PowerScaling::getSupportedServiceNames_Static
101cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
102cdf0e10cSrcweir 		, 0
103cdf0e10cSrcweir 		, 0
104cdf0e10cSrcweir 	}
105cdf0e10cSrcweir    ,{
106cdf0e10cSrcweir 		  ::chart::ErrorBar::create
107cdf0e10cSrcweir 		, ::chart::ErrorBar::getImplementationName_Static
108cdf0e10cSrcweir 		, ::chart::ErrorBar::getSupportedServiceNames_Static
109cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
110cdf0e10cSrcweir 		, 0
111cdf0e10cSrcweir 		, 0
112cdf0e10cSrcweir 	}
113cdf0e10cSrcweir    ,{
114cdf0e10cSrcweir 		  ::chart::MeanValueRegressionCurve::create
115cdf0e10cSrcweir 		, ::chart::MeanValueRegressionCurve::getImplementationName_Static
116cdf0e10cSrcweir 		, ::chart::MeanValueRegressionCurve::getSupportedServiceNames_Static
117cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
118cdf0e10cSrcweir 		, 0
119cdf0e10cSrcweir 		, 0
120cdf0e10cSrcweir 	}
121cdf0e10cSrcweir    ,{
122cdf0e10cSrcweir 		  ::chart::LinearRegressionCurve::create
123cdf0e10cSrcweir 		, ::chart::LinearRegressionCurve::getImplementationName_Static
124cdf0e10cSrcweir 		, ::chart::LinearRegressionCurve::getSupportedServiceNames_Static
125cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
126cdf0e10cSrcweir 		, 0
127cdf0e10cSrcweir 		, 0
128cdf0e10cSrcweir 	}
129cdf0e10cSrcweir    ,{
130cdf0e10cSrcweir 		  ::chart::LogarithmicRegressionCurve::create
131cdf0e10cSrcweir 		, ::chart::LogarithmicRegressionCurve::getImplementationName_Static
132cdf0e10cSrcweir 		, ::chart::LogarithmicRegressionCurve::getSupportedServiceNames_Static
133cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
134cdf0e10cSrcweir 		, 0
135cdf0e10cSrcweir 		, 0
136cdf0e10cSrcweir 	}
137cdf0e10cSrcweir    ,{
138cdf0e10cSrcweir 		  ::chart::ExponentialRegressionCurve::create
139cdf0e10cSrcweir 		, ::chart::ExponentialRegressionCurve::getImplementationName_Static
140cdf0e10cSrcweir 		, ::chart::ExponentialRegressionCurve::getSupportedServiceNames_Static
141cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
142cdf0e10cSrcweir 		, 0
143cdf0e10cSrcweir 		, 0
144cdf0e10cSrcweir 	}
145cdf0e10cSrcweir    ,{
146cdf0e10cSrcweir 		  ::chart::PotentialRegressionCurve::create
147cdf0e10cSrcweir 		, ::chart::PotentialRegressionCurve::getImplementationName_Static
148cdf0e10cSrcweir 		, ::chart::PotentialRegressionCurve::getSupportedServiceNames_Static
149cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
150cdf0e10cSrcweir 		, 0
151cdf0e10cSrcweir 		, 0
152cdf0e10cSrcweir 	}
153cdf0e10cSrcweir    ,{
154cdf0e10cSrcweir 		  ::chart::RegressionEquation::create
155cdf0e10cSrcweir 		, ::chart::RegressionEquation::getImplementationName_Static
156cdf0e10cSrcweir 		, ::chart::RegressionEquation::getSupportedServiceNames_Static
157cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
158cdf0e10cSrcweir 		, 0
159cdf0e10cSrcweir 		, 0
160cdf0e10cSrcweir 	}
161cdf0e10cSrcweir    ,{
162cdf0e10cSrcweir 		  ::chart::InternalDataProvider::create
163cdf0e10cSrcweir 		, ::chart::InternalDataProvider::getImplementationName_Static
164cdf0e10cSrcweir 		, ::chart::InternalDataProvider::getSupportedServiceNames_Static
165cdf0e10cSrcweir 		, ::cppu::createSingleComponentFactory
166cdf0e10cSrcweir 		, 0
167cdf0e10cSrcweir 		, 0
168cdf0e10cSrcweir 	}
169cdf0e10cSrcweir    ,{ 0, 0, 0, 0, 0, 0 }
170cdf0e10cSrcweir };
171cdf0e10cSrcweir 
172cdf0e10cSrcweir // component exports
173cdf0e10cSrcweir extern "C"
174cdf0e10cSrcweir {
175cdf0e10cSrcweir //==================================================================================================
component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,uno_Environment **)176cdf0e10cSrcweir OOO_DLLPUBLIC_CHARTTOOLS void SAL_CALL component_getImplementationEnvironment(
177cdf0e10cSrcweir 	const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
178cdf0e10cSrcweir {
179cdf0e10cSrcweir 	*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
180cdf0e10cSrcweir }
181cdf0e10cSrcweir //==================================================================================================
component_getFactory(const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey)182cdf0e10cSrcweir OOO_DLLPUBLIC_CHARTTOOLS void * SAL_CALL component_getFactory(
183cdf0e10cSrcweir 	const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
184cdf0e10cSrcweir {
185cdf0e10cSrcweir 	return ::cppu::component_getFactoryHelper(
186cdf0e10cSrcweir         pImplName, pServiceManager, pRegistryKey , g_entries_chart2_tools );
187cdf0e10cSrcweir }
188cdf0e10cSrcweir }
189cdf0e10cSrcweir //=========================================================================
190