LibreOffice Module extensions (master) 1
so_activex.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20// so_activex.idl : IDL source for so_activex.dll
21
22
23// This file will be processed by the MIDL tool to
24// produce the type library (so_activex.tlb) and marshalling code.
25
26import "oaidl.idl";
27import "ocidl.idl";
28#include <olectl.h>
29
30
31 [
32 object,
33 uuid(DACF7E3F-626B-4BF9-964B-F4910C843711),
34 dual,
35 helpstring("ISOActiveX Interface"),
36 pointer_default(unique)
37 ]
38 interface ISOActiveX : IDispatch
39 {
40 };
41
42[
43 object,
44 uuid(BF5D10F3-8A10-4A0B-B150-2B6AA2D7E118),
45 dual,
46 helpstring("ISOComWindowPeer Interface"),
47 pointer_default(unique)
48]
49interface ISOComWindowPeer : IDispatch
50{
51 [id(1), helpstring("method getWindowHandle")]
52 HRESULT getWindowHandle( [in] SAFEARRAY(VARIANT) procId,
53 [in] short s,
54 [out,retval] long* ret);
55
56 [id(2), helpstring("method getToolkit")]
57 HRESULT getToolkit( [out,retval] IDispatch** retVal );
58
59 [id(3), helpstring("method setPointer")]
60 HRESULT setPointer( [in] IDispatch* xPointer );
61
62 [id(4), helpstring("method setBackground")]
63 HRESULT setBackground( [in] int nColor );
64
65 [id(5), helpstring("method invalidate")]
66 HRESULT invalidate( [in] short );
67
68 [id(6), helpstring("method invalidateRect")]
69 HRESULT invalidateRect( [in] IDispatch* aRect, [in] short nFlags );
70
71 [id(7), helpstring("method dispose")]
72 HRESULT dispose();
73
74 [id(8), helpstring("method addEventListener")]
75 HRESULT addEventListener( [in] IDispatch* xListener );
76
77 [id(9), helpstring("method removeEventListener")]
78 HRESULT removeEventListener( [in] IDispatch* xListener );
79
80 [propget, id(10), helpstring("property_implementedInterfaces")]
81 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
82};
83
84[
85 object,
86 uuid(9337694C-B27D-4384-95A4-9D8E0EABC9E5),
87 dual,
88 helpstring("ISODispatchInterceptor Interface"),
89 pointer_default(unique)
90]
91interface ISODispatchInterceptor : IDispatch
92{
93//com.sun.star.frame.XDispatchProviderInterceptor
94
95 [id(1), helpstring("method getSlaveDispatchProvider")]
96 HRESULT getSlaveDispatchProvider( [out,retval] IDispatch** retVal );
97
98 [id(2), helpstring("method setSlaveDispatchProvider")]
99 HRESULT setSlaveDispatchProvider( [in] IDispatch* xNewDispatchProvider );
100
101 [id(3), helpstring("method getMasterDispatchProvider")]
102 HRESULT getMasterDispatchProvider( [out,retval] IDispatch** retVal );
103
104 [id(4), helpstring("method setMasterDispatchProvider")]
105 HRESULT setMasterDispatchProvider( [in] IDispatch* xNewSupplier );
106
107// com.sun.star.frame.XDispatchProvider
108
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 );
114
115 [id(6), helpstring("method queryDispatches")]
116 HRESULT queryDispatches( [in] SAFEARRAY(IDispatch*) aDescripts,
117 [out,retval] SAFEARRAY(VARIANT)* retVal );
118
119
120// com.sun.star.frame.XDispatch
121
122 [id(7), helpstring("method dispatch")]
123 HRESULT dispatch( [in] IDispatch* aURL,
124 [in] SAFEARRAY(VARIANT) aArgs );
125
126 [id(8), helpstring("method addStatusListener")]
127 HRESULT addStatusListener( [in] IDispatch* xControl,
128 [in] IDispatch* aURL );
129
130 [id(9), helpstring("method removeStatusListener")]
131 HRESULT removeStatusListener( [in] IDispatch* xControl,
132 [in] IDispatch* aURL );
133
134// com.sun.star.frame.XInterceptorInfo
135
136
137 [id(10), helpstring("method getInterceptedURLs")]
138 HRESULT getInterceptedURLs( [out,retval] SAFEARRAY(BSTR)* pVal );
139
140// the common UNO-COM staff
141 [propget, id(11), helpstring("property_implementedInterfaces")]
142 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
143
144};
145
146
147
148
149[
150 object,
151 uuid(029E9F1E-2B3F-4297-9160-8197DE7ED54F),
152 dual,
153 helpstring("ISOActionsApproval Interface"),
154 pointer_default(unique)
155]
156interface ISOActionsApproval : IDispatch
157{
158//com.sun.star.embed.XActionsApproval
159
160 [id(1), helpstring("method approveAction")]
161 HRESULT approveAction( [in] long aActionID,
162 [out,retval] boolean* pbApproval );
163
164// the common UNO-COM staff
165 [propget, id(2), helpstring("property_implementedInterfaces")]
166 HRESULT Bridge_implementedInterfaces([out, retval] SAFEARRAY(BSTR) *pVal);
167};
168
169
170
171[
172 uuid(61FA3F13-8061-4796-B055-3697ED28CB38),
173 version(1.0),
174 helpstring("so_activex 1.0 Type Library")
175]
177{
178 importlib("stdole32.tlb");
179 importlib("stdole2.tlb");
180
181 [
182 uuid(7F760565-5719-4F04-BA86-112C474B10EA),
183 helpstring("_ISOActiveXEvents Interface")
184 ]
185 dispinterface _ISOActiveXEvents
186 {
188 methods:
189 };
190
191 [
192 uuid(67F2A879-82D5-4A6D-8CC5-FFB3C114B69D),
193 helpstring("SOActiveX Class")
194 ]
195 coclass SOActiveX
196 {
197 [default] interface ISOActiveX;
198 [default, source] dispinterface _ISOActiveXEvents;
199 };
200
201 [
202 uuid(EE51BD3E-8BB6-4FB8-B319-F65B1BE3B21D),
203 helpstring("SOComWindowPeer Class")
204 ]
206 {
207 [default] interface ISOComWindowPeer;
208 };
209
210 [
211 uuid(C5D6D568-57DA-4D6C-819A-451CB565E682),
212 helpstring("SODispatchInterceptor Class")
213 ]
215 {
216 [default] interface ISODispatchInterceptor;
217 };
218
219 [
220 uuid(9F3697AC-7A18-4335-AF0A-65FAC2C35CC1),
221 helpstring("SOActionsApproval Class")
222 ]
224 {
225 [default] interface ISOActionsApproval;
226 };
227
228};
229
230/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SAFEARRAY Bridge_implementedInterfaces
HRESULT approveAction([in] long aActionID, [out, retval] boolean *pbApproval)
HRESULT dispose()
HRESULT getToolkit([out, retval] IDispatch **retVal)
HRESULT removeEventListener([in] IDispatch *xListener)
HRESULT addEventListener([in] IDispatch *xListener)
HRESULT setPointer([in] IDispatch *xPointer)
HRESULT invalidateRect([in] IDispatch *aRect, [in] short nFlags)
SAFEARRAY Bridge_implementedInterfaces
HRESULT getWindowHandle([in] SAFEARRAY(VARIANT) procId, [in] short s, [out, retval] long *ret)
HRESULT invalidate([in] short)
HRESULT setBackground([in] int nColor)
HRESULT getSlaveDispatchProvider([out, retval] IDispatch **retVal)
HRESULT getInterceptedURLs([out, retval] SAFEARRAY(BSTR) *pVal)
HRESULT addStatusListener([in] IDispatch *xControl, [in] IDispatch *aURL)
HRESULT setSlaveDispatchProvider([in] IDispatch *xNewDispatchProvider)
HRESULT queryDispatches([in] SAFEARRAY(IDispatch *) aDescripts, [out, retval] SAFEARRAY(VARIANT) *retVal)
SAFEARRAY Bridge_implementedInterfaces
HRESULT setMasterDispatchProvider([in] IDispatch *xNewSupplier)
HRESULT dispatch([in] IDispatch *aURL, [in] SAFEARRAY(VARIANT) aArgs)
HRESULT getMasterDispatchProvider([out, retval] IDispatch **retVal)
HRESULT queryDispatch([in] IDispatch *aURL, [in] BSTR aTargetFrameName, [in] long nSearchFlags, [out, retval] IDispatch **retVal)
HRESULT removeStatusListener([in] IDispatch *xControl, [in] IDispatch *aURL)
CFUUIDRef uuid
Definition: main.m:196
importlib("stdole2.tlb")