Global Functions in Namespace cppu
in Sourcefile shlib.hxx
- invokeStaticComponentFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > invokeStaticComponentFactory(
oslGenericFunction |
pGetter, |
const ::rtl::OUString & |
rImplName, |
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & |
xMgr, |
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & |
xKey, |
const ::rtl::OUString & |
rPrefix ) |
| throw( ::com::sun::star::loader::CannotActivateFactoryException ); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
Gets the factory out of an already loaded (for instance statically linked) component.
- Parameters
pGetter |
the component's component_getFactory function
|
rImplName |
implementation to be retrieved from the library
|
xMgr |
service manager to be provided to the component
|
xKey |
registry key to be provided to the component
|
rPrefix |
optional component prefix
|
- Return
factory instance (::com::sun::star::lang::XSingleComponentFactory or
::com::sun::star::lang::XSingleComponentFactory)
- loadSharedLibComponentFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > loadSharedLibComponentFactory(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Description
Loads a shared library component and gets the factory out of it. You can give either a
fully qualified libname or single lib name. The libname need not be pre/postfixed
(e.g. xxx.dll). You can give parameter rPath to force lookup of the library in a specific
directory. The resulting path of the library will be checked against environment variable
CPLD_ACCESSPATH if set.
- Parameters
rLibName |
name of the library
|
rPath |
optional path
|
rImplName |
implementation to be retrieved from the library
|
xMgr |
service manager to be provided to the component
|
xKey |
registry key to be provided to the component
|
- Return
factory instance (::com::sun::star::lang::XSingleComponentFactory or
::com::sun::star::lang::XSingleComponentFactory)
- loadSharedLibComponentFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > loadSharedLibComponentFactory(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Description
Loads a shared library component and gets the factory out of it. You can give either a
fully qualified libname or single lib name. The libname need not be pre/postfixed
(e.g. xxx.dll). You can give parameter rPath to force lookup of the library in a specific
directory. The resulting path of the library will be checked against environment variable
CPLD_ACCESSPATH if set. An optional 'prefix' parameter is used to determine the symbol
name of the entry point in the library.
- Parameters
rLibName |
name of the library
|
rPath |
optional path
|
rImplName |
implementation to be retrieved from the library
|
xMgr |
service manager to be provided to the component
|
xKey |
registry key to be provided to the component
|
rPrefix |
optional component prefix
|
- Return
factory instance (::com::sun::star::lang::XSingleComponentFactory or
::com::sun::star::lang::XSingleComponentFactory)
- writeSharedLibComponentInfo
- void writeSharedLibComponentInfo(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- D E P R E C A T E D
- Description
Invokes component_writeInfo() function of specified component library. You can give either
a fully qualified libname or single lib name. The libname need not be pre/postfixed
(e.g. xxx.dll). You can give parameter rPath to force lookup of the library in a specific
directory. The resulting path of the library will be checked against environment variable
CPLD_ACCESSPATH if set.
component_writeInfo should no longer be used in new components
- Parameters
rLibName |
name of the library
|
rPath |
optional path
|
xMgr |
service manager to be provided to the component
|
xKey |
registry key to be provided to the component
|
Top of Page
Copyright © 2000, 2017 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.