summaryrefslogtreecommitdiff
path: root/udkapi
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2002-01-22 07:33:45 +0000
committerJoachim Lingner <jl@openoffice.org>2002-01-22 07:33:45 +0000
commitf739da8795106c780e884e78e7e239a999793318 (patch)
tree61888cf06c6bdc50142df56e99c2c7edf9c0d7a1 /udkapi
parentb12988c827cbe32326534e1998a2df1a71c3a02c (diff)
#96764# documentation review
Diffstat (limited to 'udkapi')
-rw-r--r--udkapi/com/sun/star/bridge/OleBridgeSupplier2.idl32
1 files changed, 16 insertions, 16 deletions
diff --git a/udkapi/com/sun/star/bridge/OleBridgeSupplier2.idl b/udkapi/com/sun/star/bridge/OleBridgeSupplier2.idl
index 54b56c59c23c..853e55ffc722 100644
--- a/udkapi/com/sun/star/bridge/OleBridgeSupplier2.idl
+++ b/udkapi/com/sun/star/bridge/OleBridgeSupplier2.idl
@@ -2,9 +2,9 @@
*
* $RCSfile: OleBridgeSupplier2.idl,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mi $ $Date: 2000-12-11 16:09:40 $
+ * last change: $Author: jl $ $Date: 2002-01-22 08:33:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,17 +71,21 @@
module com { module sun { module star { module bridge {
//=============================================================================
-/** maps UNO types to COM types and vice versa. <p>
-
- <p>The COM types are restricted to those types that can be represented
- by a <code>VARIANT</code> except for <code>VT_CY</code> and
- <code>VT_DATE</code>. An <code>IUnknown</code> interface
- can only be mapped, if it can be successfully queried for
- <code>IDispatch</code>. </p>
-
- <p>Other COM interfaces are not supported. On the other hand UNO objects
- and structs are always mapped to COM objects exposing <code>IDispatch</code>. </p>
+/** maps UNO types to oleautomation types and vice versa.<p>
+ The XBridgeSupplier2 interface provides the function <code>createBridge</code> which
+ maps a value of an UNO or Automation type to the desired target type. If an UNO interface
+ was mapped to IDispatch, 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 <code>createBridge</code>. The same holds true if an automation
+ object is mapped to an UNO interface.<br>
+ <p>The Automation types <code>VT_CY</code> and <code>VT_DATE</code> are not supported.
+ For Automation objects to be mapped they have to implement IDispatch interface. Other
+ COM interfaces,
+ except for IUnknown, are not supported.UNO interfaces and structs are mapped to IDispatch.
<p>The service implements the <type>XBridgeSupplier2</type> interface
and handles the model types
@@ -90,11 +94,7 @@ module com { module sun { module star { module bridge {
The service does not specify any
requirements for registering OLE objects and class factories. </p>
- @guarantees
- -thread safe
- @guarantees
- -one instance service
*/
service OleBridgeSupplier2
{