1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: _serviceregistration_controller.cxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_chart2.hxx"
33 #include "ChartController.hxx"
34 #include "ChartFrameloader.hxx"
35 #include "dlg_CreationWizard_UNO.hxx"
36 #include "dlg_ChartType_UNO.hxx"
37 #include "ChartDocumentWrapper.hxx"
38 #include "AccessibleChartView.hxx"
39 #include "ElementSelector.hxx"
40 #include <cppuhelper/implementationentry.hxx>
42 static struct ::cppu::ImplementationEntry g_entries_chart2_controller
[] =
45 ::chart::ChartController::create
46 , ::chart::ChartController::getImplementationName_Static
47 , ::chart::ChartController::getSupportedServiceNames_Static
48 , ::cppu::createSingleComponentFactory
53 ::chart::ChartFrameLoader::create
54 , ::chart::ChartFrameLoader::getImplementationName_Static
55 , ::chart::ChartFrameLoader::getSupportedServiceNames_Static
56 , ::cppu::createSingleComponentFactory
61 ::chart::CreationWizardUnoDlg::create
62 , ::chart::CreationWizardUnoDlg::getImplementationName_Static
63 , ::chart::CreationWizardUnoDlg::getSupportedServiceNames_Static
64 , ::cppu::createSingleComponentFactory
69 ::chart::ChartTypeUnoDlg::Create
70 , ::chart::ChartTypeUnoDlg::getImplementationName_Static
71 , ::chart::ChartTypeUnoDlg::getSupportedServiceNames_Static
72 , ::cppu::createSingleComponentFactory
77 ::chart::wrapper::ChartDocumentWrapper::create
78 , ::chart::wrapper::ChartDocumentWrapper::getImplementationName_Static
79 , ::chart::wrapper::ChartDocumentWrapper::getSupportedServiceNames_Static
80 , ::cppu::createSingleComponentFactory
85 ::chart::AccessibleChartView::create
86 , ::chart::AccessibleChartView::getImplementationName_Static
87 , ::chart::AccessibleChartView::getSupportedServiceNames_Static
88 , ::cppu::createSingleComponentFactory
93 ::chart::ElementSelectorToolbarController::create
94 , ::chart::ElementSelectorToolbarController::getImplementationName_Static
95 , ::chart::ElementSelectorToolbarController::getSupportedServiceNames_Static
96 , ::cppu::createSingleComponentFactory
100 ,{ 0, 0, 0, 0, 0, 0 }
106 //==================================================================================================
107 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
component_getImplementationEnvironment(
108 const sal_Char
** ppEnvTypeName
, uno_Environment
** /* ppEnv */ )
110 *ppEnvTypeName
= CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
112 //==================================================================================================
113 SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL
component_writeInfo(
114 void * pServiceManager
, void * pRegistryKey
)
116 return ::cppu::component_writeInfoHelper(
117 pServiceManager
, pRegistryKey
, g_entries_chart2_controller
);
119 //==================================================================================================
120 SAL_DLLPUBLIC_EXPORT
void * SAL_CALL
component_getFactory(
121 const sal_Char
* pImplName
, void * pServiceManager
, void * pRegistryKey
)
123 return ::cppu::component_getFactoryHelper(
124 pImplName
, pServiceManager
, pRegistryKey
, g_entries_chart2_controller
);
127 //=========================================================================