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