<html> <head> <title>Service BridgeSupplier</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="BridgeSupplier-xref.html" class="navimain">Use</a></td> <td class="navimain"><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Bridge/The_Bridge_Services" class="navimain">Devguide</a></td> <td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Included Services</td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub">Properties' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">bridge</a> :: <a href="module-ix.html" class="namechain">oleautomation</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">service BridgeSupplier</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>maps UNO types to oleautomation types and vice versa. </dd> <dd><p> The function ::com::sun::star::<a href="../module-ix.html">bridge</a>::<a href="../XBridgeSupplier2.html">XBridgeSupplier2</a>::<a href="../XBridgeSupplier2.html#createBridge">createBridge</a> maps a value of a UNO or Automation type to the desired target type. If a UNO interface was mapped to <code>IDispatch</code>, then all objects (interfaces, structs) and other types which are obtained from that Automation object are automatically mapped to the corresponding Automation types. Hence, if one provides an initial object which forms the root of all other objects, such as a service manager, then only that object needs to be explicitly mapped by a call to ::com::sun::star::<a href="../module-ix.html">bridge</a>::<a href="../XBridgeSupplier2.html">XBridgeSupplier2</a>::<a href="../XBridgeSupplier2.html#createBridge">createBridge</a>. The same holds true if an automation object is mapped to an UNO interface. </p> <p> For Automation objects to be mapped they have to implement <code>IDispatch</code> interface. Other COM interfaces, except for <code>IUnknown</code>, are not supported. UNO interfaces and structs are mapped to <code>IDispatch</code>. </p> <p> The service implements the ::com::sun::star::<a href="../module-ix.html">bridge</a>::<a href="../XBridgeSupplier2.html">XBridgeSupplier2</a> interface and handles the model types <b>com::sun::star::bridge::ModelDependent::UNO</b> and <b>com::sun::star::bridge::ModelDependent::OLE</b>. The service does not specify any requirements for registering OLE objects and class factories. </p> </dd> </dl> <a name="devmanual"> </a><dl> <dt><b>Developers Guide</b></dt> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Bridge/The_Bridge_Services">ProUNO - Bridge - The Bridge Services</a></dd> </dl> </td> </tr> </table> <hr> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../module-ix.html">bridge</a>::<a href="../XBridgeSupplier2.html">XBridgeSupplier2</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>defines the interface for creating bridges to other object models. </dd> </dl> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>