LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/toolkit/source/helper - registerservices.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 144 168 85.7 %
Date: 2013-07-09 Functions: 49 72 68.1 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.10