xref: /AOO41X/main/winaccessibility/source/UAccCOMIDL/UAccCOM.idl (revision ffad8df045fe8db79e3e50f731c1fa6ab6501c83)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22import "oaidl.idl";
23import "ocidl.idl";
24
25import "ia2_api_all.idl";
26import "defines.idl";
27
28    [
29        object,
30        uuid(D00F5EB7-588A-487F-A6F6-0B5D7D1815AA),
31        dual,
32        helpstring("IMAccessible Interface"),
33        pointer_default(unique)
34    ]
35    interface IMAccessible : IAccessible2
36    {
37        [id(1), helpstring("method Put_XAccName")] HRESULT Put_XAccName(const OLECHAR* pszName);
38        [id(2), helpstring("method Put_XAccRole")] HRESULT Put_XAccRole(unsigned short pRole);
39        [id(3), helpstring("method DecreaseState")] HRESULT DecreaseState(DWORD pXSate);
40        [id(4), helpstring("method IncreaseState")] HRESULT IncreaseState(DWORD pXSate);
41        [id(5), helpstring("method Put_XDescription")] HRESULT Put_XAccDescription(const OLECHAR* pszDescription);
42        [id(6), helpstring("method Put_XAccValue")] HRESULT Put_XAccValue(const OLECHAR* pszAccValue);
43        [id(7), helpstring("method SetState")] HRESULT SetState(DWORD pXSate);
44        [id(8), helpstring("method Put_XAccLocation")] HRESULT Put_XAccLocation(const Location sLocation);
45        [id(9), helpstring("method Put_XAccFocus")] HRESULT Put_XAccFocus(long dChildID);
46        [id(10), helpstring("method Put_XAccParent")] HRESULT Put_XAccParent(IMAccessible* pIParent);
47        [id(13), helpstring("method Put_XAccWindowHandle")] HRESULT Put_XAccWindowHandle(HWND hwnd);
48        [id(14), helpstring("method Put_XAccChildID")] HRESULT Put_XAccChildID(long dChildID);
49        [id(19), helpstring("method SetXAccessible")] HRESULT SetXAccessible( long XAccessible);
50        [id(20), helpstring("method GetUNOInterface")] HRESULT GetUNOInterface(long* UNOInterface);
51        [id(23), helpstring("method SetDefaultAction")] HRESULT SetDefaultAction(long pAction);
52        [id(24), helpstring("method Put_ActionDescription")] HRESULT Put_ActionDescription( const OLECHAR* szAction);
53        [id(25), helpstring("method Put_XAccAgent")] HRESULT Put_XAccAgent(long pAgent);
54        [id(26), helpstring("method NotifyDestroy")] HRESULT NotifyDestroy(BOOL isDestroy);
55        [id(30), helpstring("method Get_XAccChildID")] HRESULT Get_XAccChildID([out,retval] long* childID);
56    };
57    [
58        object,
59        uuid(951299EE-1841-4249-9E07-812C0739E489),
60        dual,
61        helpstring("IEnumVariant Interface"),
62        pointer_default(unique)
63    ]
64    interface IEnumVariant : IEnumVARIANT
65    {
66        [id(1), helpstring("method ClearEnumeration")] HRESULT ClearEnumeration();
67        [id(2), helpstring("method PutSelection")] HRESULT PutSelection(long pXSeletion);
68    };
69    [
70        object,
71        uuid(6641185C-E099-4C45-B753-3FBC0EE40646),
72        dual,
73        helpstring("IUNOXWrapper Interface"),
74        pointer_default(unique)
75    ]
76    interface IUNOXWrapper : IUnknown
77    {
78        [id(1), helpstring("method put_XInterface")] HRESULT put_XInterface(long pXInterface);
79        [id(2), helpstring("method put_XSubInterface")] HRESULT put_XSubInterface(long pXSubInterface);
80        [id(3), helpstring("method get_XInterface")] HRESULT get_XInterface([out,retval]long* pXInterface);
81        [id(4), helpstring("method get_XSubInterface")] HRESULT get_XSubInterface([out,retval]long* pXSubInterface);
82    };
83
84[
85    uuid(19ECB1B0-9376-4FF9-B580-223FC9C200B8),
86    version(1.0),
87    helpstring("UAccCOM 1.0 Type Library")
88]
89library UACCCOMLib
90{
91    importlib("stdole32.tlb");
92    importlib("stdole2.tlb");
93    importlib("oleacc.dll");
94
95    [
96        uuid(CF8DF8BA-44FE-4B10-BD2E-8C8CB322485F),
97        helpstring("MAccessible Class")
98    ]
99    coclass MAccessible
100    {
101        [default] interface IMAccessible;
102    };
103    [
104        uuid(152884E0-268B-4481-9AE7-1B372D3AA97F),
105        helpstring("EnumVariant Class")
106    ]
107    coclass EnumVariant
108    {
109        [default] interface IEnumVariant;
110    };
111    [
112        uuid(AA360FB0-BC98-41C1-A885-BB921F5ED601),
113        helpstring("UNOXWrapper Class")
114    ]
115    coclass UNOXWrapper
116    {
117        [default] interface IUNOXWrapper;
118    };
119
120    [
121        uuid(9FD9BA47-70AF-4160-99F1-526F2B9F111B),
122        helpstring("AccComponent Class")
123    ]
124    coclass AccComponent
125    {
126        [default] interface IAccessibleComponent;
127    };
128
129    [
130        uuid(8745CF0C-3104-4BAE-B7D0-D7B1717C006E),
131        helpstring("AccRelation Class")
132    ]
133    coclass AccRelation
134    {
135        [default] interface IAccessibleRelation;
136    };
137    [
138        uuid(AA49F20E-BB4E-400D-A5B0-6F5B7B770227),
139        helpstring("AccAction Class")
140    ]
141    coclass AccAction
142    {
143        [default] interface IAccessibleAction;
144    };
145
146    [
147        uuid(6D8AB08B-CCE9-471E-8A41-35773D5263F5),
148        helpstring("AccText Class")
149    ]
150    coclass AccText
151    {
152        [default] interface IAccessibleText;
153    };
154
155    [
156        uuid(79CE1450-1F61-48E2-BF76-C07BD10105E2),
157        helpstring("AccEditableText Class")
158    ]
159    coclass AccEditableText
160    {
161        [default] interface IAccessibleEditableText;
162    };
163
164    [
165        uuid(CC55D71B-1828-4EE0-89E2-C3749CF9C9AB),
166        helpstring("AccHypertext Class")
167    ]
168    coclass AccHypertext
169    {
170        [default] interface IAccessibletext;
171    };
172
173
174    [
175        uuid(73A45800-7A62-432C-A1A6-BF8852994331),
176        helpstring("AccImage Class")
177    ]
178    coclass AccImage
179    {
180        [default] interface IAccessibleImage;
181    };
182
183    [
184        uuid(730A561B-1AF6-49E1-9C04-9A2F48CD8512),
185        helpstring("AccValue Class")
186    ]
187    coclass AccValue
188    {
189        [default] interface IAccessibleValue;
190    };
191    [
192        uuid(92BAA62D-535A-4EAB-9ABB-BFA60B7A6DB6),
193        helpstring("AccTable Class")
194    ]
195    coclass AccTable
196    {
197        [default] interface IAccessibleTable;
198    };
199
200    [
201        uuid(519A64CD-F6A6-4793-BE50-4E36C4C593EF),
202        helpstring("AccHyperLink Class")
203    ]
204    coclass AccHyperLink
205    {
206        [default] interface IAccessibleAction;
207    };
208
209};
210