Update ooo320-m1
[ooovba.git] / extensions / source / activex / msidl / so_activex.idl
blobff396f5f90081829f8f37b1e1c8e01f1e64cb29a
1 // so_activex.idl : IDL source for so_activex.dll
2 //
4 // This file will be processed by the MIDL tool to
5 // produce the type library (so_activex.tlb) and marshalling code.
7 import "oaidl.idl";
8 import "ocidl.idl";
9 #include "olectl.h"
13 object,
14 uuid(DACF7E3F-626B-4BF9-964B-F4910C843711),
15 dual,
16 helpstring("ISOActiveX Interface"),
17 pointer_default(unique)
19 interface ISOActiveX : IDispatch
24 object,
25 uuid(BF5D10F3-8A10-4A0B-B150-2B6AA2D7E118),
26 dual,
27 helpstring("ISOComWindowPeer Interface"),
28 pointer_default(unique)
30 interface ISOComWindowPeer : IDispatch
32 [id(1), helpstring("method getWindowHandle")]
33 HRESULT getWindowHandle( [in] SAFEARRAY(VARIANT) procId,
34 [in] short s,
35 [out,retval] long* ret);
37 [id(2), helpstring("method getToolkit")]
38 HRESULT getToolkit( [out,retval] IDispatch** retVal );
40 [id(3), helpstring("method setPointer")]
41 HRESULT setPointer( [in] IDispatch* xPointer );
43 [id(4), helpstring("method setBackground")]
44 HRESULT setBackground( [in] int nColor );
46 [id(5), helpstring("method invalidate")]
47 HRESULT invalidate( [in] short );
49 [id(6), helpstring("method invalidateRect")]
50 HRESULT invalidateRect( [in] IDispatch* aRect, [in] short nFlags );
52 [id(7), helpstring("method dispose")]
53 HRESULT dispose();
55 [id(8), helpstring("method addEventListener")]
56 HRESULT addEventListener( [in] IDispatch* xListener );
58 [id(9), helpstring("method removeEventListener")]
59 HRESULT removeEventListener( [in] IDispatch* xListener );
61 [propget, id(10), helpstring("property_implementedInterfaces")]
62 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
66 object,
67 uuid(9337694C-B27D-4384-95A4-9D8E0EABC9E5),
68 dual,
69 helpstring("ISODispatchInterceptor Interface"),
70 pointer_default(unique)
72 interface ISODispatchInterceptor : IDispatch
74 //com.sun.star.frame.XDispatchProviderInterceptor
76 [id(1), helpstring("method getSlaveDispatchProvider")]
77 HRESULT getSlaveDispatchProvider( [out,retval] IDispatch** retVal );
79 [id(2), helpstring("method setSlaveDispatchProvider")]
80 HRESULT setSlaveDispatchProvider( [in] IDispatch* xNewDispatchProvider );
82 [id(3), helpstring("method getMasterDispatchProvider")]
83 HRESULT getMasterDispatchProvider( [out,retval] IDispatch** retVal );
85 [id(4), helpstring("method setMasterDispatchProvider")]
86 HRESULT setMasterDispatchProvider( [in] IDispatch* xNewSupplier );
88 // com.sun.star.frame.XDispatchProvider
90 [id(5), helpstring("method queryDispatch")]
91 HRESULT queryDispatch( [in] IDispatch* aURL,
92 [in] BSTR aTargetFrameName,
93 [in] long nSearchFlags,
94 [out,retval] IDispatch** retVal );
96 [id(6), helpstring("method queryDispatches")]
97 HRESULT queryDispatches( [in] SAFEARRAY(IDispatch*) aDescripts,
98 [out,retval] SAFEARRAY(VARIANT)* retVal );
101 // com.sun.star.frame.XDispatch
103 [id(7), helpstring("method dispatch")]
104 HRESULT dispatch( [in] IDispatch* aURL,
105 [in] SAFEARRAY(VARIANT) aArgs );
107 [id(8), helpstring("method addStatusListener")]
108 HRESULT addStatusListener( [in] IDispatch* xControl,
109 [in] IDispatch* aURL );
111 [id(9), helpstring("method removeStatusListener")]
112 HRESULT removeStatusListener( [in] IDispatch* xControl,
113 [in] IDispatch* aURL );
115 // com.sun.star.frame.XInterceptorInfo
118 [id(10), helpstring("method getInterceptedURLs")]
119 HRESULT getInterceptedURLs( [out,retval] SAFEARRAY(BSTR)* pVal );
121 // the common UNO-COM staff
122 [propget, id(11), helpstring("property_implementedInterfaces")]
123 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
131 object,
132 uuid(029E9F1E-2B3F-4297-9160-8197DE7ED54F),
133 dual,
134 helpstring("ISOActionsApproval Interface"),
135 pointer_default(unique)
137 interface ISOActionsApproval : IDispatch
139 //com.sun.star.embed.XActionsApproval
141 [id(1), helpstring("method approveAction")]
142 HRESULT approveAction( [in] long aActionID,
143 [out,retval] boolean* pbApproval );
145 // the common UNO-COM staff
146 [propget, id(2), helpstring("property_implementedInterfaces")]
147 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
153 uuid(61FA3F13-8061-4796-B055-3697ED28CB38),
154 version(1.0),
155 helpstring("so_activex 1.0 Type Library")
157 library SO_ACTIVEXLib
159 importlib("stdole32.tlb");
160 importlib("stdole2.tlb");
163 uuid(7F760565-5719-4F04-BA86-112C474B10EA),
164 helpstring("_ISOActiveXEvents Interface")
166 dispinterface _ISOActiveXEvents
168 properties:
169 methods:
173 uuid(67F2A879-82D5-4A6D-8CC5-FFB3C114B69D),
174 helpstring("SOActiveX Class")
176 coclass SOActiveX
178 [default] interface ISOActiveX;
179 [default, source] dispinterface _ISOActiveXEvents;
183 uuid(EE51BD3E-8BB6-4FB8-B319-F65B1BE3B21D),
184 helpstring("SOComWindowPeer Class")
186 coclass SOComWindowPeer
188 [default] interface ISOComWindowPeer;
192 uuid(C5D6D568-57DA-4D6C-819A-451CB565E682),
193 helpstring("SODispatchInterceptor Class")
195 coclass SODispatchInterceptor
197 [default] interface ISODispatchInterceptor;
201 uuid(9F3697AC-7A18-4335-AF0A-65FAC2C35CC1),
202 helpstring("SOActionsApproval Class")
204 coclass SOActionsApproval
206 [default] interface ISOActionsApproval;