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 "ChartController.hxx"
31 #include "ChartFrameloader.hxx"
32 #include "dlg_CreationWizard_UNO.hxx"
33 #include "dlg_ChartType_UNO.hxx"
34 #include "ChartDocumentWrapper.hxx"
35 #include "AccessibleChartView.hxx"
36 #include "ElementSelector.hxx"
37 #include "ShapeToolbarController.hxx"
38 #include <cppuhelper/implementationentry.hxx>
40 static struct ::cppu::ImplementationEntry g_entries_chart2_controller
[] =
43 ::chart::ChartController::create
44 , ::chart::ChartController::getImplementationName_Static
45 , ::chart::ChartController::getSupportedServiceNames_Static
46 , ::cppu::createSingleComponentFactory
51 ::chart::ChartFrameLoader::create
52 , ::chart::ChartFrameLoader::getImplementationName_Static
53 , ::chart::ChartFrameLoader::getSupportedServiceNames_Static
54 , ::cppu::createSingleComponentFactory
59 ::chart::CreationWizardUnoDlg::create
60 , ::chart::CreationWizardUnoDlg::getImplementationName_Static
61 , ::chart::CreationWizardUnoDlg::getSupportedServiceNames_Static
62 , ::cppu::createSingleComponentFactory
67 ::chart::ChartTypeUnoDlg::Create
68 , ::chart::ChartTypeUnoDlg::getImplementationName_Static
69 , ::chart::ChartTypeUnoDlg::getSupportedServiceNames_Static
70 , ::cppu::createSingleComponentFactory
75 ::chart::wrapper::ChartDocumentWrapper::create
76 , ::chart::wrapper::ChartDocumentWrapper::getImplementationName_Static
77 , ::chart::wrapper::ChartDocumentWrapper::getSupportedServiceNames_Static
78 , ::cppu::createSingleComponentFactory
83 ::chart::ElementSelectorToolbarController::create
84 , ::chart::ElementSelectorToolbarController::getImplementationName_Static
85 , ::chart::ElementSelectorToolbarController::getSupportedServiceNames_Static
86 , ::cppu::createSingleComponentFactory
91 ::chart::ShapeToolbarController::create
92 , ::chart::ShapeToolbarController::getImplementationName_Static
93 , ::chart::ShapeToolbarController::getSupportedServiceNames_Static
94 , ::cppu::createSingleComponentFactory
104 //==================================================================================================
105 SAL_DLLPUBLIC_EXPORT
void SAL_CALL
component_getImplementationEnvironment(
106 const sal_Char
** ppEnvTypeName
, uno_Environment
** /* ppEnv */ )
108 *ppEnvTypeName
= CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
110 //==================================================================================================
111 SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL
component_writeInfo(
112 void * pServiceManager
, void * pRegistryKey
)
114 return ::cppu::component_writeInfoHelper(
115 pServiceManager
, pRegistryKey
, g_entries_chart2_controller
);
117 //==================================================================================================
118 SAL_DLLPUBLIC_EXPORT
void * SAL_CALL
component_getFactory(
119 const sal_Char
* pImplName
, void * pServiceManager
, void * pRegistryKey
)
121 return ::cppu::component_getFactoryHelper(
122 pImplName
, pServiceManager
, pRegistryKey
, g_entries_chart2_controller
);
125 //=========================================================================