Avoid potential negative array index access to cached text.
[LibreOffice.git] / winaccessibility / source / UAccCOMIDL / UAccCOM.idl
blob871e5c3084c296b1d9834e98b72f651028fc22b0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 import "oaidl.idl";
21 import "ocidl.idl";
23 import "ia2_api_all.idl";
24 import "defines.idl";
27 object,
28 uuid(D00F5EB7-588A-487F-A6F6-0B5D7D1815AA),
29 dual,
30 helpstring("IMAccessible Interface"),
31 pointer_default(unique)
33 interface IMAccessible : IAccessible2
35 [id(1), helpstring("method Put_XAccName")] HRESULT Put_XAccName(const OLECHAR* pszName);
36 [id(2), helpstring("method Put_XAccRole")] HRESULT Put_XAccRole(unsigned short pRole);
37 [id(3), helpstring("method DecreaseState")] HRESULT DecreaseState(DWORD pXSate);
38 [id(4), helpstring("method IncreaseState")] HRESULT IncreaseState(DWORD pXSate);
39 [id(6), helpstring("method Put_XAccValue")] HRESULT Put_XAccValue(const OLECHAR* pszAccValue);
40 [id(7), helpstring("method SetState")] HRESULT SetState(DWORD pXSate);
41 [id(9), helpstring("method Put_XAccFocus")] HRESULT Put_XAccFocus(long dChildID);
42 [id(10), helpstring("method Put_XAccParent")] HRESULT Put_XAccParent(IMAccessible* pIParent);
43 [id(13), helpstring("method Put_XAccWindowHandle")] HRESULT Put_XAccWindowHandle(HWND hwnd);
44 [id(14), helpstring("method Put_XAccChildID")] HRESULT Put_XAccChildID(long dChildID);
45 [id(19), helpstring("method SetXAccessible")] HRESULT SetXAccessible(hyper XAccessible);
46 [id(20), helpstring("method GetUNOInterface")] HRESULT GetUNOInterface(hyper* UNOInterface);
47 [id(23), helpstring("method SetDefaultAction")] HRESULT SetDefaultAction(hyper pAction);
48 [id(24), helpstring("method Put_ActionDescription")] HRESULT Put_ActionDescription( const OLECHAR* szAction);
49 [id(25), helpstring("method Put_XAccObjectManager")] HRESULT Put_XAccObjectManager(hyper pManager);
50 [id(26), helpstring("method NotifyDestroy")] HRESULT NotifyDestroy();
53 object,
54 uuid(951299EE-1841-4249-9E07-812C0739E489),
55 dual,
56 helpstring("IEnumVariant Interface"),
57 pointer_default(unique)
59 interface IEnumVariant : IEnumVARIANT
61 [id(1), helpstring("method ClearEnumeration")] HRESULT ClearEnumeration();
62 [id(2), helpstring("method PutSelection")] HRESULT PutSelection(hyper pXSelection);
65 object,
66 uuid(6641185C-E099-4C45-B753-3FBC0EE40646),
67 dual,
68 helpstring("IUNOXWrapper Interface"),
69 pointer_default(unique)
71 interface IUNOXWrapper : IUnknown
73 [id(1), helpstring("method put_XInterface")] HRESULT put_XInterface(hyper pXInterface);
74 [id(2), helpstring("method put_XSubInterface")] HRESULT put_XSubInterface(hyper pXSubInterface);
78 uuid(19ECB1B0-9376-4FF9-B580-223FC9C200B8),
79 version(1.0),
80 helpstring("UAccCOM 1.0 Type Library")
82 library UACCCOMLib
84 importlib("stdole32.tlb");
85 importlib("stdole2.tlb");
86 importlib("oleacc.dll");
89 uuid(CF8DF8BA-44FE-4B10-BD2E-8C8CB322485F),
90 helpstring("MAccessible Class")
92 coclass MAccessible
94 [default] interface IMAccessible;
97 uuid(152884E0-268B-4481-9AE7-1B372D3AA97F),
98 helpstring("EnumVariant Class")
100 coclass EnumVariant
102 [default] interface IEnumVariant;
105 uuid(AA360FB0-BC98-41C1-A885-BB921F5ED601),
106 helpstring("UNOXWrapper Class")
108 coclass UNOXWrapper
110 [default] interface IUNOXWrapper;
114 uuid(9FD9BA47-70AF-4160-99F1-526F2B9F111B),
115 helpstring("AccComponent Class")
117 coclass AccComponent
119 [default] interface IAccessibleComponent;
123 uuid(8745CF0C-3104-4BAE-B7D0-D7B1717C006E),
124 helpstring("AccRelation Class")
126 coclass AccRelation
128 [default] interface IAccessibleRelation;
131 uuid(AA49F20E-BB4E-400D-A5B0-6F5B7B770227),
132 helpstring("AccAction Class")
134 coclass AccAction
136 [default] interface IAccessibleAction;
140 uuid(6D8AB08B-CCE9-471E-8A41-35773D5263F5),
141 helpstring("AccText Class")
143 coclass AccText
145 [default] interface IAccessibleText;
149 uuid(79CE1450-1F61-48E2-BF76-C07BD10105E2),
150 helpstring("AccEditableText Class")
152 coclass AccEditableText
154 [default] interface IAccessibleEditableText;
158 uuid(CC55D71B-1828-4EE0-89E2-C3749CF9C9AB),
159 helpstring("AccHypertext Class")
161 coclass AccHypertext
163 [default] interface IAccessibletext;
168 uuid(73A45800-7A62-432C-A1A6-BF8852994331),
169 helpstring("AccImage Class")
171 coclass AccImage
173 [default] interface IAccessibleImage;
177 uuid(730A561B-1AF6-49E1-9C04-9A2F48CD8512),
178 helpstring("AccValue Class")
180 coclass AccValue
182 [default] interface IAccessibleValue;
185 uuid(92BAA62D-535A-4EAB-9ABB-BFA60B7A6DB6),
186 helpstring("AccTable Class")
188 coclass AccTable
190 [default] interface IAccessibleTable;
193 uuid(77948F17-05C8-4DAA-93D4-BCCD16ADC660),
194 helpstring("AccTableCell Class")
196 coclass AccTableCell
198 [default] interface IAccessibleTableCell;
202 uuid(519A64CD-F6A6-4793-BE50-4E36C4C593EF),
203 helpstring("AccHyperLink Class")
205 coclass AccHyperLink
207 [default] interface IAccessibleAction;
212 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */