1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 #include "modulepcr.hxx"
23 //---------------------------------------------------------------------------------------
25 using namespace ::rtl
;
26 using namespace ::com::sun::star::uno
;
27 using namespace ::com::sun::star::lang
;
28 using namespace ::com::sun::star::registry
;
30 //---------------------------------------------------------------------------------------
32 extern "C" void SAL_CALL
createRegistryInfo_OPropertyBrowserController();
33 extern "C" void SAL_CALL
createRegistryInfo_FormController();
34 extern "C" void SAL_CALL
createRegistryInfo_DefaultFormComponentInspectorModel();
35 extern "C" void SAL_CALL
createRegistryInfo_DefaultHelpProvider();
36 extern "C" void SAL_CALL
createRegistryInfo_OControlFontDialog();
37 extern "C" void SAL_CALL
createRegistryInfo_OTabOrderDialog();
38 extern "C" void SAL_CALL
createRegistryInfo_CellBindingPropertyHandler();
39 extern "C" void SAL_CALL
createRegistryInfo_ButtonNavigationHandler();
40 extern "C" void SAL_CALL
createRegistryInfo_EditPropertyHandler();
41 extern "C" void SAL_CALL
createRegistryInfo_FormComponentPropertyHandler();
42 extern "C" void SAL_CALL
createRegistryInfo_EFormsPropertyHandler();
43 extern "C" void SAL_CALL
createRegistryInfo_XSDValidationPropertyHandler();
44 extern "C" void SAL_CALL
createRegistryInfo_EventHandler();
45 extern "C" void SAL_CALL
createRegistryInfo_GenericPropertyHandler();
46 extern "C" void SAL_CALL
createRegistryInfo_ObjectInspectorModel();
47 extern "C" void SAL_CALL
createRegistryInfo_SubmissionPropertyHandler();
48 extern "C" void SAL_CALL
createRegistryInfo_StringRepresentation();
49 extern "C" void SAL_CALL
createRegistryInfo_MasterDetailLinkDialog();
50 extern "C" void SAL_CALL
createRegistryInfo_FormGeometryHandler();
52 //---------------------------------------------------------------------------------------
54 extern "C" void SAL_CALL
pcr_initializeModule()
56 static sal_Bool s_bInit
= sal_False
;
59 createRegistryInfo_OPropertyBrowserController();
60 createRegistryInfo_FormController();
61 createRegistryInfo_DefaultFormComponentInspectorModel();
62 createRegistryInfo_DefaultHelpProvider();
63 createRegistryInfo_OControlFontDialog();
64 createRegistryInfo_OTabOrderDialog();
65 createRegistryInfo_CellBindingPropertyHandler();
66 createRegistryInfo_ButtonNavigationHandler();
67 createRegistryInfo_EditPropertyHandler();
68 createRegistryInfo_FormComponentPropertyHandler();
69 createRegistryInfo_EFormsPropertyHandler();
70 createRegistryInfo_XSDValidationPropertyHandler();
71 createRegistryInfo_EventHandler();
72 createRegistryInfo_GenericPropertyHandler();
73 createRegistryInfo_ObjectInspectorModel();
74 createRegistryInfo_SubmissionPropertyHandler();
75 createRegistryInfo_StringRepresentation();
76 createRegistryInfo_MasterDetailLinkDialog();
77 createRegistryInfo_FormGeometryHandler();
82 //---------------------------------------------------------------------------------------
83 extern "C" SAL_DLLPUBLIC_EXPORT
void* SAL_CALL
pcr_component_getFactory(
84 const sal_Char
* pImplementationName
,
85 void* pServiceManager
,
86 SAL_UNUSED_PARAMETER
void* /*pRegistryKey*/)
88 pcr_initializeModule();
90 Reference
< XInterface
> xRet
;
91 if (pServiceManager
&& pImplementationName
)
93 xRet
= ::pcr::PcrModule::getInstance().getComponentFactory(
94 OUString::createFromAscii(pImplementationName
));
102 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */