1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright IBM Corporation 2010. 6 * Copyright 2000, 2010 Oracle and/or its affiliates. 7 * 8 * OpenOffice.org - a multi-platform office productivity suite 9 * 10 * This file is part of OpenOffice.org. 11 * 12 * OpenOffice.org is free software: you can redistribute it and/or modify 13 * it under the terms of the GNU Lesser General Public License version 3 14 * only, as published by the Free Software Foundation. 15 * 16 * OpenOffice.org is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU Lesser General Public License version 3 for more details 20 * (a copy is included in the LICENSE file that accompanied this code). 21 * 22 * You should have received a copy of the GNU Lesser General Public License 23 * version 3 along with OpenOffice.org. If not, see 24 * <http://www.openoffice.org/license.html> 25 * for a copy of the LGPLv3 License. 26 * 27 ************************************************************************/ 28 29import "oaidl.idl"; 30import "ocidl.idl"; 31import "Accessible2.idl"; 32import "defines.idl"; 33import "AccessibleComponent.idl"; 34import "AccessibleAction.idl"; 35import "AccessibleRelation.idl"; 36import "AccessibleTable.idl"; 37import "AccessibleText.idl"; 38import "AccessibleHyperlink.idl"; 39import "AccessibleEditableText.idl"; 40import "AccessibleValue.idl"; 41import "AccessibleImage.idl"; 42import "AccessibleValue.idl"; 43import "AccessibleHypertext.idl"; 44 45 [ 46 object, 47 uuid(D00F5EB7-588A-487F-A6F6-0B5D7D1815AA), 48 dual, 49 helpstring("IMAccessible Interface"), 50 pointer_default(unique) 51 ] 52 interface IMAccessible : IAccessible2 53 { 54 [id(1), helpstring("method Put_XAccName")] HRESULT Put_XAccName(const OLECHAR* pszName); 55 [id(2), helpstring("method Put_XAccRole")] HRESULT Put_XAccRole(unsigned short pRole); 56 [id(3), helpstring("method DecreaseState")] HRESULT DecreaseState(DWORD pXSate); 57 [id(4), helpstring("method IncreaseState")] HRESULT IncreaseState(DWORD pXSate); 58 [id(5), helpstring("method Put_XDescription")] HRESULT Put_XAccDescription(const OLECHAR* pszDescription); 59 [id(6), helpstring("method Put_XAccValue")] HRESULT Put_XAccValue(const OLECHAR* pszAccValue); 60 [id(7), helpstring("method SetState")] HRESULT SetState(DWORD pXSate); 61 [id(8), helpstring("method Put_XAccLocation")] HRESULT Put_XAccLocation(const Location sLocation); 62 [id(9), helpstring("method Put_XAccFocus")] HRESULT Put_XAccFocus(long dChildID); 63 [id(10), helpstring("method Put_XAccParent")] HRESULT Put_XAccParent(IMAccessible* pIParent); 64 [id(13), helpstring("method Put_XAccWindowHandle")] HRESULT Put_XAccWindowHandle(HWND hwnd); 65 [id(14), helpstring("method Put_XAccChildID")] HRESULT Put_XAccChildID(long dChildID); 66 [id(19), helpstring("method SetXAccessible")] HRESULT SetXAccessible( long XAccessible); 67 [id(20), helpstring("method GetUNOInterface")] HRESULT GetUNOInterface(long* UNOInterface); 68 [id(23), helpstring("method SetDefaultAction")] HRESULT SetDefaultAction(long pAction); 69 [id(24), helpstring("method Put_ActionDescription")] HRESULT Put_ActionDescription( const OLECHAR* szAction); 70 [id(25), helpstring("method Put_XAccAgent")] HRESULT Put_XAccAgent(long pAgent); 71 [id(26), helpstring("method NotifyDestroy")] HRESULT NotifyDestroy(BOOL isDestroy); 72 [id(30), helpstring("method Get_XAccChildID")] HRESULT Get_XAccChildID([out,retval] long* childID); 73 }; 74 [ 75 object, 76 uuid(951299EE-1841-4249-9E07-812C0739E489), 77 dual, 78 helpstring("IEnumVariant Interface"), 79 pointer_default(unique) 80 ] 81 interface IEnumVariant : IEnumVARIANT 82 { 83 [id(1), helpstring("method ClearEnumeration")] HRESULT ClearEnumeration(); 84 [id(2), helpstring("method PutSelection")] HRESULT PutSelection(long pXSeletion); 85 }; 86 [ 87 object, 88 uuid(6641185C-E099-4C45-B753-3FBC0EE40646), 89 dual, 90 helpstring("IUNOXWrapper Interface"), 91 pointer_default(unique) 92 ] 93 interface IUNOXWrapper : IUnknown 94 { 95 [id(1), helpstring("method put_XInterface")] HRESULT put_XInterface(long pXInterface); 96 [id(2), helpstring("method put_XSubInterface")] HRESULT put_XSubInterface(long pXSubInterface); 97 [id(3), helpstring("method get_XInterface")] HRESULT get_XInterface([out,retval]long* pXInterface); 98 [id(4), helpstring("method get_XSubInterface")] HRESULT get_XSubInterface([out,retval]long* pXSubInterface); 99 }; 100 101[ 102 uuid(19ECB1B0-9376-4FF9-B580-223FC9C200B8), 103 version(1.0), 104 helpstring("UAccCOM 1.0 Type Library") 105] 106library UACCCOMLib 107{ 108 importlib("stdole32.tlb"); 109 importlib("stdole2.tlb"); 110 111 [ 112 uuid(CF8DF8BA-44FE-4B10-BD2E-8C8CB322485F), 113 helpstring("MAccessible Class") 114 ] 115 coclass MAccessible 116 { 117 [default] interface IMAccessible; 118 }; 119 [ 120 uuid(152884E0-268B-4481-9AE7-1B372D3AA97F), 121 helpstring("EnumVariant Class") 122 ] 123 coclass EnumVariant 124 { 125 [default] interface IEnumVariant; 126 }; 127 [ 128 uuid(AA360FB0-BC98-41C1-A885-BB921F5ED601), 129 helpstring("UNOXWrapper Class") 130 ] 131 coclass UNOXWrapper 132 { 133 [default] interface IUNOXWrapper; 134 }; 135 136 [ 137 uuid(9FD9BA47-70AF-4160-99F1-526F2B9F111B), 138 helpstring("AccComponent Class") 139 ] 140 coclass AccComponent 141 { 142 [default] interface IAccessibleComponent; 143 }; 144 145 [ 146 uuid(8745CF0C-3104-4BAE-B7D0-D7B1717C006E), 147 helpstring("AccRelation Class") 148 ] 149 coclass AccRelation 150 { 151 [default] interface IAccessibleRelation; 152 }; 153 [ 154 uuid(AA49F20E-BB4E-400D-A5B0-6F5B7B770227), 155 helpstring("AccAction Class") 156 ] 157 coclass AccAction 158 { 159 [default] interface IAccessibleAction; 160 }; 161 162 [ 163 uuid(6D8AB08B-CCE9-471E-8A41-35773D5263F5), 164 helpstring("AccText Class") 165 ] 166 coclass AccText 167 { 168 [default] interface IAccessibleText; 169 }; 170 171 [ 172 uuid(79CE1450-1F61-48E2-BF76-C07BD10105E2), 173 helpstring("AccEditableText Class") 174 ] 175 coclass AccEditableText 176 { 177 [default] interface IAccessibleEditableText; 178 }; 179 180 [ 181 uuid(CC55D71B-1828-4EE0-89E2-C3749CF9C9AB), 182 helpstring("AccHypertext Class") 183 ] 184 coclass AccHypertext 185 { 186 [default] interface IAccessibletext; 187 }; 188 189 190 [ 191 uuid(73A45800-7A62-432C-A1A6-BF8852994331), 192 helpstring("AccImage Class") 193 ] 194 coclass AccImage 195 { 196 [default] interface IAccessibleImage; 197 }; 198 199 [ 200 uuid(730A561B-1AF6-49E1-9C04-9A2F48CD8512), 201 helpstring("AccValue Class") 202 ] 203 coclass AccValue 204 { 205 [default] interface IAccessibleValue; 206 }; 207 [ 208 uuid(92BAA62D-535A-4EAB-9ABB-BFA60B7A6DB6), 209 helpstring("AccTable Class") 210 ] 211 coclass AccTable 212 { 213 [default] interface IAccessibleTable; 214 }; 215 216 [ 217 uuid(519A64CD-F6A6-4793-BE50-4E36C4C593EF), 218 helpstring("AccHyperLink Class") 219 ] 220 coclass AccHyperLink 221 { 222 [default] interface IAccessibleAction; 223 }; 224 225}; 226