LCOV - code coverage report
Current view: top level - libreoffice/toolkit/source/helper - registerservices.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 66 175 37.7 %
Date: 2012-12-27 Functions: 7 74 9.5 %
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 <cppuhelper/factory.hxx>
      25             : #include <cppuhelper/weak.hxx>
      26             : #include <osl/mutex.hxx>
      27             : #include <toolkit/helper/servicenames.hxx>
      28             : #include <toolkit/helper/macros.hxx>
      29             : #include <toolkit/awt/vclxtoolkit.hxx>
      30             : #include <toolkit/awt/vclxmenu.hxx>
      31             : #include <toolkit/awt/vclxpointer.hxx>
      32             : #include <toolkit/awt/vclxprinter.hxx>
      33             : #include <toolkit/controls/unocontrols.hxx>
      34             : #include <toolkit/controls/dialogcontrol.hxx>
      35             : #include <toolkit/controls/unocontrolcontainer.hxx>
      36             : #include <toolkit/controls/unocontrolcontainermodel.hxx>
      37             : #include <toolkit/controls/stdtabcontroller.hxx>
      38             : #include <toolkit/controls/stdtabcontrollermodel.hxx>
      39             : #include <toolkit/controls/formattedcontrol.hxx>
      40             : #include <toolkit/controls/roadmapcontrol.hxx>
      41             : #include <toolkit/controls/tkscrollbar.hxx>
      42             : #include "toolkit/controls/tkspinbutton.hxx"
      43             : #include <toolkit/controls/tksimpleanimation.hxx>
      44             : #include <toolkit/controls/tkthrobber.hxx>
      45             : #include <toolkit/controls/animatedimages.hxx>
      46             : #include <toolkit/controls/spinningprogress.hxx>
      47             : #include <toolkit/controls/dialogcontrol.hxx>
      48             : #include <toolkit/controls/tabpagemodel.hxx>
      49             : #include <toolkit/controls/tabpagecontainer.hxx>
      50             : #include "toolkit/dllapi.h"
      51             : #include <com/sun/star/beans/XPropertySet.hpp>
      52             : #include <com/sun/star/uno/XComponentContext.hpp>
      53             : 
      54             : namespace toolkit
      55             : {
      56             :     using namespace ::com::sun::star::uno;
      57             :     using namespace ::com::sun::star::lang;
      58             :     using namespace ::com::sun::star::registry;
      59             : 
      60             :     //.........................................................................
      61         151 :     void* tryCreateFactory( const sal_Char* _pRequiredImplName, const sal_Char* _pComponentImplName,
      62             :         const sal_Char* _pAsciiServiceName1, const sal_Char* _pAsciiServiceName2,
      63             :         ::cppu::ComponentInstantiation _pInstantiation, const Reference< XMultiServiceFactory >& _rxServiceFactory )
      64             :     {
      65         151 :         void* pReturn = NULL;
      66             : 
      67         151 :         if ( rtl_str_compare( _pRequiredImplName, _pComponentImplName ) == 0 )
      68             :         {
      69          13 :             Sequence< ::rtl::OUString > aServiceNames( _pAsciiServiceName2 ? 2 : 1 );
      70          13 :             aServiceNames.getArray()[ 0 ] = ::rtl::OUString::createFromAscii( _pAsciiServiceName1 );
      71          13 :             if ( _pAsciiServiceName2 )
      72          13 :                 aServiceNames.getArray()[ 1 ] = ::rtl::OUString::createFromAscii( _pAsciiServiceName2 );
      73             :             Reference< XSingleServiceFactory > xFactory( ::cppu::createSingleFactory(
      74             :                 _rxServiceFactory, ::rtl::OUString::createFromAscii( _pComponentImplName ),
      75             :                 _pInstantiation, aServiceNames
      76          13 :             ) );
      77          13 :             if ( xFactory.is() )
      78             :             {
      79          13 :                 xFactory->acquire();
      80          13 :                 pReturn = xFactory.get();
      81          13 :             }
      82             :         }
      83             : 
      84         151 :         return pReturn;
      85             :     }
      86             : 
      87             : 
      88             : }
      89             : 
      90             : #define IMPL_CREATEINSTANCE( ImplName ) \
      91             :     ::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 >& ) \
      92             :     { return ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface >( ( ::cppu::OWeakObject* ) new ImplName ); }
      93             : 
      94             : #define IMPL_CREATEINSTANCE2( ImplName ) \
      95             :     ::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 ) \
      96             :     { return ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface >( ( ::cppu::OWeakObject* ) new ImplName( i_factory ) ); }
      97             : 
      98             : #define IMPL_CREATE_INSTANCE_WITH_GEOMETRY( ImplName ) \
      99             :     ::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 ) \
     100             : { \
     101             :     return ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface >( ( ::cppu::OWeakObject* ) new OGeometryControlModel< ImplName >( i_factory ) ); \
     102             : }
     103             : 
     104             : #define GET_FACTORY_WITH_IMPL_PREFIX( ClassName, ImplNamePrefix, ServiceName1, ServiceName2 ) \
     105             :     pRet = tryCreateFactory( sImplementationName, ImplNamePrefix "." #ClassName, \
     106             :                 ServiceName1, ServiceName2, \
     107             :                 ClassName##_CreateInstance, xServiceFactory \
     108             :             ); \
     109             :     if ( pRet ) \
     110             :         return pRet; \
     111             : 
     112             : #define GET_FACTORY( ImplName, ServiceName1, ServiceName2 ) \
     113             :     GET_FACTORY_WITH_IMPL_PREFIX( ImplName, "stardiv.Toolkit", ServiceName1, ServiceName2 )
     114             : 
     115             : using namespace toolkit;
     116             : 
     117        3309 : IMPL_CREATEINSTANCE( VCLXToolkit )
     118           0 : IMPL_CREATEINSTANCE( StdTabController )
     119           0 : IMPL_CREATEINSTANCE( StdTabControllerModel )
     120           0 : IMPL_CREATEINSTANCE2( UnoButtonControl )
     121           0 : IMPL_CREATEINSTANCE2( UnoCheckBoxControl )
     122           0 : IMPL_CREATEINSTANCE2( UnoComboBoxControl )
     123           3 : IMPL_CREATEINSTANCE2( UnoControlButtonModel )
     124           1 : IMPL_CREATEINSTANCE2( UnoControlCheckBoxModel )
     125           0 : IMPL_CREATEINSTANCE2( UnoControlComboBoxModel )
     126           0 : IMPL_CREATEINSTANCE2( UnoControlContainer )
     127           0 : IMPL_CREATEINSTANCE2( UnoControlContainerModel )
     128           0 : IMPL_CREATEINSTANCE2( UnoControlCurrencyFieldModel )
     129           0 : IMPL_CREATEINSTANCE2( UnoControlDateFieldModel )
     130           0 : IMPL_CREATEINSTANCE2( UnoControlEditModel )
     131           0 : IMPL_CREATEINSTANCE2( UnoControlFileControlModel )
     132           0 : IMPL_CREATEINSTANCE2( UnoControlFixedHyperlinkModel )
     133           0 : IMPL_CREATEINSTANCE2( UnoControlFixedTextModel )
     134           0 : IMPL_CREATEINSTANCE2( UnoControlFormattedFieldModel )
     135           1 : IMPL_CREATEINSTANCE2( UnoControlGroupBoxModel )
     136           0 : IMPL_CREATEINSTANCE2( UnoControlImageControlModel )
     137           0 : IMPL_CREATEINSTANCE2( UnoControlListBoxModel )
     138           0 : IMPL_CREATEINSTANCE2( UnoControlNumericFieldModel )
     139           0 : IMPL_CREATEINSTANCE2( UnoControlPatternFieldModel )
     140           4 : IMPL_CREATEINSTANCE2( UnoControlRadioButtonModel )
     141           0 : IMPL_CREATEINSTANCE2( UnoControlTimeFieldModel )
     142           0 : IMPL_CREATEINSTANCE2( UnoControlProgressBarModel )
     143           0 : IMPL_CREATEINSTANCE2( UnoControlScrollBarModel )
     144           0 : IMPL_CREATEINSTANCE2( UnoSpinButtonModel )
     145           0 : IMPL_CREATEINSTANCE2( UnoMultiPageModel )
     146           0 : IMPL_CREATEINSTANCE2( UnoPageModel )
     147           0 : IMPL_CREATEINSTANCE2( UnoFrameModel )
     148           0 : IMPL_CREATEINSTANCE2( UnoControlFixedLineModel )
     149           0 : IMPL_CREATEINSTANCE2( UnoCurrencyFieldControl )
     150           0 : IMPL_CREATEINSTANCE2( UnoDateFieldControl )
     151           0 : IMPL_CREATEINSTANCE2( UnoDialogControl )
     152           0 : IMPL_CREATEINSTANCE2( UnoEditControl )
     153           0 : IMPL_CREATEINSTANCE2( UnoFileControl )
     154           0 : IMPL_CREATEINSTANCE2( UnoFixedHyperlinkControl )
     155           0 : IMPL_CREATEINSTANCE2( UnoFixedTextControl )
     156           0 : IMPL_CREATEINSTANCE2( UnoFormattedFieldControl )
     157           0 : IMPL_CREATEINSTANCE2( UnoGroupBoxControl )
     158           0 : IMPL_CREATEINSTANCE2( UnoImageControlControl )
     159           0 : IMPL_CREATEINSTANCE2( UnoListBoxControl )
     160           0 : IMPL_CREATEINSTANCE2( UnoNumericFieldControl )
     161           0 : IMPL_CREATEINSTANCE2( UnoPatternFieldControl )
     162           0 : IMPL_CREATEINSTANCE2( UnoRadioButtonControl )
     163           0 : IMPL_CREATEINSTANCE2( UnoTimeFieldControl )
     164           0 : IMPL_CREATEINSTANCE2( UnoProgressBarControl )
     165           0 : IMPL_CREATEINSTANCE2( UnoScrollBarControl )
     166           0 : IMPL_CREATEINSTANCE2( UnoSpinButtonControl )
     167           0 : IMPL_CREATEINSTANCE2( UnoFixedLineControl )
     168           0 : IMPL_CREATEINSTANCE2( UnoMultiPageControl )
     169           0 : IMPL_CREATEINSTANCE2( UnoPageControl )
     170           0 : IMPL_CREATEINSTANCE2( UnoFrameControl )
     171           0 : IMPL_CREATEINSTANCE( VCLXMenuBar )
     172           0 : IMPL_CREATEINSTANCE( VCLXPointer )
     173           0 : IMPL_CREATEINSTANCE( VCLXPopupMenu )
     174           0 : IMPL_CREATEINSTANCE( VCLXPrinterServer )
     175           0 : IMPL_CREATEINSTANCE2( UnoRoadmapControl )
     176           0 : IMPL_CREATEINSTANCE2( UnoControlRoadmapModel )
     177           0 : IMPL_CREATEINSTANCE2( UnoSimpleAnimationControl )
     178           0 : IMPL_CREATEINSTANCE2( UnoSimpleAnimationControlModel )
     179           0 : IMPL_CREATEINSTANCE2( UnoThrobberControl )
     180           0 : IMPL_CREATEINSTANCE2( UnoThrobberControlModel )
     181           0 : IMPL_CREATEINSTANCE2( UnoControlTabPage )
     182           0 : IMPL_CREATEINSTANCE2( UnoControlTabPageModel )
     183           0 : IMPL_CREATEINSTANCE2( UnoControlTabPageContainer )
     184           0 : IMPL_CREATEINSTANCE2( UnoControlTabPageContainerModel )
     185           0 : IMPL_CREATEINSTANCE2( AnimatedImagesControl )
     186           0 : IMPL_CREATEINSTANCE2( AnimatedImagesControlModel )
     187           0 : IMPL_CREATEINSTANCE2( SpinningProgressControlModel )
     188             : 
     189           0 : IMPL_CREATE_INSTANCE_WITH_GEOMETRY( UnoControlDialogModel )
     190             : 
     191             : 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 >& );
     192             : 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 >& );
     193             : 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 >& );
     194             : 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 >& );
     195             : 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 >& );
     196             : 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 >& );
     197             : 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 >& );
     198             : 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 >& );
     199             : 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 >& );
     200             : 
     201             : extern void * SAL_CALL comp_AsyncCallback_component_getFactory( const char * implName, void * serviceManager, void * registryKey );
     202             : 
     203             : extern "C"
     204             : {
     205             : 
     206          13 : TOOLKIT_DLLPUBLIC void* SAL_CALL tk_component_getFactory( const sal_Char* sImplementationName, void* _pServiceManager, void* _pRegistryKey )
     207             : {
     208             : 
     209          13 :     void* pRet = NULL;
     210             : 
     211          13 :     if ( _pServiceManager )
     212             :     {
     213             :         ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory =
     214          13 :             static_cast< ::com::sun::star::lang::XMultiServiceFactory* >( _pServiceManager );
     215          13 :         GET_FACTORY( VCLXToolkit, szServiceName_Toolkit, szServiceName2_Toolkit )
     216           4 :         GET_FACTORY( VCLXPopupMenu, szServiceName_PopupMenu, szServiceName2_PopupMenu )
     217           4 :         GET_FACTORY( VCLXMenuBar, szServiceName_MenuBar, szServiceName2_MenuBar )
     218           4 :         GET_FACTORY( VCLXPointer, szServiceName_Pointer, szServiceName2_Pointer )
     219           4 :         GET_FACTORY( UnoControlContainer, szServiceName_UnoControlContainer, szServiceName2_UnoControlContainer )
     220           4 :         GET_FACTORY( UnoControlContainerModel, szServiceName_UnoControlContainerModel, szServiceName2_UnoControlContainerModel )
     221           4 :         GET_FACTORY( StdTabController, szServiceName_TabController, szServiceName2_TabController )
     222           4 :         GET_FACTORY( StdTabControllerModel, szServiceName_TabControllerModel, szServiceName2_TabControllerModel )
     223           4 :         GET_FACTORY( UnoDialogControl, szServiceName_UnoControlDialog, szServiceName2_UnoControlDialog )
     224           4 :         GET_FACTORY( UnoControlDialogModel, szServiceName_UnoControlDialogModel, szServiceName2_UnoControlDialogModel )
     225           4 :         GET_FACTORY( UnoEditControl, szServiceName_UnoControlEdit, szServiceName2_UnoControlEdit )
     226           4 :         GET_FACTORY( UnoControlEditModel, szServiceName_UnoControlEditModel, szServiceName2_UnoControlEditModel )
     227           4 :         GET_FACTORY( UnoDateFieldControl, szServiceName_UnoControlDateField, szServiceName2_UnoControlDateField )
     228           4 :         GET_FACTORY( UnoControlDateFieldModel, szServiceName_UnoControlDateFieldModel, szServiceName2_UnoControlDateFieldModel )
     229           4 :         GET_FACTORY( UnoTimeFieldControl, szServiceName_UnoControlTimeField, szServiceName2_UnoControlTimeField )
     230           4 :         GET_FACTORY( UnoControlTimeFieldModel, szServiceName_UnoControlTimeFieldModel, szServiceName2_UnoControlTimeFieldModel )
     231           4 :         GET_FACTORY( UnoNumericFieldControl, szServiceName_UnoControlNumericField, szServiceName2_UnoControlNumericField )
     232           4 :         GET_FACTORY( UnoControlNumericFieldModel, szServiceName_UnoControlNumericFieldModel, szServiceName2_UnoControlNumericFieldModel )
     233           4 :         GET_FACTORY( UnoCurrencyFieldControl, szServiceName_UnoControlCurrencyField, szServiceName2_UnoControlCurrencyField )
     234           4 :         GET_FACTORY( UnoControlCurrencyFieldModel, szServiceName_UnoControlCurrencyFieldModel, szServiceName2_UnoControlCurrencyFieldModel )
     235           4 :         GET_FACTORY( UnoPatternFieldControl, szServiceName_UnoControlPatternField, szServiceName2_UnoControlPatternField )
     236           4 :         GET_FACTORY( UnoControlPatternFieldModel, szServiceName_UnoControlPatternFieldModel, szServiceName2_UnoControlPatternFieldModel )
     237           4 :         GET_FACTORY( UnoFormattedFieldControl, szServiceName_UnoControlFormattedField, szServiceName2_UnoControlFormattedField )
     238           4 :         GET_FACTORY( UnoControlFormattedFieldModel, szServiceName_UnoControlFormattedFieldModel, szServiceName2_UnoControlFormattedFieldModel )
     239           4 :         GET_FACTORY( UnoFileControl, szServiceName_UnoControlFileControl, szServiceName2_UnoControlFileControl )
     240           4 :         GET_FACTORY( UnoControlFileControlModel, szServiceName_UnoControlFileControlModel, szServiceName2_UnoControlFileControlModel )
     241           4 :         GET_FACTORY( UnoButtonControl, szServiceName_UnoControlButton, szServiceName2_UnoControlButton )
     242           4 :         GET_FACTORY( UnoControlButtonModel, szServiceName_UnoControlButtonModel, szServiceName2_UnoControlButtonModel )
     243           3 :         GET_FACTORY( UnoImageControlControl, szServiceName_UnoControlImageButton, szServiceName2_UnoControlImageButton )
     244           3 :         GET_FACTORY( UnoControlImageControlModel, szServiceName_UnoControlImageButtonModel, szServiceName2_UnoControlImageButtonModel )
     245           3 :         GET_FACTORY( UnoImageControlControl, szServiceName_UnoControlImageControl, szServiceName2_UnoControlImageControl )
     246           3 :         GET_FACTORY( UnoControlImageControlModel, szServiceName_UnoControlImageControlModel, szServiceName2_UnoControlImageControlModel )
     247           3 :         GET_FACTORY( UnoRadioButtonControl, szServiceName_UnoControlRadioButton, szServiceName2_UnoControlRadioButton )
     248           3 :         GET_FACTORY( UnoControlRadioButtonModel, szServiceName_UnoControlRadioButtonModel, szServiceName2_UnoControlRadioButtonModel )
     249           2 :         GET_FACTORY( UnoCheckBoxControl, szServiceName_UnoControlCheckBox, szServiceName2_UnoControlCheckBox )
     250           2 :         GET_FACTORY( UnoControlCheckBoxModel, szServiceName_UnoControlCheckBoxModel, szServiceName2_UnoControlCheckBoxModel )
     251           1 :         GET_FACTORY( UnoListBoxControl, szServiceName_UnoControlListBox, szServiceName2_UnoControlListBox )
     252           1 :         GET_FACTORY( UnoControlListBoxModel, szServiceName_UnoControlListBoxModel, szServiceName2_UnoControlListBoxModel )
     253           1 :         GET_FACTORY( UnoComboBoxControl, szServiceName_UnoControlComboBox, szServiceName2_UnoControlComboBox )
     254           1 :         GET_FACTORY( UnoControlComboBoxModel, szServiceName_UnoControlComboBoxModel, szServiceName2_UnoControlComboBoxModel )
     255           1 :         GET_FACTORY( UnoFixedTextControl, szServiceName_UnoControlFixedText, szServiceName2_UnoControlFixedText )
     256           1 :         GET_FACTORY( UnoControlFixedTextModel, szServiceName_UnoControlFixedTextModel, szServiceName2_UnoControlFixedTextModel )
     257           1 :         GET_FACTORY( UnoGroupBoxControl, szServiceName_UnoControlGroupBox, szServiceName2_UnoControlGroupBox )
     258           1 :         GET_FACTORY( UnoControlGroupBoxModel, szServiceName_UnoControlGroupBoxModel, szServiceName2_UnoControlGroupBoxModel )
     259           0 :         GET_FACTORY( UnoProgressBarControl, szServiceName_UnoControlProgressBar, szServiceName2_UnoControlProgressBar )
     260           0 :         GET_FACTORY( UnoControlProgressBarModel, szServiceName_UnoControlProgressBarModel, szServiceName2_UnoControlProgressBarModel )
     261           0 :         GET_FACTORY( UnoScrollBarControl, szServiceName_UnoControlScrollBar, szServiceName2_UnoControlScrollBar )
     262           0 :         GET_FACTORY( UnoControlScrollBarModel, szServiceName_UnoControlScrollBarModel, szServiceName2_UnoControlScrollBarModel )
     263           0 :         GET_FACTORY( UnoFixedLineControl, szServiceName_UnoControlFixedLine, szServiceName2_UnoControlFixedLine )
     264           0 :         GET_FACTORY( UnoControlFixedLineModel, szServiceName_UnoControlFixedLineModel, szServiceName2_UnoControlFixedLineModel )
     265           0 :         GET_FACTORY( VCLXPrinterServer, szServiceName_PrinterServer, szServiceName2_PrinterServer )
     266           0 :         GET_FACTORY( UnoRoadmapControl, szServiceName_UnoControlRoadmap, szServiceName2_UnoControlRoadmap )
     267           0 :         GET_FACTORY( UnoControlRoadmapModel, szServiceName_UnoControlRoadmapModel, szServiceName2_UnoControlRoadmapModel )
     268           0 :         GET_FACTORY( UnoMultiPageModel, szServiceName_UnoMultiPageModel, NULL )
     269           0 :         GET_FACTORY( UnoMultiPageControl, szServiceName_UnoMultiPageControl, NULL )
     270           0 :         GET_FACTORY( UnoPageModel, szServiceName_UnoPageModel, NULL )
     271           0 :         GET_FACTORY( UnoPageControl, szServiceName_UnoPageControl, NULL )
     272           0 :         GET_FACTORY( UnoFrameModel, szServiceName_UnoFrameModel, NULL )
     273           0 :         GET_FACTORY( UnoFrameControl, szServiceName_UnoFrameControl, NULL )
     274           0 :         GET_FACTORY( UnoSpinButtonModel, szServiceName_UnoSpinButtonModel, NULL )
     275           0 :         GET_FACTORY( UnoSpinButtonControl, szServiceName_UnoSpinButtonControl, NULL )
     276           0 :         GET_FACTORY( TreeControl, szServiceName_TreeControl, NULL )
     277           0 :         GET_FACTORY( TreeControlModel, szServiceName_TreeControlModel, NULL )
     278           0 :         GET_FACTORY( MutableTreeDataModel, szServiceName_MutableTreeDataModel, NULL )
     279           0 :         GET_FACTORY( UnoSimpleAnimationControlModel, szServiceName_UnoSimpleAnimationControlModel, szServiceName2_UnoSimpleAnimationControlModel )
     280           0 :         GET_FACTORY( UnoSimpleAnimationControl, szServiceName_UnoSimpleAnimationControl, szServiceName2_UnoSimpleAnimationControl )
     281           0 :         GET_FACTORY( UnoThrobberControlModel, szServiceName_UnoThrobberControlModel, szServiceName2_UnoThrobberControlModel )
     282           0 :         GET_FACTORY( UnoThrobberControl, szServiceName_UnoThrobberControl, szServiceName2_UnoThrobberControl )
     283           0 :         GET_FACTORY( UnoFixedHyperlinkControl, szServiceName_UnoControlFixedHyperlink, NULL )
     284           0 :         GET_FACTORY( UnoControlFixedHyperlinkModel, szServiceName_UnoControlFixedHyperlinkModel, NULL )
     285           0 :         GET_FACTORY( GridControl, szServiceName_GridControl, NULL );
     286           0 :          GET_FACTORY( GridControlModel, szServiceName_GridControlModel, NULL );
     287           0 :         GET_FACTORY( DefaultGridDataModel, szServiceName_DefaultGridDataModel, NULL );
     288           0 :         GET_FACTORY( DefaultGridColumnModel, szServiceName_DefaultGridColumnModel, NULL );
     289           0 :         GET_FACTORY_WITH_IMPL_PREFIX( GridColumn, "org.openoffice.comp.toolkit", szServiceName_GridColumn, NULL );
     290           0 :         GET_FACTORY_WITH_IMPL_PREFIX( SortableGridDataModel, "org.openoffice.comp.toolkit", szServiceName_SortableGridDataModel, NULL );
     291           0 :         GET_FACTORY( UnoControlTabPageModel, szServiceName_UnoControlTabPageModel, NULL )
     292           0 :         GET_FACTORY( UnoControlTabPage, szServiceName_UnoControlTabPage, NULL )
     293           0 :         GET_FACTORY( UnoControlTabPageContainerModel, szServiceName_UnoControlTabPageContainerModel, NULL )
     294           0 :         GET_FACTORY( UnoControlTabPageContainer, szServiceName_UnoControlTabPageContainer, NULL )
     295           0 :         GET_FACTORY_WITH_IMPL_PREFIX( AnimatedImagesControl, "org.openoffice.comp.toolkit", szServiceName_AnimatedImagesControl, NULL )
     296           0 :         GET_FACTORY_WITH_IMPL_PREFIX( AnimatedImagesControlModel, "org.openoffice.comp.toolkit", szServiceName_AnimatedImagesControlModel, NULL )
     297           0 :         GET_FACTORY_WITH_IMPL_PREFIX( SpinningProgressControlModel, "org.openoffice.comp.toolkit", szServiceName_SpinningProgressControlModel, NULL )
     298             : 
     299           0 :         if ( rtl_str_compare( sImplementationName, "com.sun.star.awt.comp.AsyncCallback" ) == 0 )
     300           0 :             return comp_AsyncCallback_component_getFactory( sImplementationName, _pServiceManager, _pRegistryKey );
     301             :     }
     302           0 :     return pRet;
     303             : }
     304             : }
     305             : 
     306             : 
     307             : 
     308             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10