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
10cdf0e10cSrcweir *
11*cde9e8dcSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
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.
19cdf0e10cSrcweir *
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 "ChartController.hxx"
27cdf0e10cSrcweir #include "ChartFrameloader.hxx"
28cdf0e10cSrcweir #include "dlg_CreationWizard_UNO.hxx"
29cdf0e10cSrcweir #include "dlg_ChartType_UNO.hxx"
30cdf0e10cSrcweir #include "ChartDocumentWrapper.hxx"
31cdf0e10cSrcweir #include "AccessibleChartView.hxx"
32cdf0e10cSrcweir #include "ElementSelector.hxx"
33cdf0e10cSrcweir #include "ShapeToolbarController.hxx"
34cdf0e10cSrcweir #include <cppuhelper/implementationentry.hxx>
35cdf0e10cSrcweir
36cdf0e10cSrcweir static struct ::cppu::ImplementationEntry g_entries_chart2_controller[] =
37cdf0e10cSrcweir {
38cdf0e10cSrcweir {
39cdf0e10cSrcweir ::chart::ChartController::create
40cdf0e10cSrcweir , ::chart::ChartController::getImplementationName_Static
41cdf0e10cSrcweir , ::chart::ChartController::getSupportedServiceNames_Static
42cdf0e10cSrcweir , ::cppu::createSingleComponentFactory
43cdf0e10cSrcweir , 0
44cdf0e10cSrcweir , 0
45cdf0e10cSrcweir }
46cdf0e10cSrcweir ,{
47cdf0e10cSrcweir ::chart::ChartFrameLoader::create
48cdf0e10cSrcweir , ::chart::ChartFrameLoader::getImplementationName_Static
49cdf0e10cSrcweir , ::chart::ChartFrameLoader::getSupportedServiceNames_Static
50cdf0e10cSrcweir , ::cppu::createSingleComponentFactory
51cdf0e10cSrcweir , 0
52cdf0e10cSrcweir , 0
53cdf0e10cSrcweir }
54cdf0e10cSrcweir ,{
55cdf0e10cSrcweir ::chart::CreationWizardUnoDlg::create
56cdf0e10cSrcweir , ::chart::CreationWizardUnoDlg::getImplementationName_Static
57cdf0e10cSrcweir , ::chart::CreationWizardUnoDlg::getSupportedServiceNames_Static
58cdf0e10cSrcweir , ::cppu::createSingleComponentFactory
59cdf0e10cSrcweir , 0
60cdf0e10cSrcweir , 0
61cdf0e10cSrcweir }
62cdf0e10cSrcweir ,{
63cdf0e10cSrcweir ::chart::ChartTypeUnoDlg::Create
64cdf0e10cSrcweir , ::chart::ChartTypeUnoDlg::getImplementationName_Static
65cdf0e10cSrcweir , ::chart::ChartTypeUnoDlg::getSupportedServiceNames_Static
66cdf0e10cSrcweir , ::cppu::createSingleComponentFactory
67cdf0e10cSrcweir , 0
68cdf0e10cSrcweir , 0
69cdf0e10cSrcweir }
70cdf0e10cSrcweir ,{
71cdf0e10cSrcweir ::chart::wrapper::ChartDocumentWrapper::create
72cdf0e10cSrcweir , ::chart::wrapper::ChartDocumentWrapper::getImplementationName_Static
73cdf0e10cSrcweir , ::chart::wrapper::ChartDocumentWrapper::getSupportedServiceNames_Static
74cdf0e10cSrcweir , ::cppu::createSingleComponentFactory
75cdf0e10cSrcweir , 0
76cdf0e10cSrcweir , 0
77cdf0e10cSrcweir }
78cdf0e10cSrcweir ,{
79cdf0e10cSrcweir ::chart::ElementSelectorToolbarController::create
80cdf0e10cSrcweir , ::chart::ElementSelectorToolbarController::getImplementationName_Static
81cdf0e10cSrcweir , ::chart::ElementSelectorToolbarController::getSupportedServiceNames_Static
82cdf0e10cSrcweir , ::cppu::createSingleComponentFactory
83cdf0e10cSrcweir , 0
84cdf0e10cSrcweir , 0
85cdf0e10cSrcweir }
86cdf0e10cSrcweir ,{
87cdf0e10cSrcweir ::chart::ShapeToolbarController::create
88cdf0e10cSrcweir , ::chart::ShapeToolbarController::getImplementationName_Static
89cdf0e10cSrcweir , ::chart::ShapeToolbarController::getSupportedServiceNames_Static
90cdf0e10cSrcweir , ::cppu::createSingleComponentFactory
91cdf0e10cSrcweir , 0
92cdf0e10cSrcweir , 0
93cdf0e10cSrcweir }
94cdf0e10cSrcweir ,{ 0, 0, 0, 0, 0, 0 }
95cdf0e10cSrcweir };
96cdf0e10cSrcweir
97cdf0e10cSrcweir // component exports
98cdf0e10cSrcweir extern "C"
99cdf0e10cSrcweir {
100cdf0e10cSrcweir //==================================================================================================
component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,uno_Environment **)101cdf0e10cSrcweir SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
102cdf0e10cSrcweir const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
103cdf0e10cSrcweir {
104cdf0e10cSrcweir *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
105cdf0e10cSrcweir }
106cdf0e10cSrcweir //==================================================================================================
component_getFactory(const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey)107cdf0e10cSrcweir SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
108cdf0e10cSrcweir const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
109cdf0e10cSrcweir {
110cdf0e10cSrcweir return ::cppu::component_getFactoryHelper(
111cdf0e10cSrcweir pImplName, pServiceManager, pRegistryKey , g_entries_chart2_controller );
112cdf0e10cSrcweir }
113cdf0e10cSrcweir }
114cdf0e10cSrcweir //=========================================================================
115