1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 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. 14 * 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). 20 * 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. 25 * 26 ************************************************************************/ 27 28 // MARKER(update_precomp.py): autogen include statement, do not remove 29 #include "precompiled_extensions.hxx" 30 31 #ifndef _EXTENSIONS_DBP_WIZARDSERVICES_HXX_ 32 #include "wizardservices.hxx" 33 #endif 34 #include "unoautopilot.hxx" 35 #include "groupboxwiz.hxx" 36 #include "listcombowizard.hxx" 37 #include "gridwizard.hxx" 38 39 // the registration methods 40 extern "C" void SAL_CALL createRegistryInfo_OGroupBoxWizard() 41 { 42 static ::dbp::OMultiInstanceAutoRegistration< 43 ::dbp::OUnoAutoPilot< ::dbp::OGroupBoxWizard, ::dbp::OGroupBoxSI > 44 > aAutoRegistration; 45 } 46 47 extern "C" void SAL_CALL createRegistryInfo_OListComboWizard() 48 { 49 static ::dbp::OMultiInstanceAutoRegistration< 50 ::dbp::OUnoAutoPilot< ::dbp::OListComboWizard, ::dbp::OListComboSI > 51 > aAutoRegistration; 52 } 53 54 extern "C" void SAL_CALL createRegistryInfo_OGridWizard() 55 { 56 static ::dbp::OMultiInstanceAutoRegistration< 57 ::dbp::OUnoAutoPilot< ::dbp::OGridWizard, ::dbp::OGridSI > 58 > aAutoRegistration; 59 } 60 61 //......................................................................... 62 namespace dbp 63 { 64 //......................................................................... 65 66 using namespace ::com::sun::star::uno; 67 68 //===================================================================== 69 //= OGroupBoxSI 70 //===================================================================== 71 //--------------------------------------------------------------------- 72 ::rtl::OUString OGroupBoxSI::getImplementationName() const 73 { 74 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OGroupBoxWizard"); 75 } 76 77 //--------------------------------------------------------------------- 78 Sequence< ::rtl::OUString > OGroupBoxSI::getServiceNames() const 79 { 80 Sequence< ::rtl::OUString > aReturn(1); 81 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.GroupBoxAutoPilot"); 82 return aReturn; 83 } 84 85 //===================================================================== 86 //= OListComboSI 87 //===================================================================== 88 //--------------------------------------------------------------------- 89 ::rtl::OUString OListComboSI::getImplementationName() const 90 { 91 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OListComboWizard"); 92 } 93 94 //--------------------------------------------------------------------- 95 Sequence< ::rtl::OUString > OListComboSI::getServiceNames() const 96 { 97 Sequence< ::rtl::OUString > aReturn(1); 98 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.ListComboBoxAutoPilot"); 99 return aReturn; 100 } 101 102 //===================================================================== 103 //= OGridSI 104 //===================================================================== 105 //--------------------------------------------------------------------- 106 ::rtl::OUString OGridSI::getImplementationName() const 107 { 108 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OGridWizard"); 109 } 110 111 //--------------------------------------------------------------------- 112 Sequence< ::rtl::OUString > OGridSI::getServiceNames() const 113 { 114 Sequence< ::rtl::OUString > aReturn(1); 115 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.GridControlAutoPilot"); 116 return aReturn; 117 } 118 119 //......................................................................... 120 } // namespace dbp 121 //......................................................................... 122 123