Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*************************************************************************
3 : : *
4 : : * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 : : *
6 : : * Copyright 2000, 2010 Oracle and/or its affiliates.
7 : : *
8 : : * OpenOffice.org - a multi-platform office productivity suite
9 : : *
10 : : * This file is part of OpenOffice.org.
11 : : *
12 : : * OpenOffice.org is free software: you can redistribute it and/or modify
13 : : * it under the terms of the GNU Lesser General Public License version 3
14 : : * only, as published by the Free Software Foundation.
15 : : *
16 : : * OpenOffice.org is distributed in the hope that it will be useful,
17 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 : : * GNU Lesser General Public License version 3 for more details
20 : : * (a copy is included in the LICENSE file that accompanied this code).
21 : : *
22 : : * You should have received a copy of the GNU Lesser General Public License
23 : : * version 3 along with OpenOffice.org. If not, see
24 : : * <http://www.openoffice.org/license.html>
25 : : * for a copy of the LGPLv3 License.
26 : : *
27 : : ************************************************************************/
28 : :
29 : : #include <com/sun/star/lang/XSingleServiceFactory.hpp>
30 : : #include <com/sun/star/lang/XMultiServiceFactory.hpp>
31 : : #include <com/sun/star/registry/XRegistryKey.hpp>
32 : : #include <toolkit/controls/geometrycontrolmodel.hxx>
33 : : #include <cppuhelper/factory.hxx>
34 : : #include <cppuhelper/weak.hxx>
35 : : #include <osl/mutex.hxx>
36 : : #include <toolkit/helper/servicenames.hxx>
37 : : #include <toolkit/helper/macros.hxx>
38 : : #include <toolkit/awt/vclxtoolkit.hxx>
39 : : #include <toolkit/awt/vclxmenu.hxx>
40 : : #include <toolkit/awt/vclxpointer.hxx>
41 : : #include <toolkit/awt/vclxprinter.hxx>
42 : : #include <toolkit/controls/unocontrols.hxx>
43 : : #include <toolkit/controls/dialogcontrol.hxx>
44 : : #include <toolkit/controls/unocontrolcontainer.hxx>
45 : : #include <toolkit/controls/unocontrolcontainermodel.hxx>
46 : : #include <toolkit/controls/stdtabcontroller.hxx>
47 : : #include <toolkit/controls/stdtabcontrollermodel.hxx>
48 : : #include <toolkit/controls/formattedcontrol.hxx>
49 : : #include <toolkit/controls/roadmapcontrol.hxx>
50 : : #include <toolkit/controls/tkscrollbar.hxx>
51 : : #include "toolkit/controls/tkspinbutton.hxx"
52 : : #include <toolkit/controls/tksimpleanimation.hxx>
53 : : #include <toolkit/controls/tkthrobber.hxx>
54 : : #include <toolkit/controls/animatedimages.hxx>
55 : : #include <toolkit/controls/spinningprogress.hxx>
56 : : #include <toolkit/controls/dialogcontrol.hxx>
57 : : #include <toolkit/controls/tabpagemodel.hxx>
58 : : #include <toolkit/controls/tabpagecontainer.hxx>
59 : : #include "toolkit/dllapi.h"
60 : : #include <com/sun/star/beans/XPropertySet.hpp>
61 : : #include <com/sun/star/uno/XComponentContext.hpp>
62 : :
63 : : namespace toolkit
64 : : {
65 : : using namespace ::com::sun::star::uno;
66 : : using namespace ::com::sun::star::lang;
67 : : using namespace ::com::sun::star::registry;
68 : :
69 : : //.........................................................................
70 : 7344 : void* tryCreateFactory( const sal_Char* _pRequiredImplName, const sal_Char* _pComponentImplName,
71 : : const sal_Char* _pAsciiServiceName1, const sal_Char* _pAsciiServiceName2,
72 : : ::cppu::ComponentInstantiation _pInstantiation, const Reference< XMultiServiceFactory >& _rxServiceFactory )
73 : : {
74 : 7344 : void* pReturn = NULL;
75 : :
76 [ + + ]: 7344 : if ( rtl_str_compare( _pRequiredImplName, _pComponentImplName ) == 0 )
77 : : {
78 [ + + ][ + - ]: 360 : Sequence< ::rtl::OUString > aServiceNames( _pAsciiServiceName2 ? 2 : 1 );
79 [ + - ]: 360 : aServiceNames.getArray()[ 0 ] = ::rtl::OUString::createFromAscii( _pAsciiServiceName1 );
80 [ + + ]: 360 : if ( _pAsciiServiceName2 )
81 [ + - ]: 342 : aServiceNames.getArray()[ 1 ] = ::rtl::OUString::createFromAscii( _pAsciiServiceName2 );
82 : : Reference< XSingleServiceFactory > xFactory( ::cppu::createSingleFactory(
83 : : _rxServiceFactory, ::rtl::OUString::createFromAscii( _pComponentImplName ),
84 : : _pInstantiation, aServiceNames
85 [ + - ]: 360 : ) );
86 [ + - ]: 360 : if ( xFactory.is() )
87 : : {
88 [ + - ]: 360 : xFactory->acquire();
89 [ + - ]: 360 : pReturn = xFactory.get();
90 [ + - ]: 360 : }
91 : : }
92 : :
93 : 7344 : return pReturn;
94 : : }
95 : :
96 : :
97 : : }
98 : :
99 : : #define IMPL_CREATEINSTANCE( ImplName ) \
100 : : ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ImplName##_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& ) \
101 : : { return ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface >( ( ::cppu::OWeakObject* ) new ImplName ); }
102 : :
103 : : #define IMPL_CREATEINSTANCE2( ImplName ) \
104 : : ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ImplName##_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory ) \
105 : : { return ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface >( ( ::cppu::OWeakObject* ) new ImplName( i_factory ) ); }
106 : :
107 : 8 : ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL UnoControlDialogModel_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory )
108 : : {
109 [ + - ][ + - ]: 8 : return ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface >( ( ::cppu::OWeakObject* ) new OGeometryControlModel<UnoControlDialogModel>( i_factory ) );
110 : : }
111 : :
112 : : #define GET_FACTORY_WITH_IMPL_PREFIX( ClassName, ImplNamePrefix, ServiceName1, ServiceName2 ) \
113 : : pRet = tryCreateFactory( sImplementationName, ImplNamePrefix "." #ClassName, \
114 : : ServiceName1, ServiceName2, \
115 : : ClassName##_CreateInstance, xServiceFactory \
116 : : ); \
117 : : if ( pRet ) \
118 : : return pRet; \
119 : :
120 : : #define GET_FACTORY( ImplName, ServiceName1, ServiceName2 ) \
121 : : GET_FACTORY_WITH_IMPL_PREFIX( ImplName, "stardiv.Toolkit", ServiceName1, ServiceName2 )
122 : :
123 : : using namespace toolkit;
124 : :
125 [ + - ]: 27858 : IMPL_CREATEINSTANCE2( VCLXToolkit )
126 [ + - ][ + - ]: 22 : IMPL_CREATEINSTANCE( StdTabController )
127 [ + - ][ + - ]: 2 : IMPL_CREATEINSTANCE( StdTabControllerModel )
128 [ + - ]: 91 : IMPL_CREATEINSTANCE2( UnoButtonControl )
129 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoCheckBoxControl )
130 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoComboBoxControl )
131 [ + - ]: 61 : IMPL_CREATEINSTANCE2( UnoControlButtonModel )
132 [ + - ]: 33 : IMPL_CREATEINSTANCE2( UnoControlCheckBoxModel )
133 [ + - ]: 25 : IMPL_CREATEINSTANCE2( UnoControlComboBoxModel )
134 [ + - ]: 19 : IMPL_CREATEINSTANCE2( UnoControlContainer )
135 [ + - ]: 23 : IMPL_CREATEINSTANCE2( UnoControlContainerModel )
136 [ + - ]: 23 : IMPL_CREATEINSTANCE2( UnoControlCurrencyFieldModel )
137 [ + - ]: 37 : IMPL_CREATEINSTANCE2( UnoControlDateFieldModel )
138 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoControlEditModel )
139 [ + - ]: 11 : IMPL_CREATEINSTANCE2( UnoControlFileControlModel )
140 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoControlFixedHyperlinkModel )
141 [ + - ]: 155 : IMPL_CREATEINSTANCE2( UnoControlFixedTextModel )
142 [ + - ]: 36 : IMPL_CREATEINSTANCE2( UnoControlFormattedFieldModel )
143 [ + - ]: 36 : IMPL_CREATEINSTANCE2( UnoControlGroupBoxModel )
144 [ + - ]: 44 : IMPL_CREATEINSTANCE2( UnoControlImageControlModel )
145 [ + - ]: 21 : IMPL_CREATEINSTANCE2( UnoControlListBoxModel )
146 [ + - ]: 25 : IMPL_CREATEINSTANCE2( UnoControlNumericFieldModel )
147 [ + - ]: 23 : IMPL_CREATEINSTANCE2( UnoControlPatternFieldModel )
148 [ + - ]: 40 : IMPL_CREATEINSTANCE2( UnoControlRadioButtonModel )
149 [ + - ]: 25 : IMPL_CREATEINSTANCE2( UnoControlTimeFieldModel )
150 [ + - ]: 6 : IMPL_CREATEINSTANCE2( UnoControlProgressBarModel )
151 [ + - ]: 18 : IMPL_CREATEINSTANCE2( UnoControlScrollBarModel )
152 [ + - ]: 18 : IMPL_CREATEINSTANCE2( UnoSpinButtonModel )
153 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoMultiPageModel )
154 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoPageModel )
155 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoFrameModel )
156 [ + - ]: 6 : IMPL_CREATEINSTANCE2( UnoControlFixedLineModel )
157 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoCurrencyFieldControl )
158 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoDateFieldControl )
159 [ + - ]: 8 : IMPL_CREATEINSTANCE2( UnoDialogControl )
160 [ + - ]: 2 : IMPL_CREATEINSTANCE2( UnoEditControl )
161 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoFileControl )
162 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoFixedHyperlinkControl )
163 [ + - ]: 22 : IMPL_CREATEINSTANCE2( UnoFixedTextControl )
164 [ + - ]: 2 : IMPL_CREATEINSTANCE2( UnoFormattedFieldControl )
165 [ + - ]: 26 : IMPL_CREATEINSTANCE2( UnoGroupBoxControl )
166 [ + - ]: 22 : IMPL_CREATEINSTANCE2( UnoImageControlControl )
167 [ + - ]: 12 : IMPL_CREATEINSTANCE2( UnoListBoxControl )
168 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoNumericFieldControl )
169 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoPatternFieldControl )
170 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoRadioButtonControl )
171 [ + - ]: 14 : IMPL_CREATEINSTANCE2( UnoTimeFieldControl )
172 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoProgressBarControl )
173 [ + - ]: 2 : IMPL_CREATEINSTANCE2( UnoScrollBarControl )
174 [ + - ]: 2 : IMPL_CREATEINSTANCE2( UnoSpinButtonControl )
175 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoFixedLineControl )
176 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoMultiPageControl )
177 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoPageControl )
178 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoFrameControl )
179 [ # # ][ # # ]: 0 : IMPL_CREATEINSTANCE( VCLXMenuBar )
180 [ # # ][ # # ]: 0 : IMPL_CREATEINSTANCE( VCLXPointer )
181 [ # # ][ # # ]: 0 : IMPL_CREATEINSTANCE( VCLXPopupMenu )
182 [ # # ][ # # ]: 0 : IMPL_CREATEINSTANCE( VCLXPrinterServer )
183 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoRoadmapControl )
184 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoControlRoadmapModel )
185 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoSimpleAnimationControl )
186 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoSimpleAnimationControlModel )
187 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoThrobberControl )
188 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoThrobberControlModel )
189 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoControlTabPage )
190 [ + - ]: 2 : IMPL_CREATEINSTANCE2( UnoControlTabPageModel )
191 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoControlTabPageContainer )
192 [ # # ]: 0 : IMPL_CREATEINSTANCE2( UnoControlTabPageContainerModel )
193 [ # # ]: 0 : IMPL_CREATEINSTANCE2( AnimatedImagesControl )
194 [ # # ]: 0 : IMPL_CREATEINSTANCE2( AnimatedImagesControlModel )
195 [ # # ]: 0 : IMPL_CREATEINSTANCE2( SpinningProgressControlModel )
196 : :
197 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL TreeControl_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
198 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL TreeControlModel_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
199 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL MutableTreeDataModel_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
200 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL GridControl_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
201 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL GridControlModel_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
202 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL DefaultGridDataModel_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
203 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL DefaultGridColumnModel_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
204 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL GridColumn_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
205 : : extern ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SortableGridDataModel_CreateInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& );
206 : :
207 : : extern void * SAL_CALL comp_AsyncCallback_component_getFactory( const char * implName, void * serviceManager, void * registryKey );
208 : :
209 : : extern "C"
210 : : {
211 : :
212 : 362 : TOOLKIT_DLLPUBLIC void* SAL_CALL tk_component_getFactory( const sal_Char* sImplementationName, void* _pServiceManager, void* _pRegistryKey )
213 : : {
214 : 362 : void* pRet = NULL;
215 : :
216 [ + - ]: 362 : if ( _pServiceManager )
217 : : {
218 : : ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory =
219 [ + - ]: 362 : static_cast< ::com::sun::star::lang::XMultiServiceFactory* >( _pServiceManager );
220 [ + - ][ + + ]: 362 : GET_FACTORY( VCLXToolkit, szServiceName_Toolkit, szServiceName2_Toolkit )
221 [ + - ][ - + ]: 247 : GET_FACTORY( VCLXPopupMenu, szServiceName_PopupMenu, szServiceName2_PopupMenu )
222 [ + - ][ - + ]: 247 : GET_FACTORY( VCLXMenuBar, szServiceName_MenuBar, szServiceName2_MenuBar )
223 [ + - ][ - + ]: 247 : GET_FACTORY( VCLXPointer, szServiceName_Pointer, szServiceName2_Pointer )
224 [ + - ][ + + ]: 247 : GET_FACTORY( UnoControlContainer, szServiceName_UnoControlContainer, szServiceName2_UnoControlContainer )
225 [ + - ][ + + ]: 239 : GET_FACTORY( UnoControlContainerModel, szServiceName_UnoControlContainerModel, szServiceName2_UnoControlContainerModel )
226 [ + - ][ + + ]: 231 : GET_FACTORY( StdTabController, szServiceName_TabController, szServiceName2_TabController )
227 [ + - ][ + + ]: 216 : GET_FACTORY( StdTabControllerModel, szServiceName_TabControllerModel, szServiceName2_TabControllerModel )
228 [ + - ][ + + ]: 214 : GET_FACTORY( UnoDialogControl, szServiceName_UnoControlDialog, szServiceName2_UnoControlDialog )
229 [ + - ][ + + ]: 212 : GET_FACTORY( UnoControlDialogModel, szServiceName_UnoControlDialogModel, szServiceName2_UnoControlDialogModel )
230 [ + - ][ + + ]: 210 : GET_FACTORY( UnoEditControl, szServiceName_UnoControlEdit, szServiceName2_UnoControlEdit )
231 [ + - ][ + + ]: 208 : GET_FACTORY( UnoControlEditModel, szServiceName_UnoControlEditModel, szServiceName2_UnoControlEditModel )
232 [ + - ][ + + ]: 204 : GET_FACTORY( UnoDateFieldControl, szServiceName_UnoControlDateField, szServiceName2_UnoControlDateField )
233 [ + - ][ + + ]: 200 : GET_FACTORY( UnoControlDateFieldModel, szServiceName_UnoControlDateFieldModel, szServiceName2_UnoControlDateFieldModel )
234 [ + - ][ + + ]: 193 : GET_FACTORY( UnoTimeFieldControl, szServiceName_UnoControlTimeField, szServiceName2_UnoControlTimeField )
235 [ + - ][ + + ]: 189 : GET_FACTORY( UnoControlTimeFieldModel, szServiceName_UnoControlTimeFieldModel, szServiceName2_UnoControlTimeFieldModel )
236 [ + - ][ + + ]: 184 : GET_FACTORY( UnoNumericFieldControl, szServiceName_UnoControlNumericField, szServiceName2_UnoControlNumericField )
237 [ + - ][ + + ]: 180 : GET_FACTORY( UnoControlNumericFieldModel, szServiceName_UnoControlNumericFieldModel, szServiceName2_UnoControlNumericFieldModel )
238 [ + - ][ + + ]: 175 : GET_FACTORY( UnoCurrencyFieldControl, szServiceName_UnoControlCurrencyField, szServiceName2_UnoControlCurrencyField )
239 [ + - ][ + + ]: 171 : GET_FACTORY( UnoControlCurrencyFieldModel, szServiceName_UnoControlCurrencyFieldModel, szServiceName2_UnoControlCurrencyFieldModel )
240 [ + - ][ + + ]: 166 : GET_FACTORY( UnoPatternFieldControl, szServiceName_UnoControlPatternField, szServiceName2_UnoControlPatternField )
241 [ + - ][ + + ]: 162 : GET_FACTORY( UnoControlPatternFieldModel, szServiceName_UnoControlPatternFieldModel, szServiceName2_UnoControlPatternFieldModel )
242 [ + - ][ + + ]: 157 : GET_FACTORY( UnoFormattedFieldControl, szServiceName_UnoControlFormattedField, szServiceName2_UnoControlFormattedField )
243 [ + - ][ + + ]: 155 : GET_FACTORY( UnoControlFormattedFieldModel, szServiceName_UnoControlFormattedFieldModel, szServiceName2_UnoControlFormattedFieldModel )
244 [ + - ][ - + ]: 149 : GET_FACTORY( UnoFileControl, szServiceName_UnoControlFileControl, szServiceName2_UnoControlFileControl )
245 [ + - ][ + + ]: 149 : GET_FACTORY( UnoControlFileControlModel, szServiceName_UnoControlFileControlModel, szServiceName2_UnoControlFileControlModel )
246 [ + - ][ + + ]: 144 : GET_FACTORY( UnoButtonControl, szServiceName_UnoControlButton, szServiceName2_UnoControlButton )
247 [ + - ][ + + ]: 128 : GET_FACTORY( UnoControlButtonModel, szServiceName_UnoControlButtonModel, szServiceName2_UnoControlButtonModel )
248 [ + - ][ + + ]: 106 : GET_FACTORY( UnoImageControlControl, szServiceName_UnoControlImageButton, szServiceName2_UnoControlImageButton )
249 [ + - ][ + + ]: 102 : GET_FACTORY( UnoControlImageControlModel, szServiceName_UnoControlImageButtonModel, szServiceName2_UnoControlImageButtonModel )
250 [ + - ][ - + ]: 97 : GET_FACTORY( UnoImageControlControl, szServiceName_UnoControlImageControl, szServiceName2_UnoControlImageControl )
251 [ + - ][ - + ]: 97 : GET_FACTORY( UnoControlImageControlModel, szServiceName_UnoControlImageControlModel, szServiceName2_UnoControlImageControlModel )
252 [ + - ][ + + ]: 97 : GET_FACTORY( UnoRadioButtonControl, szServiceName_UnoControlRadioButton, szServiceName2_UnoControlRadioButton )
253 [ + - ][ + + ]: 93 : GET_FACTORY( UnoControlRadioButtonModel, szServiceName_UnoControlRadioButtonModel, szServiceName2_UnoControlRadioButtonModel )
254 [ + - ][ + + ]: 85 : GET_FACTORY( UnoCheckBoxControl, szServiceName_UnoControlCheckBox, szServiceName2_UnoControlCheckBox )
255 [ + - ][ + + ]: 81 : GET_FACTORY( UnoControlCheckBoxModel, szServiceName_UnoControlCheckBoxModel, szServiceName2_UnoControlCheckBoxModel )
256 [ + - ][ + + ]: 71 : GET_FACTORY( UnoListBoxControl, szServiceName_UnoControlListBox, szServiceName2_UnoControlListBox )
257 [ + - ][ + + ]: 69 : GET_FACTORY( UnoControlListBoxModel, szServiceName_UnoControlListBoxModel, szServiceName2_UnoControlListBoxModel )
258 [ + - ][ + + ]: 64 : GET_FACTORY( UnoComboBoxControl, szServiceName_UnoControlComboBox, szServiceName2_UnoControlComboBox )
259 [ + - ][ + + ]: 60 : GET_FACTORY( UnoControlComboBoxModel, szServiceName_UnoControlComboBoxModel, szServiceName2_UnoControlComboBoxModel )
260 [ + - ][ + + ]: 53 : GET_FACTORY( UnoFixedTextControl, szServiceName_UnoControlFixedText, szServiceName2_UnoControlFixedText )
261 [ + - ][ + + ]: 51 : GET_FACTORY( UnoControlFixedTextModel, szServiceName_UnoControlFixedTextModel, szServiceName2_UnoControlFixedTextModel )
262 [ + - ][ + + ]: 46 : GET_FACTORY( UnoGroupBoxControl, szServiceName_UnoControlGroupBox, szServiceName2_UnoControlGroupBox )
263 [ + - ][ + + ]: 40 : GET_FACTORY( UnoControlGroupBoxModel, szServiceName_UnoControlGroupBoxModel, szServiceName2_UnoControlGroupBoxModel )
264 [ + - ][ - + ]: 30 : GET_FACTORY( UnoProgressBarControl, szServiceName_UnoControlProgressBar, szServiceName2_UnoControlProgressBar )
265 [ + - ][ + + ]: 30 : GET_FACTORY( UnoControlProgressBarModel, szServiceName_UnoControlProgressBarModel, szServiceName2_UnoControlProgressBarModel )
266 [ + - ][ + + ]: 28 : GET_FACTORY( UnoScrollBarControl, szServiceName_UnoControlScrollBar, szServiceName2_UnoControlScrollBar )
267 [ + - ][ + + ]: 26 : GET_FACTORY( UnoControlScrollBarModel, szServiceName_UnoControlScrollBarModel, szServiceName2_UnoControlScrollBarModel )
268 [ + - ][ - + ]: 22 : GET_FACTORY( UnoFixedLineControl, szServiceName_UnoControlFixedLine, szServiceName2_UnoControlFixedLine )
269 [ + - ][ + + ]: 22 : GET_FACTORY( UnoControlFixedLineModel, szServiceName_UnoControlFixedLineModel, szServiceName2_UnoControlFixedLineModel )
270 [ + - ][ - + ]: 20 : GET_FACTORY( VCLXPrinterServer, szServiceName_PrinterServer, szServiceName2_PrinterServer )
271 [ + - ][ - + ]: 20 : GET_FACTORY( UnoRoadmapControl, szServiceName_UnoControlRoadmap, szServiceName2_UnoControlRoadmap )
272 [ + - ][ - + ]: 20 : GET_FACTORY( UnoControlRoadmapModel, szServiceName_UnoControlRoadmapModel, szServiceName2_UnoControlRoadmapModel )
273 [ + - ][ - + ]: 20 : GET_FACTORY( UnoMultiPageModel, szServiceName_UnoMultiPageModel, NULL )
274 [ + - ][ - + ]: 20 : GET_FACTORY( UnoMultiPageControl, szServiceName_UnoMultiPageControl, NULL )
275 [ + - ][ - + ]: 20 : GET_FACTORY( UnoPageModel, szServiceName_UnoPageModel, NULL )
276 [ + - ][ - + ]: 20 : GET_FACTORY( UnoPageControl, szServiceName_UnoPageControl, NULL )
277 [ + - ][ - + ]: 20 : GET_FACTORY( UnoFrameModel, szServiceName_UnoFrameModel, NULL )
278 [ + - ][ - + ]: 20 : GET_FACTORY( UnoFrameControl, szServiceName_UnoFrameControl, NULL )
279 [ + - ][ + + ]: 20 : GET_FACTORY( UnoSpinButtonModel, szServiceName_UnoSpinButtonModel, NULL )
280 [ + - ][ + + ]: 16 : GET_FACTORY( UnoSpinButtonControl, szServiceName_UnoSpinButtonControl, NULL )
281 [ + - ][ - + ]: 14 : GET_FACTORY( TreeControl, szServiceName_TreeControl, NULL )
282 [ + - ][ + + ]: 14 : GET_FACTORY( TreeControlModel, szServiceName_TreeControlModel, NULL )
283 [ + - ][ + + ]: 12 : GET_FACTORY( MutableTreeDataModel, szServiceName_MutableTreeDataModel, NULL )
284 [ + - ][ - + ]: 10 : GET_FACTORY( UnoSimpleAnimationControlModel, szServiceName_UnoSimpleAnimationControlModel, szServiceName2_UnoSimpleAnimationControlModel )
285 [ + - ][ - + ]: 10 : GET_FACTORY( UnoSimpleAnimationControl, szServiceName_UnoSimpleAnimationControl, szServiceName2_UnoSimpleAnimationControl )
286 [ + - ][ - + ]: 10 : GET_FACTORY( UnoThrobberControlModel, szServiceName_UnoThrobberControlModel, szServiceName2_UnoThrobberControlModel )
287 [ + - ][ - + ]: 10 : GET_FACTORY( UnoThrobberControl, szServiceName_UnoThrobberControl, szServiceName2_UnoThrobberControl )
288 [ + - ][ - + ]: 10 : GET_FACTORY( UnoFixedHyperlinkControl, szServiceName_UnoControlFixedHyperlink, NULL )
289 [ + - ][ - + ]: 10 : GET_FACTORY( UnoControlFixedHyperlinkModel, szServiceName_UnoControlFixedHyperlinkModel, NULL )
290 [ + - ][ - + ]: 10 : GET_FACTORY( GridControl, szServiceName_GridControl, NULL );
291 [ + - ][ - + ]: 10 : GET_FACTORY( GridControlModel, szServiceName_GridControlModel, NULL );
292 [ + - ][ + + ]: 10 : GET_FACTORY( DefaultGridDataModel, szServiceName_DefaultGridDataModel, NULL );
293 [ + - ][ + + ]: 8 : GET_FACTORY( DefaultGridColumnModel, szServiceName_DefaultGridColumnModel, NULL );
294 [ + - ][ - + ]: 6 : GET_FACTORY_WITH_IMPL_PREFIX( GridColumn, "org.openoffice.comp.toolkit", szServiceName_GridColumn, NULL );
295 [ + - ][ + + ]: 6 : GET_FACTORY_WITH_IMPL_PREFIX( SortableGridDataModel, "org.openoffice.comp.toolkit", szServiceName_SortableGridDataModel, NULL );
296 [ + - ][ - + ]: 4 : GET_FACTORY_WITH_IMPL_PREFIX( AnimatedImagesControl, "org.openoffice.comp.toolkit", szServiceName_AnimatedImagesControl, NULL )
297 [ + - ][ - + ]: 4 : GET_FACTORY_WITH_IMPL_PREFIX( AnimatedImagesControlModel, "org.openoffice.comp.toolkit", szServiceName_AnimatedImagesControlModel, NULL )
298 [ + - ][ - + ]: 4 : GET_FACTORY_WITH_IMPL_PREFIX( SpinningProgressControlModel, "org.openoffice.comp.toolkit", szServiceName_SpinningProgressControlModel, NULL )
299 [ + - ][ + + ]: 4 : GET_FACTORY( UnoControlTabPageModel, szServiceName_UnoControlTabPageModel, NULL )
300 [ + - ][ - + ]: 2 : GET_FACTORY( UnoControlTabPage, szServiceName_UnoControlTabPage, NULL )
301 [ + - ][ - + ]: 2 : GET_FACTORY( UnoControlTabPageContainerModel, szServiceName_UnoControlTabPageContainerModel, NULL )
302 [ + - ][ - + ]: 2 : GET_FACTORY( UnoControlTabPageContainer, szServiceName_UnoControlTabPageContainer, NULL )
303 : :
304 [ + - ]: 2 : if ( rtl_str_compare( sImplementationName, "com.sun.star.awt.comp.AsyncCallback" ) == 0 )
305 [ + - ][ - + ]: 362 : return comp_AsyncCallback_component_getFactory( sImplementationName, _pServiceManager, _pRegistryKey );
306 : : }
307 : 362 : return pRet;
308 : : }
309 : : }
310 : :
311 : :
312 : :
313 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|