Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5fb1c39f9f9130a3cc01e8b1ffa5c0f8 > files > 9414

libreoffice-devel-3.5.4-4.x86_64.rpm

<html>
<head>
<title>Global Functions in Namespace cppu in Sourcefile shlib.hxx</title>
<link rel="stylesheet" type="text/css" href="../../cpp.css">
</head>
<body>
<div id="adc-cppref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0">
<tr align="center" valign="top">
<td class="navimain">&nbsp;<a href="../../index.html">Overview</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="index.html">Namespace</a>&nbsp;</td>
<td class="navimainnone">&nbsp;Class&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../index-files/index-1.html">Index</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../help.html">Help</a>&nbsp;</td>
</tr>
</table>
<table class="navisub" cellpadding="0" cellspacing="3"></table>
<hr>
<div class="title"><h2>Global Functions in Namespace cppu<br>
in Sourcefile shlib.hxx</h2>
</div><hr>
<dl class="member">
<dt class="member"><a name="invokeStaticComponentFactory-4426"> </a>invokeStaticComponentFactory</dt>
<dd class="member"><dl>
<dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::uno::XInterface &gt; <strong>invokeStaticComponentFactory</strong>(</dt>
<dd><table class="param-table">
<tr>
<td>oslGenericFunction </td>
<td> pGetter,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rImplName,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::lang::XMultiServiceFactory &gt; &amp;</td>
<td>xMgr,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::registry::XRegistryKey &gt; &amp;</td>
<td>xKey,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rPrefix )</td>
</tr>
<tr>
<td/><td> throw( ::com::sun::star::loader::<a href="../../../../common/ref/com/sun/star/loader/CannotActivateFactoryException.html">CannotActivateFactoryException</a> );</td>
</tr>
</table>
</dd>
</dl>
<br>
</dd>
<dd class="member"><table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="12%" class="flagname">virtual</td>
<td width="12%" class="flagname">abstract</td>
<td width="12%" class="flagname">const</td>
<td width="12%" class="flagname">volatile</td>
<td width="12%" class="flagname">template</td>
<td width="12%" class="flagname">static</td>
<td width="12%" class="flagname">inline</td>
<td width="12%" class="flagname">C-linkage</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<br>
</dd>
<dd class="member"><dl>
<dt>Summary</dt>
<dd>Gets the factory out of an already loaded (for instance statically linked) component.

</dd>
<dt>Parameters</dt>
<dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table">
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">pGetter</td>
<td><pre>the component's component_getFactory function
    </pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rImplName</td>
<td><pre>implementation to be retrieved from the library
    </pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xMgr</td>
<td><pre>service manager to be provided to the component
    </pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xKey</td>
<td><pre>registry key to be provided to the component
    </pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rPrefix</td>
<td><pre>optional component prefix
    </pre></td>
</tr>
</table>
</dd>
<dt>Return</dt>
<dd>
    factory instance (::com::sun::star::lang::XSingleComponentFactory or
    ::com::sun::star::lang::XSingleComponentFactory)
</dd>
</dl>
</dd>
</dl>
<hr>
<dl class="member">
<dt class="member"><a name="loadSharedLibComponentFactory-4424"> </a>loadSharedLibComponentFactory</dt>
<dd class="member"><dl>
<dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::uno::XInterface &gt; <strong>loadSharedLibComponentFactory</strong>(</dt>
<dd><table class="param-table">
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp; </td>
<td> rLibName,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rPath,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rImplName,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::lang::XMultiServiceFactory &gt; &amp;</td>
<td>xMgr,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::registry::XRegistryKey &gt; &amp;</td>
<td>xKey )</td>
</tr>
<tr>
<td/><td> throw( ::com::sun::star::loader::<a href="../../../../common/ref/com/sun/star/loader/CannotActivateFactoryException.html">CannotActivateFactoryException</a> );</td>
</tr>
</table>
</dd>
</dl>
<br>
</dd>
<dd class="member"><table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="12%" class="flagname">virtual</td>
<td width="12%" class="flagname">abstract</td>
<td width="12%" class="flagname">const</td>
<td width="12%" class="flagname">volatile</td>
<td width="12%" class="flagname">template</td>
<td width="12%" class="flagname">static</td>
<td width="12%" class="flagname">inline</td>
<td width="12%" class="flagname">C-linkage</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<br>
</dd>
<dd class="member"><dl>
<dt>Description</dt>
<dd>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.

</dd>
<dt>Parameters</dt>
<dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table">
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rLibName</td>
<td><pre>name of the library
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rPath</td>
<td><pre>optional path
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rImplName</td>
<td><pre>implementation to be retrieved from the library
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xMgr</td>
<td><pre>service manager to be provided to the component
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xKey</td>
<td><pre>registry key to be provided to the component
</pre></td>
</tr>
</table>
</dd>
<dt>Return</dt>
<dd>
factory instance (::com::sun::star::lang::XSingleComponentFactory or
::com::sun::star::lang::XSingleComponentFactory)
</dd>
</dl>
</dd>
</dl>
<hr>
<dl class="member">
<dt class="member"><a name="loadSharedLibComponentFactory-4425"> </a>loadSharedLibComponentFactory</dt>
<dd class="member"><dl>
<dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::uno::XInterface &gt; <strong>loadSharedLibComponentFactory</strong>(</dt>
<dd><table class="param-table">
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp; </td>
<td> rLibName,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rPath,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rImplName,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::lang::XMultiServiceFactory &gt; &amp;</td>
<td>xMgr,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::registry::XRegistryKey &gt; &amp;</td>
<td>xKey,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rPrefix )</td>
</tr>
<tr>
<td/><td> throw( ::com::sun::star::loader::<a href="../../../../common/ref/com/sun/star/loader/CannotActivateFactoryException.html">CannotActivateFactoryException</a> );</td>
</tr>
</table>
</dd>
</dl>
<br>
</dd>
<dd class="member"><table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="12%" class="flagname">virtual</td>
<td width="12%" class="flagname">abstract</td>
<td width="12%" class="flagname">const</td>
<td width="12%" class="flagname">volatile</td>
<td width="12%" class="flagname">template</td>
<td width="12%" class="flagname">static</td>
<td width="12%" class="flagname">inline</td>
<td width="12%" class="flagname">C-linkage</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<br>
</dd>
<dd class="member"><dl>
<dt>Description</dt>
<dd>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.

</dd>
<dt>Parameters</dt>
<dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table">
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rLibName</td>
<td><pre>name of the library
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rPath</td>
<td><pre>optional path
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rImplName</td>
<td><pre>implementation to be retrieved from the library
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xMgr</td>
<td><pre>service manager to be provided to the component
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xKey</td>
<td><pre>registry key to be provided to the component
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rPrefix</td>
<td><pre>optional component prefix
</pre></td>
</tr>
</table>
</dd>
<dt>Return</dt>
<dd>
factory instance (::com::sun::star::lang::XSingleComponentFactory or
::com::sun::star::lang::XSingleComponentFactory)
</dd>
</dl>
</dd>
</dl>
<hr>
<dl class="member">
<dt class="member"><a name="writeSharedLibComponentInfo-4427"> </a>writeSharedLibComponentInfo</dt>
<dd class="member"><dl>
<dt class="simple">void <strong>writeSharedLibComponentInfo</strong>(</dt>
<dd><table class="param-table">
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp; </td>
<td> rLibName,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rPath,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::lang::XMultiServiceFactory &gt; &amp;</td>
<td>xMgr,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::registry::XRegistryKey &gt; &amp;</td>
<td>xKey )</td>
</tr>
<tr>
<td/><td> throw( ::com::sun::star::registry::<a href="../../../../common/ref/com/sun/star/registry/CannotRegisterImplementationException.html">CannotRegisterImplementationException</a> );</td>
</tr>
</table>
</dd>
</dl>
<br>
</dd>
<dd class="member"><table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="12%" class="flagname">virtual</td>
<td width="12%" class="flagname">abstract</td>
<td width="12%" class="flagname">const</td>
<td width="12%" class="flagname">volatile</td>
<td width="12%" class="flagname">template</td>
<td width="12%" class="flagname">static</td>
<td width="12%" class="flagname">inline</td>
<td width="12%" class="flagname">C-linkage</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<br>
</dd>
<dd class="member"><dl>
<dt><strong>D E P R E C A T E D</strong></dt>
<dt>Description</dt>
<dd>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

</dd>
<dt>Parameters</dt>
<dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table">
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rLibName</td>
<td><pre>name of the library
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rPath</td>
<td><pre>optional path
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xMgr</td>
<td><pre>service manager to be provided to the component
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xKey</td>
<td><pre>registry key to be provided to the component
</pre></td>
</tr>
</table>
</dd>
</dl>
</dd>
</dl>
<hr>
<a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.</p><p class="copyright" align="center">LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.</p><p class="copyright" align="center">The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>.<p>&nbsp;</p><p class="copyright" align="center"><a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (<a href="http://www.libreoffice.org/download/license/" target="_blank">LGPLv3</a>). "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 <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>.</p>

</div> <!-- id="adc-cppref" -->
</body>

</html>