fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / udkapi / com / sun / star / bridge / OleBridgeSupplier2.idl
blobbf485e5406798bcc82c248c4143c65ceae2f6f13
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
19 #ifndef __com_sun_star_bridge_OleBridgeSupplier2_idl__
20 #define __com_sun_star_bridge_OleBridgeSupplier2_idl__
22 #include <com/sun/star/bridge/XBridgeSupplier2.idl>
26 module com { module sun { module star { module bridge {
28 /** maps UNO types to oleautomation types and vice versa.<p>
30 The XBridgeSupplier2 interface provides the function <code>createBridge</code> which
31 maps a value of an UNO or Automation type to the desired target type. If an UNO interface
32 was mapped to IDispatch, then all objects (interfaces, structs) and other
33 types which
34 are obtained from that Automation object are automatically mapped to the corresponding
35 Automation types. Hence, if one provides an initial object which forms the root of all
36 other objects, such as a service manager, then only that object needs to be explicitly
37 mapped by a call to <code>createBridge</code>. The same holds true if an automation
38 object is mapped to an UNO interface.<br>
39 <p>The Automation types <code>VT_CY</code> and <code>VT_DATE</code> are not supported.
40 For Automation objects to be mapped they have to implement IDispatch interface. Other
41 COM interfaces,
42 except for IUnknown, are not supported.UNO interfaces and structs are mapped to IDispatch.
44 <p>The service implements the XBridgeSupplier2 interface
45 and handles the model types
46 com::sun::star::bridge::ModelDependent::UNO and
47 com::sun::star::bridge::ModelDependent::OLE.
48 The service does not specify any
49 requirements for registering OLE objects and class factories. </p>
51 @deprecated
53 published service OleBridgeSupplier2
55 interface com::sun::star::bridge::XBridgeSupplier2;
60 }; }; }; };
62 #endif
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */