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 .
22 module com
{ module sun
{ module star
{ module bridge
{ module oleautomation {
24 /** maps UNO types to oleautomation types and vice versa.
27 com::sun::star::bridge::XBridgeSupplier2::createBridge()
28 maps a value of a UNO or Automation type to the desired target type. If a UNO
29 interface was mapped to <code>IDispatch</code>, then all objects
30 (interfaces, structs) and other types which are obtained from that Automation
31 object are automatically mapped to the corresponding Automation types. Hence,
32 if one provides an initial object which forms the root of all other objects,
33 such as a service manager, then only that object needs to be explicitly
35 com::sun::star::bridge::XBridgeSupplier2::createBridge().
36 The same holds true if an automation object is mapped to a UNO interface.
39 For Automation objects to be mapped they have to implement
40 <code>IDispatch</code> interface. Other COM interfaces, except for
41 <code>IUnknown</code>, are not supported. UNO interfaces and structs are
42 mapped to <code>IDispatch</code>.
45 The service implements the
46 com::sun::star::bridge::XBridgeSupplier2 interface and
47 handles the model types
48 com::sun::star::bridge::ModelDependent::UNO and
49 com::sun::star::bridge::ModelDependent::OLE.
50 The service does not specify any requirements for registering OLE objects and
54 service BridgeSupplier
56 interface com
::sun
::star
::bridge
::XBridgeSupplier2
;
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */