xref: /trunk/main/chart2/source/model/template/_serviceregistration_charttypes.cxx (revision 89e8f0e82d9824d5d288188e0dc720afc6cf9579)
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_chartmodel.hxx"
26 
27 #include "_serviceregistration_charttypes.hxx"
28 
29 #include "AreaChartType.hxx"
30 #include "BarChartType.hxx"
31 #include "CandleStickChartType.hxx"
32 #include "ColumnChartType.hxx"
33 #include "LineChartType.hxx"
34 #include "NetChartType.hxx"
35 #include "FilledNetChartType.hxx"
36 #include "PieChartType.hxx"
37 #include "ScatterChartType.hxx"
38 #include "BubbleChartType.hxx"
39 
40 namespace
41 {
42 static struct ::cppu::ImplementationEntry g_entries_chart2_charttypes[] =
43 {
44     {
45           ::chart::AreaChartType::create
46         , ::chart::AreaChartType::getImplementationName_Static
47         , ::chart::AreaChartType::getSupportedServiceNames_Static
48         , ::cppu::createSingleComponentFactory
49         , 0
50         , 0
51     }
52     ,{
53           ::chart::BarChartType::create
54         , ::chart::BarChartType::getImplementationName_Static
55         , ::chart::BarChartType::getSupportedServiceNames_Static
56         , ::cppu::createSingleComponentFactory
57         , 0
58         , 0
59     }
60     ,{
61           ::chart::CandleStickChartType::create
62         , ::chart::CandleStickChartType::getImplementationName_Static
63         , ::chart::CandleStickChartType::getSupportedServiceNames_Static
64         , ::cppu::createSingleComponentFactory
65         , 0
66         , 0
67     }
68     ,{
69           ::chart::ColumnChartType::create
70         , ::chart::ColumnChartType::getImplementationName_Static
71         , ::chart::ColumnChartType::getSupportedServiceNames_Static
72         , ::cppu::createSingleComponentFactory
73         , 0
74         , 0
75     }
76     ,{
77           ::chart::LineChartType::create
78         , ::chart::LineChartType::getImplementationName_Static
79         , ::chart::LineChartType::getSupportedServiceNames_Static
80         , ::cppu::createSingleComponentFactory
81         , 0
82         , 0
83     }
84     ,{
85           ::chart::NetChartType::create
86         , ::chart::NetChartType::getImplementationName_Static
87         , ::chart::NetChartType::getSupportedServiceNames_Static
88         , ::cppu::createSingleComponentFactory
89         , 0
90         , 0
91     }
92     ,{
93           ::chart::FilledNetChartType::create
94         , ::chart::FilledNetChartType::getImplementationName_Static
95         , ::chart::FilledNetChartType::getSupportedServiceNames_Static
96         , ::cppu::createSingleComponentFactory
97         , 0
98         , 0
99     }
100     ,{
101           ::chart::PieChartType::create
102         , ::chart::PieChartType::getImplementationName_Static
103         , ::chart::PieChartType::getSupportedServiceNames_Static
104         , ::cppu::createSingleComponentFactory
105         , 0
106         , 0
107     }
108     ,{
109           ::chart::ScatterChartType::create
110         , ::chart::ScatterChartType::getImplementationName_Static
111         , ::chart::ScatterChartType::getSupportedServiceNames_Static
112         , ::cppu::createSingleComponentFactory
113         , 0
114         , 0
115     }
116         ,{
117           ::chart::BubbleChartType::create
118         , ::chart::BubbleChartType::getImplementationName_Static
119         , ::chart::BubbleChartType::getSupportedServiceNames_Static
120         , ::cppu::createSingleComponentFactory
121         , 0
122         , 0
123     }
124    ,{ 0, 0, 0, 0, 0, 0 }
125 };
126 
127 } // anonymous namespace
128 
129 struct ::cppu::ImplementationEntry *
getImplementationEntries()130     ChartTypeEntriesForServiceRegistration::getImplementationEntries()
131 {
132     return g_entries_chart2_charttypes;
133 }
134