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 .
20 // so_activex.idl : IDL source for so_activex.dll
23 // This file will be processed by the MIDL tool to
24 // produce the type library (so_activex.tlb) and marshalling code.
33 uuid(DACF7E3F
-626B
-4BF9
-964B
-F4910C843711
),
35 helpstring("ISOActiveX Interface"),
36 pointer_default(unique)
38 interface ISOActiveX
: IDispatch
44 uuid(BF5D10F3
-8A10
-4A0B
-B150
-2B6AA2D7E118
),
46 helpstring("ISOComWindowPeer Interface"),
47 pointer_default(unique)
49 interface ISOComWindowPeer
: IDispatch
51 [id(1), helpstring("method getWindowHandle")]
52 HRESULT getWindowHandle
( [in] SAFEARRAY(VARIANT) procId
,
54 [out,retval] long* ret
);
56 [id(2), helpstring("method getToolkit")]
57 HRESULT getToolkit
( [out,retval] IDispatch
** retVal );
59 [id(3), helpstring("method setPointer")]
60 HRESULT setPointer
( [in] IDispatch
* xPointer
);
62 [id(4), helpstring("method setBackground")]
63 HRESULT setBackground
( [in] int nColor
);
65 [id(5), helpstring("method invalidate")]
66 HRESULT invalidate
( [in] short );
68 [id(6), helpstring("method invalidateRect")]
69 HRESULT invalidateRect
( [in] IDispatch
* aRect
, [in] short nFlags
);
71 [id(7), helpstring("method dispose")]
74 [id(8), helpstring("method addEventListener")]
75 HRESULT addEventListener
( [in] IDispatch
* xListener
);
77 [id(9), helpstring("method removeEventListener")]
78 HRESULT removeEventListener
( [in] IDispatch
* xListener
);
80 [propget, id(10), helpstring("property_implementedInterfaces")]
81 HRESULT Bridge_implementedInterfaces
([out, retval] SAFEARRAY(BSTR) *pVal
);
86 uuid(9337694C
-B27D
-4384-95A4
-9D8E0EABC9E5
),
88 helpstring("ISODispatchInterceptor Interface"),
89 pointer_default(unique)
91 interface ISODispatchInterceptor
: IDispatch
93 //com.sun.star.frame.XDispatchProviderInterceptor
95 [id(1), helpstring("method getSlaveDispatchProvider")]
96 HRESULT getSlaveDispatchProvider
( [out,retval] IDispatch
** retVal );
98 [id(2), helpstring("method setSlaveDispatchProvider")]
99 HRESULT setSlaveDispatchProvider
( [in] IDispatch
* xNewDispatchProvider
);
101 [id(3), helpstring("method getMasterDispatchProvider")]
102 HRESULT getMasterDispatchProvider
( [out,retval] IDispatch
** retVal );
104 [id(4), helpstring("method setMasterDispatchProvider")]
105 HRESULT setMasterDispatchProvider
( [in] IDispatch
* xNewSupplier
);
107 // com.sun.star.frame.XDispatchProvider
109 [id(5), helpstring("method queryDispatch")]
110 HRESULT queryDispatch
( [in] IDispatch
* aURL
,
111 [in] BSTR aTargetFrameName
,
112 [in] long nSearchFlags
,
113 [out,retval] IDispatch
** retVal );
115 [id(6), helpstring("method queryDispatches")]
116 HRESULT queryDispatches
( [in] SAFEARRAY(IDispatch
*) aDescripts
,
117 [out,retval] SAFEARRAY(VARIANT)* retVal );
120 // com.sun.star.frame.XDispatch
122 [id(7), helpstring("method dispatch")]
123 HRESULT dispatch
( [in] IDispatch
* aURL
,
124 [in] SAFEARRAY(VARIANT) aArgs
);
126 [id(8), helpstring("method addStatusListener")]
127 HRESULT addStatusListener
( [in] IDispatch
* xControl
,
128 [in] IDispatch
* aURL
);
130 [id(9), helpstring("method removeStatusListener")]
131 HRESULT removeStatusListener
( [in] IDispatch
* xControl
,
132 [in] IDispatch
* aURL
);
134 // com.sun.star.frame.XInterceptorInfo
137 [id(10), helpstring("method getInterceptedURLs")]
138 HRESULT getInterceptedURLs
( [out,retval] SAFEARRAY(BSTR)* pVal
);
140 // the common UNO-COM staff
141 [propget, id(11), helpstring("property_implementedInterfaces")]
142 HRESULT Bridge_implementedInterfaces
([out, retval] SAFEARRAY(BSTR) *pVal
);
151 uuid(029E9F1E
-2B3F
-4297-9160-8197DE7ED54F
),
153 helpstring("ISOActionsApproval Interface"),
154 pointer_default(unique)
156 interface ISOActionsApproval
: IDispatch
158 //com.sun.star.embed.XActionsApproval
160 [id(1), helpstring("method approveAction")]
161 HRESULT approveAction
( [in] long aActionID
,
162 [out,retval] boolean* pbApproval
);
164 // the common UNO-COM staff
165 [propget, id(2), helpstring("property_implementedInterfaces")]
166 HRESULT Bridge_implementedInterfaces
([out, retval] SAFEARRAY(BSTR) *pVal
);
172 uuid(61FA3F13
-8061-4796-B055
-3697ED28CB38
),
174 helpstring("so_activex 1.0 Type Library")
176 library SO_ACTIVEXLib
178 importlib
("stdole32.tlb");
179 importlib
("stdole2.tlb");
182 uuid(7F760565
-5719-4F04
-BA86
-112C474B10EA
),
183 helpstring("_ISOActiveXEvents Interface")
185 dispinterface _ISOActiveXEvents
192 uuid(67F2A879
-82D5
-4A6D
-8CC5
-FFB3C114B69D
),
193 helpstring("SOActiveX Class")
197 [default] interface ISOActiveX
;
198 [default, source] dispinterface _ISOActiveXEvents
;
202 uuid(EE51BD3E
-8BB6
-4FB8
-B319
-F65B1BE3B21D
),
203 helpstring("SOComWindowPeer Class")
205 coclass SOComWindowPeer
207 [default] interface ISOComWindowPeer
;
211 uuid(C5D6D568
-57DA
-4D6C
-819A
-451CB565E682
),
212 helpstring("SODispatchInterceptor Class")
214 coclass SODispatchInterceptor
216 [default] interface ISODispatchInterceptor
;
220 uuid(9F3697AC
-7A18
-4335-AF0A
-65FAC2C35CC1
),
221 helpstring("SOActionsApproval Class")
223 coclass SOActionsApproval
225 [default] interface ISOActionsApproval
;
230 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */