bump product version to 4.1.6.2
[LibreOffice.git] / extensions / source / activex / so_activex.idl
blob926a3ff1fdaaf9ed1b573f1ea2083c69bb216f78
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 // so_activex.idl : IDL source for so_activex.dll
22 // This file will be processed by the MIDL tool to
23 // produce the type library (so_activex.tlb) and marshalling code.
25 import "oaidl.idl";
26 import "ocidl.idl";
27 #include <olectl.h>
31 object,
32 uuid(DACF7E3F-626B-4BF9-964B-F4910C843711),
33 dual,
34 helpstring("ISOActiveX Interface"),
35 pointer_default(unique)
37 interface ISOActiveX : IDispatch
42 object,
43 uuid(BF5D10F3-8A10-4A0B-B150-2B6AA2D7E118),
44 dual,
45 helpstring("ISOComWindowPeer Interface"),
46 pointer_default(unique)
48 interface ISOComWindowPeer : IDispatch
50 [id(1), helpstring("method getWindowHandle")]
51 HRESULT getWindowHandle( [in] SAFEARRAY(VARIANT) procId,
52 [in] short s,
53 [out,retval] long* ret);
55 [id(2), helpstring("method getToolkit")]
56 HRESULT getToolkit( [out,retval] IDispatch** retVal );
58 [id(3), helpstring("method setPointer")]
59 HRESULT setPointer( [in] IDispatch* xPointer );
61 [id(4), helpstring("method setBackground")]
62 HRESULT setBackground( [in] int nColor );
64 [id(5), helpstring("method invalidate")]
65 HRESULT invalidate( [in] short );
67 [id(6), helpstring("method invalidateRect")]
68 HRESULT invalidateRect( [in] IDispatch* aRect, [in] short nFlags );
70 [id(7), helpstring("method dispose")]
71 HRESULT dispose();
73 [id(8), helpstring("method addEventListener")]
74 HRESULT addEventListener( [in] IDispatch* xListener );
76 [id(9), helpstring("method removeEventListener")]
77 HRESULT removeEventListener( [in] IDispatch* xListener );
79 [propget, id(10), helpstring("property_implementedInterfaces")]
80 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
84 object,
85 uuid(9337694C-B27D-4384-95A4-9D8E0EABC9E5),
86 dual,
87 helpstring("ISODispatchInterceptor Interface"),
88 pointer_default(unique)
90 interface ISODispatchInterceptor : IDispatch
92 //com.sun.star.frame.XDispatchProviderInterceptor
94 [id(1), helpstring("method getSlaveDispatchProvider")]
95 HRESULT getSlaveDispatchProvider( [out,retval] IDispatch** retVal );
97 [id(2), helpstring("method setSlaveDispatchProvider")]
98 HRESULT setSlaveDispatchProvider( [in] IDispatch* xNewDispatchProvider );
100 [id(3), helpstring("method getMasterDispatchProvider")]
101 HRESULT getMasterDispatchProvider( [out,retval] IDispatch** retVal );
103 [id(4), helpstring("method setMasterDispatchProvider")]
104 HRESULT setMasterDispatchProvider( [in] IDispatch* xNewSupplier );
106 // com.sun.star.frame.XDispatchProvider
108 [id(5), helpstring("method queryDispatch")]
109 HRESULT queryDispatch( [in] IDispatch* aURL,
110 [in] BSTR aTargetFrameName,
111 [in] long nSearchFlags,
112 [out,retval] IDispatch** retVal );
114 [id(6), helpstring("method queryDispatches")]
115 HRESULT queryDispatches( [in] SAFEARRAY(IDispatch*) aDescripts,
116 [out,retval] SAFEARRAY(VARIANT)* retVal );
119 // com.sun.star.frame.XDispatch
121 [id(7), helpstring("method dispatch")]
122 HRESULT dispatch( [in] IDispatch* aURL,
123 [in] SAFEARRAY(VARIANT) aArgs );
125 [id(8), helpstring("method addStatusListener")]
126 HRESULT addStatusListener( [in] IDispatch* xControl,
127 [in] IDispatch* aURL );
129 [id(9), helpstring("method removeStatusListener")]
130 HRESULT removeStatusListener( [in] IDispatch* xControl,
131 [in] IDispatch* aURL );
133 // com.sun.star.frame.XInterceptorInfo
136 [id(10), helpstring("method getInterceptedURLs")]
137 HRESULT getInterceptedURLs( [out,retval] SAFEARRAY(BSTR)* pVal );
139 // the common UNO-COM staff
140 [propget, id(11), helpstring("property_implementedInterfaces")]
141 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
149 object,
150 uuid(029E9F1E-2B3F-4297-9160-8197DE7ED54F),
151 dual,
152 helpstring("ISOActionsApproval Interface"),
153 pointer_default(unique)
155 interface ISOActionsApproval : IDispatch
157 //com.sun.star.embed.XActionsApproval
159 [id(1), helpstring("method approveAction")]
160 HRESULT approveAction( [in] long aActionID,
161 [out,retval] boolean* pbApproval );
163 // the common UNO-COM staff
164 [propget, id(2), helpstring("property_implementedInterfaces")]
165 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
171 uuid(61FA3F13-8061-4796-B055-3697ED28CB38),
172 version(1.0),
173 helpstring("so_activex 1.0 Type Library")
175 library SO_ACTIVEXLib
177 importlib("stdole32.tlb");
178 importlib("stdole2.tlb");
181 uuid(7F760565-5719-4F04-BA86-112C474B10EA),
182 helpstring("_ISOActiveXEvents Interface")
184 dispinterface _ISOActiveXEvents
186 properties:
187 methods:
191 uuid(67F2A879-82D5-4A6D-8CC5-FFB3C114B69D),
192 helpstring("SOActiveX Class")
194 coclass SOActiveX
196 [default] interface ISOActiveX;
197 [default, source] dispinterface _ISOActiveXEvents;
201 uuid(EE51BD3E-8BB6-4FB8-B319-F65B1BE3B21D),
202 helpstring("SOComWindowPeer Class")
204 coclass SOComWindowPeer
206 [default] interface ISOComWindowPeer;
210 uuid(C5D6D568-57DA-4D6C-819A-451CB565E682),
211 helpstring("SODispatchInterceptor Class")
213 coclass SODispatchInterceptor
215 [default] interface ISODispatchInterceptor;
219 uuid(9F3697AC-7A18-4335-AF0A-65FAC2C35CC1),
220 helpstring("SOActionsApproval Class")
222 coclass SOActionsApproval
224 [default] interface ISOActionsApproval;