LibreOffice Module winaccessibility (master) 1
ia2_api_all.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*************************************************************************
3 *
4 * File Name (api_all_headers.idl)
5 *
6 * IAccessible2 IDL Specification
7 *
8 * Copyright (c) 2013 Linux Foundation
9 * All rights reserved.
10 *
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 *
16 * 1. Redistributions of source code must retain the above copyright
17 * notice, this list of conditions and the following disclaimer.
18 *
19 * 2. Redistributions in binary form must reproduce the above
20 * copyright notice, this list of conditions and the following
21 * disclaimer in the documentation and/or other materials
22 * provided with the distribution.
23 *
24 * 3. Neither the name of the Linux Foundation nor the names of its
25 * contributors may be used to endorse or promote products
26 * derived from this software without specific prior written
27 * permission.
28 *
29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
30 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
31 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
32 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
33 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
34 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
35 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
36 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
37 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
39 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
40 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
41 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42 *
43 * This BSD License conforms to the Open Source Initiative "Simplified
44 * BSD License" as published at:
45 * http://www.opensource.org/licenses/bsd-license.php
46 *
47 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
48 * mark may be used in accordance with the Linux Foundation Trademark
49 * Policy to indicate compliance with the IAccessible2 specification.
50 *
51 ************************************************************************/
52
53import "objidl.idl";
54import "oaidl.idl";
55import "oleacc.idl";
56
57/*************************************************************************
58 *
59 * File Name (IA2CommonTypes.idl)
60 *
61 * IAccessible2 IDL Specification
62 *
63 * Copyright (c) 2007, 2013 Linux Foundation
64 * Copyright (c) 2006 IBM Corporation
65 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
66 * All rights reserved.
67 *
68 *
69 * Redistribution and use in source and binary forms, with or without
70 * modification, are permitted provided that the following conditions
71 * are met:
72 *
73 * 1. Redistributions of source code must retain the above copyright
74 * notice, this list of conditions and the following disclaimer.
75 *
76 * 2. Redistributions in binary form must reproduce the above
77 * copyright notice, this list of conditions and the following
78 * disclaimer in the documentation and/or other materials
79 * provided with the distribution.
80 *
81 * 3. Neither the name of the Linux Foundation nor the names of its
82 * contributors may be used to endorse or promote products
83 * derived from this software without specific prior written
84 * permission.
85 *
86 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
87 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
88 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
89 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
90 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
91 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
92 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
93 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
94 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
95 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
96 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
97 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
98 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
99 *
100 * This BSD License conforms to the Open Source Initiative "Simplified
101 * BSD License" as published at:
102 * http://www.opensource.org/licenses/bsd-license.php
103 *
104 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
105 * mark may be used in accordance with the Linux Foundation Trademark
106 * Policy to indicate compliance with the IAccessible2 specification.
107 *
108 ************************************************************************/
109
115
126
137
148
159
170
181
190
198
201
206
208
221
232
241typedef struct IA2TableModelChange {
242 enum IA2TableModelChangeType type; // insert, delete, update
243 long firstRow;
244 long lastRow;
248/*************************************************************************
249 *
250 * File Name (AccessibleRelation.idl)
251 *
252 * IAccessible2 IDL Specification
253 *
254 * Copyright (c) 2007, 2013 Linux Foundation
255 * Copyright (c) 2006 IBM Corporation
256 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
257 * All rights reserved.
258 *
259 *
260 * Redistribution and use in source and binary forms, with or without
261 * modification, are permitted provided that the following conditions
262 * are met:
263 *
264 * 1. Redistributions of source code must retain the above copyright
265 * notice, this list of conditions and the following disclaimer.
266 *
267 * 2. Redistributions in binary form must reproduce the above
268 * copyright notice, this list of conditions and the following
269 * disclaimer in the documentation and/or other materials
270 * provided with the distribution.
271 *
272 * 3. Neither the name of the Linux Foundation nor the names of its
273 * contributors may be used to endorse or promote products
274 * derived from this software without specific prior written
275 * permission.
276 *
277 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
278 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
279 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
280 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
281 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
282 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
283 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
284 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
285 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
286 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
287 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
288 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
289 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
290 *
291 * This BSD License conforms to the Open Source Initiative "Simplified
292 * BSD License" as published at:
293 * http://www.opensource.org/licenses/bsd-license.php
294 *
295 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
296 * mark may be used in accordance with the Linux Foundation Trademark
297 * Policy to indicate compliance with the IAccessible2 specification.
298 *
299 ************************************************************************/
300
301
302
303
304
310
312const WCHAR *const IA2_RELATION_CONTAINING_APPLICATION = L"containingApplication";
313
317const WCHAR *const IA2_RELATION_CONTAINING_DOCUMENT = L"containingDocument";
318
320const WCHAR *const IA2_RELATION_CONTAINING_TAB_PANE = L"containingTabPane";
321
323const WCHAR *const IA2_RELATION_CONTAINING_WINDOW = L"containingWindow";
324
326const WCHAR *const IA2_RELATION_CONTROLLED_BY = L"controlledBy";
327
329const WCHAR *const IA2_RELATION_CONTROLLER_FOR = L"controllerFor";
330
332const WCHAR *const IA2_RELATION_DESCRIBED_BY = L"describedBy";
333
335const WCHAR *const IA2_RELATION_DESCRIPTION_FOR = L"descriptionFor";
336
338const WCHAR *const IA2_RELATION_EMBEDDED_BY = L"embeddedBy";
339
344const WCHAR *const IA2_RELATION_EMBEDS = L"embeds";
345
351const WCHAR *const IA2_RELATION_FLOWS_FROM = L"flowsFrom";
352
354const WCHAR *const IA2_RELATION_FLOWS_TO = L"flowsTo";
355
357const WCHAR *const IA2_RELATION_LABEL_FOR = L"labelFor";
358
363const WCHAR *const IA2_RELATION_LABELED_BY = L"labelledBy";
364
366const WCHAR *const IA2_RELATION_LABELLED_BY = L"labelledBy";
367
373const WCHAR *const IA2_RELATION_MEMBER_OF = L"memberOf";
374
376const WCHAR *const IA2_RELATION_NEXT_TABBABLE = L"nextTabbable";
377
382const WCHAR *const IA2_RELATION_NODE_CHILD_OF = L"nodeChildOf";
383
388const WCHAR *const IA2_RELATION_NODE_PARENT_OF = L"nodeParentOf";
389
391const WCHAR *const IA2_RELATION_PARENT_WINDOW_OF = L"parentWindowOf";
392
396const WCHAR *const IA2_RELATION_POPUP_FOR = L"popupFor";
397
399const WCHAR *const IA2_RELATION_PREVIOUS_TABBABLE = L"previousTabbable";
400
402const WCHAR *const IA2_RELATION_SUBWINDOW_OF = L"subwindowOf";
403
405
408[object, uuid(7CDF86EE-C3DA-496a-BDA4-281B336E1FDC)]
409interface IAccessibleRelation : IUnknown
410{
416 [propget] HRESULT relationType
417 (
418 [out, retval] BSTR *relationType
419 );
420
425 [propget] HRESULT localizedRelationType
426 (
427 [out, retval] BSTR *localizedRelationType
428 );
429
434 [propget] HRESULT nTargets
435 (
436 [out, retval] long *nTargets
437 );
447 [propget] HRESULT target
448 (
449 [in] long targetIndex,
450 [out, retval] IUnknown **target
451 );
452
466 [propget] HRESULT targets
467 (
468 [in] long maxTargets,
469 [out, size_is(maxTargets), length_is(*nTargets)]
470 IUnknown **targets,
471 [out, retval] long *nTargets
472 );
473
474}
475/*************************************************************************
476 *
477 * File Name (AccessibleAction.idl)
478 *
479 * IAccessible2 IDL Specification
480 *
481 * Copyright (c) 2007, 2013 Linux Foundation
482 * Copyright (c) 2006 IBM Corporation
483 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
484 * All rights reserved.
485 *
486 *
487 * Redistribution and use in source and binary forms, with or without
488 * modification, are permitted provided that the following conditions
489 * are met:
490 *
491 * 1. Redistributions of source code must retain the above copyright
492 * notice, this list of conditions and the following disclaimer.
493 *
494 * 2. Redistributions in binary form must reproduce the above
495 * copyright notice, this list of conditions and the following
496 * disclaimer in the documentation and/or other materials
497 * provided with the distribution.
498 *
499 * 3. Neither the name of the Linux Foundation nor the names of its
500 * contributors may be used to endorse or promote products
501 * derived from this software without specific prior written
502 * permission.
503 *
504 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
505 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
506 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
507 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
508 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
509 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
510 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
511 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
512 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
513 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
514 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
515 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
516 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
517 *
518 * This BSD License conforms to the Open Source Initiative "Simplified
519 * BSD License" as published at:
520 * http://www.opensource.org/licenses/bsd-license.php
521 *
522 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
523 * mark may be used in accordance with the Linux Foundation Trademark
524 * Policy to indicate compliance with the IAccessible2 specification.
525 *
526 ************************************************************************/
527
528
529
530
531
539 IA2_ACTION_OPEN = -1,
553 IA2_ACTION_CLOSE = -3
556
574[object, uuid(B70D9F59-3B5A-4dba-AB9E-22012F607DF5)]
575interface IAccessibleAction : IUnknown
576{
577
589 HRESULT nActions
590 (
591 [out,retval] long* nActions
592 );
593
603 HRESULT doAction
604 (
605 [in] long actionIndex
606 );
607
618 [propget] HRESULT description
619 (
620 [in] long actionIndex,
621 [out, retval] BSTR *description
622 );
623
658 [propget] HRESULT keyBinding
659 (
660 [in] long actionIndex,
661 [in] long nMaxBindings,
662 [out, size_is(,nMaxBindings), length_is(,*nBindings)] BSTR **keyBindings,
663 [out, retval] long *nBindings
664 );
665
674 [propget] HRESULT name
675 (
676 [in] long actionIndex,
677 [out, retval] BSTR *name
678 );
679
688 [propget] HRESULT localizedName
689 (
690 [in] long actionIndex,
691 [out, retval] BSTR *localizedName
692 );
693
694}
695/*************************************************************************
696 *
697 * File Name (AccessibleRole.idl)
698 *
699 * IAccessible2 IDL Specification
700 *
701 * Copyright (c) 2007, 2013 Linux Foundation
702 * Copyright (c) 2006 IBM Corporation
703 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
704 * All rights reserved.
705 *
706 *
707 * Redistribution and use in source and binary forms, with or without
708 * modification, are permitted provided that the following conditions
709 * are met:
710 *
711 * 1. Redistributions of source code must retain the above copyright
712 * notice, this list of conditions and the following disclaimer.
713 *
714 * 2. Redistributions in binary form must reproduce the above
715 * copyright notice, this list of conditions and the following
716 * disclaimer in the documentation and/or other materials
717 * provided with the distribution.
718 *
719 * 3. Neither the name of the Linux Foundation nor the names of its
720 * contributors may be used to endorse or promote products
721 * derived from this software without specific prior written
722 * permission.
723 *
724 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
725 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
726 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
727 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
728 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
729 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
730 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
731 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
732 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
733 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
734 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
735 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
736 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
737 *
738 * This BSD License conforms to the Open Source Initiative "Simplified
739 * BSD License" as published at:
740 * http://www.opensource.org/licenses/bsd-license.php
741 *
742 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
743 * mark may be used in accordance with the Linux Foundation Trademark
744 * Policy to indicate compliance with the IAccessible2 specification.
745 *
746 ************************************************************************/
747
748
749
758
763
769
772
775
778
781
786
791
797
803
806
809
817
822
827
830
835
841
847
852
855
858
864
869
876
879
887
892
897
902
905
910
915
921
925
931
942
945
951
956
959
962
970
977
988
990/*************************************************************************
991 *
992 * File Name (AccessibleStates.idl)
993 *
994 * IAccessible2 IDL Specification
995 *
996 * Copyright (c) 2007, 2010 Linux Foundation
997 * Copyright (c) 2006 IBM Corporation
998 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
999 * All rights reserved.
1000 *
1001 *
1002 * Redistribution and use in source and binary forms, with or without
1003 * modification, are permitted provided that the following conditions
1004 * are met:
1005 *
1006 * 1. Redistributions of source code must retain the above copyright
1007 * notice, this list of conditions and the following disclaimer.
1008 *
1009 * 2. Redistributions in binary form must reproduce the above
1010 * copyright notice, this list of conditions and the following
1011 * disclaimer in the documentation and/or other materials
1012 * provided with the distribution.
1013 *
1014 * 3. Neither the name of the Linux Foundation nor the names of its
1015 * contributors may be used to endorse or promote products
1016 * derived from this software without specific prior written
1017 * permission.
1018 *
1019 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
1020 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
1021 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1022 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1023 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
1024 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1025 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1026 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1027 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1028 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1029 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
1030 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
1031 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1032 *
1033 * This BSD License conforms to the Open Source Initiative "Simplified
1034 * BSD License" as published at:
1035 * http://www.opensource.org/licenses/bsd-license.php
1036 *
1037 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
1038 * mark may be used in accordance with the Linux Foundation Trademark
1039 * Policy to indicate compliance with the IAccessible2 specification.
1040 *
1041 ************************************************************************/
1042
1043
1044
1045typedef long AccessibleStates;
1046
1053
1067
1080
1083
1091
1094
1097
1100
1112
1119
1122
1125
1132
1138
1141
1150
1158
1173
1176
1188
1196IA2_STATE_PINNED = 0x80000
1197
1199/*************************************************************************
1200 *
1201 * File Name (Accessible2.idl)
1202 *
1203 * IAccessible2 IDL Specification
1204 *
1205 * Copyright (c) 2007, 2013 Linux Foundation
1206 * Copyright (c) 2006 IBM Corporation
1207 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
1208 * All rights reserved.
1209 *
1210 *
1211 * Redistribution and use in source and binary forms, with or without
1212 * modification, are permitted provided that the following conditions
1213 * are met:
1214 *
1215 * 1. Redistributions of source code must retain the above copyright
1216 * notice, this list of conditions and the following disclaimer.
1217 *
1218 * 2. Redistributions in binary form must reproduce the above
1219 * copyright notice, this list of conditions and the following
1220 * disclaimer in the documentation and/or other materials
1221 * provided with the distribution.
1222 *
1223 * 3. Neither the name of the Linux Foundation nor the names of its
1224 * contributors may be used to endorse or promote products
1225 * derived from this software without specific prior written
1226 * permission.
1227 *
1228 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
1229 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
1230 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1231 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1232 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
1233 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1234 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1235 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1236 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1237 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1238 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
1239 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
1240 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1241 *
1242 * This BSD License conforms to the Open Source Initiative "Simplified
1243 * BSD License" as published at:
1244 * http://www.opensource.org/licenses/bsd-license.php
1245 *
1246 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
1247 * mark may be used in accordance with the Linux Foundation Trademark
1248 * Policy to indicate compliance with the IAccessible2 specification.
1249 *
1250 ************************************************************************/
1251
1561typedef struct IA2Locale {
1563 BSTR country;
1564 BSTR variant;
1566
1577[object, uuid(E89F726E-C4F4-4c19-BB19-B647D7FA8478)]
1578interface IAccessible2 : IAccessible
1579{
1580
1585 [propget] HRESULT nRelations
1586 (
1587 [out, retval] long *nRelations
1588 );
1589
1597 [propget] HRESULT relation
1598 (
1599 [in] long relationIndex,
1600 [out, retval] IAccessibleRelation **relation
1601 );
1602
1616 [propget] HRESULT relations
1617 (
1618 [in] long maxRelations,
1619 [out, size_is(maxRelations), length_is(*nRelations)]
1621 [out, retval] long *nRelations
1622 );
1623
1639 HRESULT role
1640 (
1641 [out, retval] long *role
1642 );
1643
1650 HRESULT scrollTo
1651 (
1652 [in] enum IA2ScrollType scrollType
1654
1666 HRESULT scrollToPoint
1667 (
1668 [in] enum IA2CoordinateType coordinateType,
1669 [in] long x,
1670 [in] long y
1671 );
1672
1698 [propget] HRESULT groupPosition
1699 (
1700 [out] long *groupLevel,
1701 [out] long *similarItemsInGroup,
1702 [out, retval] long *positionInGroup
1703 );
1704
1713 [propget] HRESULT states
1714 (
1715 [out, retval] AccessibleStates *states
1716 );
1717
1727 [propget] HRESULT extendedRole
1728 (
1729 [out, retval] BSTR *extendedRole
1730 );
1731
1737 [propget] HRESULT localizedExtendedRole
1738 (
1739 [out, retval] BSTR *localizedExtendedRole
1740 );
1741
1746 [propget] HRESULT nExtendedStates
1747 (
1748 [out, retval] long *nExtendedStates
1749 );
1766 [propget] HRESULT extendedStates
1767 (
1768 [in] long maxExtendedStates,
1769 [out, size_is(,maxExtendedStates), length_is(,*nExtendedStates)] BSTR **extendedStates,
1770 [out, retval] long *nExtendedStates
1771 );
1772
1785 [propget] HRESULT localizedExtendedStates
1786 (
1787 [in] long maxLocalizedExtendedStates,
1788 [out, size_is(,maxLocalizedExtendedStates), length_is(,*nLocalizedExtendedStates)] BSTR **localizedExtendedStates,
1789 [out, retval] long *nLocalizedExtendedStates
1790 );
1791
1833 [propget] HRESULT uniqueID
1834 (
1835 [out, retval] long *uniqueID
1836 );
1837
1853 [propget] HRESULT windowHandle
1854 (
1855 [out, retval] HWND *windowHandle
1856 );
1857
1865 [propget] HRESULT indexInParent
1866 (
1867 [out, retval] long *indexInParent
1868 );
1869
1874 [propget] HRESULT locale
1875 (
1876 [out, retval] IA2Locale *locale
1877 );
1878
1884 [propget] HRESULT attributes
1885 (
1886 [out, retval] BSTR *attributes
1887 );
1888
1889}
1890
1891/*************************************************************************
1892 *
1893 * File Name (Accessible2_2.idl)
1894 *
1895 * IAccessible2 IDL Specification
1896 *
1897 * Copyright (c) 2007, 2013 Linux Foundation
1898 * Copyright (c) 2006 IBM Corporation
1899 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
1900 * All rights reserved.
1901 *
1902 *
1903 * Redistribution and use in source and binary forms, with or without
1904 * modification, are permitted provided that the following conditions
1905 * are met:
1906 *
1907 * 1. Redistributions of source code must retain the above copyright
1908 * notice, this list of conditions and the following disclaimer.
1909 *
1910 * 2. Redistributions in binary form must reproduce the above
1911 * copyright notice, this list of conditions and the following
1912 * disclaimer in the documentation and/or other materials
1913 * provided with the distribution.
1914 *
1915 * 3. Neither the name of the Linux Foundation nor the names of its
1916 * contributors may be used to endorse or promote products
1917 * derived from this software without specific prior written
1918 * permission.
1919 *
1920 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
1921 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
1922 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1923 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1924 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
1925 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1926 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1927 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1928 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1929 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1930 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
1931 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
1932 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1933 *
1934 * This BSD License conforms to the Open Source Initiative "Simplified
1935 * BSD License" as published at:
1936 * http://www.opensource.org/licenses/bsd-license.php
1937 *
1938 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
1939 * mark may be used in accordance with the Linux Foundation Trademark
1940 * Policy to indicate compliance with the IAccessible2 specification.
1941 *
1942 ************************************************************************/
1943
1944
1945
1946
1947
1948
1959[object, uuid(6C9430E9-299D-4E6F-BD01-A82A1E88D3FF)]
1961{
1973 [propget] HRESULT attribute
1974 (
1975 [in] BSTR name,
1976 [out, retval] VARIANT *attribute
1977 );
1978
1985 [propget] HRESULT accessibleWithCaret
1986 (
1987 [out] IUnknown **accessible,
1988 [out, retval] long *caretOffset
1989 );
1990
2004 [propget] HRESULT relationTargetsOfType
2005 (
2006 [in] BSTR type,
2007 [in] long maxTargets,
2008 [out, size_is(,*nTargets)] IUnknown ***targets,
2009 [out, retval] long *nTargets
2010 );
2011
2012}
2013
2014/*************************************************************************
2015 *
2016 * File Name (AccessibleComponent.idl)
2017 *
2018 * IAccessible2 IDL Specification
2019 *
2020 * Copyright (c) 2007, 2010 Linux Foundation
2021 * Copyright (c) 2006 IBM Corporation
2022 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
2023 * All rights reserved.
2024 *
2025 *
2026 * Redistribution and use in source and binary forms, with or without
2027 * modification, are permitted provided that the following conditions
2028 * are met:
2029 *
2030 * 1. Redistributions of source code must retain the above copyright
2031 * notice, this list of conditions and the following disclaimer.
2032 *
2033 * 2. Redistributions in binary form must reproduce the above
2034 * copyright notice, this list of conditions and the following
2035 * disclaimer in the documentation and/or other materials
2036 * provided with the distribution.
2037 *
2038 * 3. Neither the name of the Linux Foundation nor the names of its
2039 * contributors may be used to endorse or promote products
2040 * derived from this software without specific prior written
2041 * permission.
2042 *
2043 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
2044 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
2045 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2046 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2047 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2048 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2049 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2050 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2051 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2052 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2053 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2054 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
2055 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2056 *
2057 * This BSD License conforms to the Open Source Initiative "Simplified
2058 * BSD License" as published at:
2059 * http://www.opensource.org/licenses/bsd-license.php
2060 *
2061 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
2062 * mark may be used in accordance with the Linux Foundation Trademark
2063 * Policy to indicate compliance with the IAccessible2 specification.
2064 *
2065 ************************************************************************/
2066
2067
2068
2069
2070
2074typedef long IA2Color;
2075
2093[object, uuid(1546D4B0-4C98-4bda-89AE-9A64748BDDE4)]
2094interface IAccessibleComponent : IUnknown
2095{
2096
2110 [propget] HRESULT locationInParent
2111 (
2112 [out] long *x,
2113 [out, retval] long *y
2114 );
2115
2122 [propget] HRESULT foreground
2123 (
2124 [out, retval] IA2Color *foreground
2125 );
2133 [propget] HRESULT background
2134 (
2135 [out, retval] IA2Color *background
2136 );
2137}
2138/*************************************************************************
2139 *
2140 * File Name (AccessibleValue.idl)
2141 *
2142 * IAccessible2 IDL Specification
2143 *
2144 * Copyright (c) 2007, 2010 Linux Foundation
2145 * Copyright (c) 2006 IBM Corporation
2146 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
2147 * All rights reserved.
2148 *
2149 *
2150 * Redistribution and use in source and binary forms, with or without
2151 * modification, are permitted provided that the following conditions
2152 * are met:
2153 *
2154 * 1. Redistributions of source code must retain the above copyright
2155 * notice, this list of conditions and the following disclaimer.
2156 *
2157 * 2. Redistributions in binary form must reproduce the above
2158 * copyright notice, this list of conditions and the following
2159 * disclaimer in the documentation and/or other materials
2160 * provided with the distribution.
2161 *
2162 * 3. Neither the name of the Linux Foundation nor the names of its
2163 * contributors may be used to endorse or promote products
2164 * derived from this software without specific prior written
2165 * permission.
2166 *
2167 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
2168 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
2169 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2170 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2171 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2172 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2173 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2174 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2175 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2176 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2177 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2178 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
2179 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2180 *
2181 * This BSD License conforms to the Open Source Initiative "Simplified
2182 * BSD License" as published at:
2183 * http://www.opensource.org/licenses/bsd-license.php
2184 *
2185 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
2186 * mark may be used in accordance with the Linux Foundation Trademark
2187 * Policy to indicate compliance with the IAccessible2 specification.
2188 *
2189 ************************************************************************/
2190
2191
2192
2193
2194
2202[object, uuid(35855B5B-C566-4fd0-A7B1-E65465600394)]
2203interface IAccessibleValue : IUnknown
2204{
2205
2216 [propget] HRESULT currentValue
2217 (
2218 [out, retval] VARIANT *currentValue
2219 );
2220
2234 HRESULT setCurrentValue
2235 (
2236 [in] VARIANT value
2237 );
2238
2251 [propget] HRESULT maximumValue
2252 (
2253 [out, retval] VARIANT *maximumValue
2254 );
2255
2268 [propget] HRESULT minimumValue
2269 (
2270 [out, retval] VARIANT *minimumValue
2271 );
2272
2273};
2274/*************************************************************************
2275 *
2276 * File Name (AccessibleText.idl)
2277 *
2278 * IAccessible2 IDL Specification
2279 *
2280 * Copyright (c) 2007, 2013 Linux Foundation
2281 * Copyright (c) 2006 IBM Corporation
2282 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
2283 * All rights reserved.
2284 *
2285 *
2286 * Redistribution and use in source and binary forms, with or without
2287 * modification, are permitted provided that the following conditions
2288 * are met:
2289 *
2290 * 1. Redistributions of source code must retain the above copyright
2291 * notice, this list of conditions and the following disclaimer.
2292 *
2293 * 2. Redistributions in binary form must reproduce the above
2294 * copyright notice, this list of conditions and the following
2295 * disclaimer in the documentation and/or other materials
2296 * provided with the distribution.
2297 *
2298 * 3. Neither the name of the Linux Foundation nor the names of its
2299 * contributors may be used to endorse or promote products
2300 * derived from this software without specific prior written
2301 * permission.
2302 *
2303 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
2304 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
2305 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2306 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2307 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2308 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2309 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2310 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2311 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2312 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2313 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2314 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
2315 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2316 *
2317 * This BSD License conforms to the Open Source Initiative "Simplified
2318 * BSD License" as published at:
2319 * http://www.opensource.org/licenses/bsd-license.php
2320 *
2321 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
2322 * mark may be used in accordance with the Linux Foundation Trademark
2323 * Policy to indicate compliance with the IAccessible2 specification.
2324 *
2325 ************************************************************************/
2326
2327
2328
2329
2330
2331
2336typedef struct IA2TextSegment {
2337 BSTR text;
2338 long start;
2339 long end;
2341
2378
2406[object, uuid(24FD2FFB-3AAD-4a08-8335-A3AD89C0FB4B)]
2407interface IAccessibleText : IUnknown
2408{
2409
2422 (
2423 [in] long startOffset,
2424 [in] long endOffset
2425 );
2426
2446 [propget] HRESULT attributes
2447 (
2448 [in] long offset,
2449 [out] long *startOffset,
2450 [out] long *endOffset,
2451 [out, retval] BSTR *textAttributes
2452 );
2453
2481 [propget] HRESULT caretOffset
2482 (
2483 [out, retval] long *offset
2484 );
2485
2486
2522 [propget] HRESULT characterExtents
2523 (
2524 [in] long offset,
2525 [in] enum IA2CoordinateType coordType,
2526 [out] long *x,
2527 [out] long *y,
2528 [out] long *width,
2529 [out, retval] long *height
2530 );
2531
2532
2537 [propget] HRESULT nSelections
2538 (
2539 [out, retval] long *nSelections
2540 );
2541
2566 [propget] HRESULT offsetAtPoint
2567 (
2568 [in] long x,
2569 [in] long y,
2570 [in] enum IA2CoordinateType coordType,
2571 [out, retval] long *offset
2572 );
2573
2605 [propget] HRESULT selection
2606 (
2607 [in] long selectionIndex,
2608 [out] long *startOffset,
2609 [out, retval] long *endOffset
2611
2641 [propget] HRESULT text
2642 (
2643 [in] long startOffset,
2644 [in] long endOffset,
2645 [out, retval] BSTR *text
2646 );
2647
2684 [propget] HRESULT textBeforeOffset
2685 (
2686 [in] long offset,
2687 [in] enum IA2TextBoundaryType boundaryType,
2688 [out] long *startOffset,
2689 [out] long *endOffset,
2690 [out, retval] BSTR *text
2691 );
2692
2729 [propget] HRESULT textAfterOffset
2730 (
2731 [in] long offset,
2732 [in] enum IA2TextBoundaryType boundaryType,
2733 [out] long *startOffset,
2734 [out] long *endOffset,
2735 [out, retval] BSTR *text
2736 );
2737
2775 [propget] HRESULT textAtOffset
2776 (
2777 [in] long offset,
2778 [in] enum IA2TextBoundaryType boundaryType,
2779 [out] long *startOffset,
2780 [out] long *endOffset,
2781 [out, retval] BSTR *text
2782 );
2783
2790 HRESULT removeSelection
2791 (
2792 [in] long selectionIndex
2794
2818 HRESULT setCaretOffset
2819 (
2820 [in] long offset
2821 );
2822
2836 HRESULT setSelection
2837 (
2838 [in] long selectionIndex,
2839 [in] long startOffset,
2840 [in] long endOffset
2841 );
2842
2850 [propget] HRESULT nCharacters
2851 (
2852 [out, retval] long *nCharacters
2853 );
2854
2868 HRESULT scrollSubstringTo
2869 (
2870 [in] long startIndex,
2871 [in] long endIndex,
2872 [in] enum IA2ScrollType scrollType
2873 );
2874
2895 (
2896 [in] long startIndex,
2897 [in] long endIndex,
2898 [in] enum IA2CoordinateType coordinateType,
2899 [in] long x,
2900 [in] long y
2901 );
2902
2926 [propget] HRESULT newText
2927 (
2928 [out, retval] IA2TextSegment *newText
2929 );
2930
2952 [propget] HRESULT oldText
2953 (
2954 [out, retval] IA2TextSegment *oldText
2955 );
2956
2957}
2958/*************************************************************************
2959 *
2960 * File Name (AccessibleText2.idl)
2961 *
2962 * IAccessible2 IDL Specification
2963 *
2964 * Copyright (c) 2007, 2013 Linux Foundation
2965 * Copyright (c) 2006 IBM Corporation
2966 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
2967 * All rights reserved.
2968 *
2969 *
2970 * Redistribution and use in source and binary forms, with or without
2971 * modification, are permitted provided that the following conditions
2972 * are met:
2973 *
2974 * 1. Redistributions of source code must retain the above copyright
2975 * notice, this list of conditions and the following disclaimer.
2976 *
2977 * 2. Redistributions in binary form must reproduce the above
2978 * copyright notice, this list of conditions and the following
2979 * disclaimer in the documentation and/or other materials
2980 * provided with the distribution.
2981 *
2982 * 3. Neither the name of the Linux Foundation nor the names of its
2983 * contributors may be used to endorse or promote products
2984 * derived from this software without specific prior written
2985 * permission.
2986 *
2987 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
2988 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
2989 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2990 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2991 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2992 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2993 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2994 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2995 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2996 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2997 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2998 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
2999 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3000 *
3001 * This BSD License conforms to the Open Source Initiative "Simplified
3002 * BSD License" as published at:
3003 * http://www.opensource.org/licenses/bsd-license.php
3004 *
3005 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
3006 * mark may be used in accordance with the Linux Foundation Trademark
3007 * Policy to indicate compliance with the IAccessible2 specification.
3008 *
3009 ************************************************************************/
3010
3011
3012
3013
3014
3015
3016
3022[object, uuid(9690A9CC-5C80-4DF5-852E-2D5AE4189A54)]
3024{
3025
3046 [propget] HRESULT attributeRange
3047 (
3048 [in] long offset,
3049 [in] BSTR filter,
3050 [out] long *startOffset,
3051 [out] long *endOffset,
3052 [out, retval] BSTR *attributeValues
3053 );
3054
3055}
3056/*************************************************************************
3057 *
3058 * File Name (AccessibleEditableText.idl)
3059 *
3060 * IAccessible2 IDL Specification
3061 *
3062 * Copyright (c) 2007, 2012 Linux Foundation
3063 * Copyright (c) 2006 IBM Corporation
3064 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
3065 * All rights reserved.
3066 *
3067 *
3068 * Redistribution and use in source and binary forms, with or without
3069 * modification, are permitted provided that the following conditions
3070 * are met:
3071 *
3072 * 1. Redistributions of source code must retain the above copyright
3073 * notice, this list of conditions and the following disclaimer.
3074 *
3075 * 2. Redistributions in binary form must reproduce the above
3076 * copyright notice, this list of conditions and the following
3077 * disclaimer in the documentation and/or other materials
3078 * provided with the distribution.
3079 *
3080 * 3. Neither the name of the Linux Foundation nor the names of its
3081 * contributors may be used to endorse or promote products
3082 * derived from this software without specific prior written
3083 * permission.
3084 *
3085 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
3086 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
3087 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
3088 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3089 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
3090 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3091 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3092 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3093 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3094 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3095 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
3096 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
3097 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3098 *
3099 * This BSD License conforms to the Open Source Initiative "Simplified
3100 * BSD License" as published at:
3101 * http://www.opensource.org/licenses/bsd-license.php
3102 *
3103 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
3104 * mark may be used in accordance with the Linux Foundation Trademark
3105 * Policy to indicate compliance with the IAccessible2 specification.
3106 *
3107 ************************************************************************/
3108
3109
3110
3111
3112
3113
3133[object, uuid(A59AA09A-7011-4b65-939D-32B1FB5547E3)]
3134interface IAccessibleEditableText : IUnknown
3135{
3136
3156 HRESULT copyText
3157 (
3158 [in] long startOffset,
3159 [in] long endOffset
3160 );
3161
3181 (
3182 [in] long startOffset,
3183 [in] long endOffset
3184 );
3185
3204 (
3205 [in] long offset,
3206 [in] BSTR *text
3207 );
3208
3228 HRESULT cutText
3229 (
3230 [in] long startOffset,
3231 [in] long endOffset
3232 );
3233
3255 (
3256 [in] long offset
3257 );
3258
3283 (
3284 [in] long startOffset,
3285 [in] long endOffset,
3286 [in] BSTR *text
3287 );
3288
3311 (
3312 [in] long startOffset,
3313 [in] long endOffset,
3314 [in] BSTR *attributes
3315 );
3316}
3317
3318/*************************************************************************
3319 *
3320 * File Name (AccessibleHyperlink.idl)
3321 *
3322 * IAccessible2 IDL Specification
3323 *
3324 * Copyright (c) 2007, 2010 Linux Foundation
3325 * Copyright (c) 2006 IBM Corporation
3326 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
3327 * All rights reserved.
3328 *
3329 *
3330 * Redistribution and use in source and binary forms, with or without
3331 * modification, are permitted provided that the following conditions
3332 * are met:
3333 *
3334 * 1. Redistributions of source code must retain the above copyright
3335 * notice, this list of conditions and the following disclaimer.
3336 *
3337 * 2. Redistributions in binary form must reproduce the above
3338 * copyright notice, this list of conditions and the following
3339 * disclaimer in the documentation and/or other materials
3340 * provided with the distribution.
3341 *
3342 * 3. Neither the name of the Linux Foundation nor the names of its
3343 * contributors may be used to endorse or promote products
3344 * derived from this software without specific prior written
3345 * permission.
3346 *
3347 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
3348 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
3349 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
3350 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3351 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
3352 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3353 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3354 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3355 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3356 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3357 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
3358 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
3359 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3360 *
3361 * This BSD License conforms to the Open Source Initiative "Simplified
3362 * BSD License" as published at:
3363 * http://www.opensource.org/licenses/bsd-license.php
3364 *
3365 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
3366 * mark may be used in accordance with the Linux Foundation Trademark
3367 * Policy to indicate compliance with the IAccessible2 specification.
3368 *
3369 ************************************************************************/
3370
3371
3372
3373
3374
3375
3414[object, uuid(01C20F2B-3DD2-400f-949F-AD00BDAB1D41)]
3416{
3417
3433 [propget] HRESULT anchor
3434 (
3435 [in] long index,
3436 [out, retval] VARIANT *anchor
3437 );
3438
3454 [propget] HRESULT anchorTarget
3455 (
3456 [in] long index,
3457 [out, retval] VARIANT *anchorTarget
3458 );
3467 [propget] HRESULT startIndex
3469 [out, retval] long *index
3470 );
3471
3479 [propget] HRESULT endIndex
3480 (
3481 [out, retval] long *index
3482 );
3483
3500 [propget] HRESULT valid
3501 (
3502 [out, retval] boolean *valid
3503 );
3504}
3505/*************************************************************************
3506 *
3507 * File Name (AccessibleHypertext.idl)
3508 *
3509 * IAccessible2 IDL Specification
3510 *
3511 * Copyright (c) 2007, 2010 Linux Foundation
3512 * Copyright (c) 2006 IBM Corporation
3513 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
3514 * All rights reserved.
3515 *
3516 *
3517 * Redistribution and use in source and binary forms, with or without
3518 * modification, are permitted provided that the following conditions
3519 * are met:
3520 *
3521 * 1. Redistributions of source code must retain the above copyright
3522 * notice, this list of conditions and the following disclaimer.
3523 *
3524 * 2. Redistributions in binary form must reproduce the above
3525 * copyright notice, this list of conditions and the following
3526 * disclaimer in the documentation and/or other materials
3527 * provided with the distribution.
3528 *
3529 * 3. Neither the name of the Linux Foundation nor the names of its
3530 * contributors may be used to endorse or promote products
3531 * derived from this software without specific prior written
3532 * permission.
3533 *
3534 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
3535 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
3536 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
3537 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3538 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
3539 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3540 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3541 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3542 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3543 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3544 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
3545 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
3546 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3547 *
3548 * This BSD License conforms to the Open Source Initiative "Simplified
3549 * BSD License" as published at:
3550 * http://www.opensource.org/licenses/bsd-license.php
3551 *
3552 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
3553 * mark may be used in accordance with the Linux Foundation Trademark
3554 * Policy to indicate compliance with the IAccessible2 specification.
3555 *
3556 ************************************************************************/
3557
3558
3559
3560
3561
3562
3563
3571[object, uuid(6B4F8BBF-F1F2-418a-B35E-A195BC4103B9)]
3573{
3574
3582 [propget] HRESULT nHyperlinks
3583 (
3584 [out, retval] long *hyperlinkCount
3585 );
3586
3600 [propget] HRESULT hyperlink
3601 (
3602 [in] long index,
3603 [out, retval] IAccessibleHyperlink **hyperlink
3604 );
3605
3621 [propget] HRESULT hyperlinkIndex
3622 (
3623 [in] long charIndex,
3624 [out, retval] long *hyperlinkIndex
3625 );
3626
3627}
3628/*************************************************************************
3629 *
3630 * File Name (AccessibleHypertext2.idl)
3631 *
3632 * IAccessible2 IDL Specification
3633 *
3634 * Copyright (c) 2007, 2013 Linux Foundation
3635 * Copyright (c) 2006 IBM Corporation
3636 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
3637 * All rights reserved.
3638 *
3639 *
3640 * Redistribution and use in source and binary forms, with or without
3641 * modification, are permitted provided that the following conditions
3642 * are met:
3643 *
3644 * 1. Redistributions of source code must retain the above copyright
3645 * notice, this list of conditions and the following disclaimer.
3646 *
3647 * 2. Redistributions in binary form must reproduce the above
3648 * copyright notice, this list of conditions and the following
3649 * disclaimer in the documentation and/or other materials
3650 * provided with the distribution.
3651 *
3652 * 3. Neither the name of the Linux Foundation nor the names of its
3653 * contributors may be used to endorse or promote products
3654 * derived from this software without specific prior written
3655 * permission.
3656 *
3657 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
3658 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
3659 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
3660 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3661 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
3662 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3663 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3664 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3665 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3666 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3667 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
3668 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
3669 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3670 *
3671 * This BSD License conforms to the Open Source Initiative "Simplified
3672 * BSD License" as published at:
3673 * http://www.opensource.org/licenses/bsd-license.php
3674 *
3675 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
3676 * mark may be used in accordance with the Linux Foundation Trademark
3677 * Policy to indicate compliance with the IAccessible2 specification.
3678 *
3679 ************************************************************************/
3680
3681
3682
3683
3684
3685
3686
3692[object, uuid(CF64D89F-8287-4B44-8501-A827453A6077)]
3694{
3695
3708 [propget] HRESULT hyperlinks
3709 (
3710 [out, size_is(,*nHyperlinks)] IAccessibleHyperlink ***hyperlinks,
3711 [out, retval] long *nHyperlinks
3712 );
3713
3714}
3715/*************************************************************************
3716 *
3717 * File Name (AccessibleTable.idl)
3718 *
3719 * IAccessible2 IDL Specification
3720 *
3721 * Copyright (c) 2007, 2013 Linux Foundation
3722 * Copyright (c) 2006 IBM Corporation
3723 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
3724 * All rights reserved.
3725 *
3726 *
3727 * Redistribution and use in source and binary forms, with or without
3728 * modification, are permitted provided that the following conditions
3729 * are met:
3730 *
3731 * 1. Redistributions of source code must retain the above copyright
3732 * notice, this list of conditions and the following disclaimer.
3733 *
3734 * 2. Redistributions in binary form must reproduce the above
3735 * copyright notice, this list of conditions and the following
3736 * disclaimer in the documentation and/or other materials
3737 * provided with the distribution.
3738 *
3739 * 3. Neither the name of the Linux Foundation nor the names of its
3740 * contributors may be used to endorse or promote products
3741 * derived from this software without specific prior written
3742 * permission.
3743 *
3744 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
3745 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
3746 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
3747 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3748 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
3749 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3750 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3751 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
3752 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3753 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3754 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
3755 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
3756 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3757 *
3758 * This BSD License conforms to the Open Source Initiative "Simplified
3759 * BSD License" as published at:
3760 * http://www.opensource.org/licenses/bsd-license.php
3761 *
3762 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
3763 * mark may be used in accordance with the Linux Foundation Trademark
3764 * Policy to indicate compliance with the IAccessible2 specification.
3765 *
3766 ************************************************************************/
3767
3768
3769
3770
3771
3772
3773
3799[object, uuid(35AD8070-C20C-4fb4-B094-F4F7275DD469)]
3800interface IAccessibleTable : IUnknown
3801{
3802
3816 [propget] HRESULT accessibleAt
3817 (
3818 [in] long row,
3819 [in] long column,
3820 [out, retval] IUnknown **accessible
3821 );
3822
3831 [propget] HRESULT caption
3832 (
3833 [out, retval] IUnknown **accessible
3834 );
3835
3850 [propget] HRESULT childIndex
3851 (
3852 [in] long rowIndex,
3853 [in] long columnIndex,
3854 [out, retval] long *cellIndex
3855 );
3856
3867 [propget] HRESULT columnDescription
3868 (
3869 [in] long column,
3870 [out, retval] BSTR *description
3871 );
3872
3886 [propget] HRESULT columnExtentAt
3887 (
3888 [in] long row,
3889 [in] long column,
3890 [out, retval] long *nColumnsSpanned
3891 );
3892
3903 [propget] HRESULT columnHeader
3904 (
3905 [out] IAccessibleTable **accessibleTable,
3906 [out, retval] long *startingRowIndex
3907 );
3908
3922 [propget] HRESULT columnIndex
3923 (
3924 [in] long cellIndex,
3925 [out, retval] long *columnIndex
3926 );
3927
3933 [propget] HRESULT nColumns
3934 (
3935 [out, retval] long *columnCount
3936 );
3937
3943 [propget] HRESULT nRows
3944 (
3945 [out, retval] long *rowCount
3946 );
3947
3953 [propget] HRESULT nSelectedChildren
3954 (
3955 [out, retval] long *cellCount
3956 );
3957
3963 [propget] HRESULT nSelectedColumns
3964 (
3965 [out, retval] long *columnCount
3966 );
3967
3973 [propget] HRESULT nSelectedRows
3974 (
3975 [out, retval] long *rowCount
3976 );
3977
3988 [propget] HRESULT rowDescription
3989 (
3990 [in] long row,
3991 [out, retval] BSTR *description
3992 );
3993
4007 [propget] HRESULT rowExtentAt
4008 (
4009 [in] long row,
4010 [in] long column,
4011 [out, retval] long *nRowsSpanned
4013
4024 [propget] HRESULT rowHeader
4025 (
4026 [out] IAccessibleTable **accessibleTable,
4027 [out, retval] long *startingColumnIndex
4028 );
4029
4042 [propget] HRESULT rowIndex
4043 (
4044 [in] long cellIndex,
4045 [out, retval] long *rowIndex
4046 );
4047
4060 [propget] HRESULT selectedChildren
4061 (
4062 [in] long maxChildren,
4063 [out, size_is(,maxChildren), length_is(,*nChildren)] long **children,
4064 [out, retval] long *nChildren
4065 );
4066
4079 [propget] HRESULT selectedColumns
4080 (
4081 [in] long maxColumns,
4082 [out, size_is(,maxColumns), length_is(,*nColumns)] long **columns,
4083 [out, retval] long *nColumns
4084 );
4085
4098 [propget] HRESULT selectedRows
4099 (
4100 [in] long maxRows,
4101 [out, size_is(,maxRows), length_is(,*nRows)] long **rows,
4102 [out, retval] long *nRows
4103 );
4104
4114 [propget] HRESULT summary
4115 (
4116 [out, retval] IUnknown **accessible
4117 );
4118
4128 [propget] HRESULT isColumnSelected
4129 (
4130 [in] long column,
4131 [out, retval] boolean *isSelected
4132 );
4133
4143 [propget] HRESULT isRowSelected
4144 (
4145 [in] long row,
4146 [out, retval] boolean *isSelected
4147 );
4148
4159 [propget] HRESULT isSelected
4160 (
4161 [in] long row,
4162 [in] long column,
4163 [out, retval] boolean *isSelected
4164 );
4165
4172 HRESULT selectRow
4173 (
4174 [in] long row
4175 );
4176
4183 HRESULT selectColumn
4184 (
4185 [in] long column
4186 );
4187
4194 HRESULT unselectRow
4195 (
4196 [in] long row
4197 );
4198
4205 HRESULT unselectColumn
4206 (
4207 [in] long column
4208 );
4209
4229 [propget] HRESULT rowColumnExtentsAtIndex
4230 (
4231 [in] long index,
4232 [out] long *row,
4233 [out] long *column,
4234 [out] long *rowExtents,
4235 [out] long *columnExtents,
4236 [out, retval] boolean *isSelected
4237 );
4238
4260 [propget] HRESULT modelChange
4261 (
4262 [out, retval] IA2TableModelChange *modelChange
4263 );
4264
4265}
4266/*************************************************************************
4267 *
4268 * File Name (AccessibleTable2.idl)
4269 *
4270 * IAccessible2 IDL Specification
4271 *
4272 * Copyright (c) 2007, 2012 Linux Foundation
4273 * Copyright (c) 2006 IBM Corporation
4274 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
4275 * All rights reserved.
4276 *
4277 *
4278 * Redistribution and use in source and binary forms, with or without
4279 * modification, are permitted provided that the following conditions
4280 * are met:
4281 *
4282 * 1. Redistributions of source code must retain the above copyright
4283 * notice, this list of conditions and the following disclaimer.
4284 *
4285 * 2. Redistributions in binary form must reproduce the above
4286 * copyright notice, this list of conditions and the following
4287 * disclaimer in the documentation and/or other materials
4288 * provided with the distribution.
4289 *
4290 * 3. Neither the name of the Linux Foundation nor the names of its
4291 * contributors may be used to endorse or promote products
4292 * derived from this software without specific prior written
4293 * permission.
4294 *
4295 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
4296 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
4297 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4298 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4299 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4300 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4301 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4302 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4303 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4304 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4305 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
4306 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4307 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4308 *
4309 * This BSD License conforms to the Open Source Initiative "Simplified
4310 * BSD License" as published at:
4311 * http://www.opensource.org/licenses/bsd-license.php
4312 *
4313 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
4314 * mark may be used in accordance with the Linux Foundation Trademark
4315 * Policy to indicate compliance with the IAccessible2 specification.
4316 *
4317 ************************************************************************/
4318
4319
4320
4321
4322
4323
4324
4332[object, uuid(6167f295-06f0-4cdd-a1fa-02e25153d869)]
4333interface IAccessibleTable2 : IUnknown
4334{
4335
4349 [propget] HRESULT cellAt
4350 (
4351 [in] long row,
4352 [in] long column,
4353 [out, retval] IUnknown **cell
4354 );
4355
4365 [propget] HRESULT caption
4366 (
4367 [out, retval] IUnknown **accessible
4368 );
4369
4380 [propget] HRESULT columnDescription
4381 (
4382 [in] long column,
4383 [out, retval] BSTR *description
4384 );
4385
4386
4392 [propget] HRESULT nColumns
4393 (
4394 [out, retval] long *columnCount
4395 );
4396
4402 [propget] HRESULT nRows
4403 (
4404 [out, retval] long *rowCount
4405 );
4406
4412 [propget] HRESULT nSelectedCells
4413 (
4414 [out, retval] long *cellCount
4415 );
4416
4422 [propget] HRESULT nSelectedColumns
4423 (
4424 [out, retval] long *columnCount
4425 );
4426
4432 [propget] HRESULT nSelectedRows
4433 (
4434 [out, retval] long *rowCount
4435 );
4436
4447 [propget] HRESULT rowDescription
4448 (
4449 [in] long row,
4450 [out, retval] BSTR *description
4451 );
4452
4463 [propget] HRESULT selectedCells
4464 (
4465 [out, size_is(,*nSelectedCells)] IUnknown ***cells,
4466 [out, retval] long *nSelectedCells
4467 );
4479 [propget] HRESULT selectedColumns
4480 (
4481 [out, size_is(,*nColumns)] long **selectedColumns,
4482 [out, retval] long *nColumns
4483 );
4484
4495 [propget] HRESULT selectedRows
4496 (
4497 [out, size_is(,*nRows)] long **selectedRows,
4498 [out, retval] long *nRows
4499 );
4500
4511 [propget] HRESULT summary
4512 (
4513 [out, retval] IUnknown **accessible
4514 );
4515
4525 [propget] HRESULT isColumnSelected
4526 (
4527 [in] long column,
4528 [out, retval] boolean *isSelected
4529 );
4530
4540 [propget] HRESULT isRowSelected
4541 (
4542 [in] long row,
4543 [out, retval] boolean *isSelected
4544 );
4545
4559 HRESULT selectRow
4560 (
4561 [in] long row
4562 );
4563
4577 HRESULT selectColumn
4578 (
4579 [in] long column
4580 );
4581
4594 HRESULT unselectRow
4595 (
4596 [in] long row
4597 );
4598
4611 HRESULT unselectColumn
4612 (
4613 [in] long column
4614 );
4615
4637 [propget] HRESULT modelChange
4638 (
4639 [out, retval] IA2TableModelChange *modelChange
4640 );
4641
4642}
4643/*************************************************************************
4644 *
4645 * File Name (AccessibleTableCell.idl)
4646 *
4647 * IAccessible2 IDL Specification
4648 *
4649 * Copyright (c) 2007, 2013 Linux Foundation
4650 * Copyright (c) 2006 IBM Corporation
4651 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
4652 * All rights reserved.
4653 *
4654 *
4655 * Redistribution and use in source and binary forms, with or without
4656 * modification, are permitted provided that the following conditions
4657 * are met:
4658 *
4659 * 1. Redistributions of source code must retain the above copyright
4660 * notice, this list of conditions and the following disclaimer.
4661 *
4662 * 2. Redistributions in binary form must reproduce the above
4663 * copyright notice, this list of conditions and the following
4664 * disclaimer in the documentation and/or other materials
4665 * provided with the distribution.
4666 *
4667 * 3. Neither the name of the Linux Foundation nor the names of its
4668 * contributors may be used to endorse or promote products
4669 * derived from this software without specific prior written
4670 * permission.
4671 *
4672 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
4673 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
4674 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4675 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4676 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4677 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4678 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4679 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4680 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4681 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4682 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
4683 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4684 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4685 *
4686 * This BSD License conforms to the Open Source Initiative "Simplified
4687 * BSD License" as published at:
4688 * http://www.opensource.org/licenses/bsd-license.php
4689 *
4690 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
4691 * mark may be used in accordance with the Linux Foundation Trademark
4692 * Policy to indicate compliance with the IAccessible2 specification.
4693 *
4694 ************************************************************************/
4695
4696
4697
4698
4699
4700
4706[object, uuid(594116B1-C99F-4847-AD06-0A7A86ECE645)]
4707interface IAccessibleTableCell : IUnknown
4708{
4709
4717 [propget] HRESULT columnExtent
4718 (
4719 [out, retval] long *nColumnsSpanned
4720 );
4721
4732 [propget] HRESULT columnHeaderCells
4733 (
4734 [out, size_is(,*nColumnHeaderCells)] IUnknown ***cellAccessibles,
4735 [out, retval] long *nColumnHeaderCells
4736 );
4737
4745 [propget] HRESULT columnIndex
4747 [out, retval] long *columnIndex
4748 );
4749
4756 [propget] HRESULT rowExtent
4757 (
4758 [out, retval] long *nRowsSpanned
4759 );
4760
4771 [propget] HRESULT rowHeaderCells
4772 (
4773 [out, size_is(,*nRowHeaderCells)] IUnknown ***cellAccessibles,
4774 [out, retval] long *nRowHeaderCells
4776
4784 [propget] HRESULT rowIndex
4785 (
4786 [out, retval] long *rowIndex
4787 );
4788
4795 [propget] HRESULT isSelected
4796 (
4797 [out, retval] boolean *isSelected
4798 );
4799
4816 [propget] HRESULT rowColumnExtents
4817 (
4818 [out] long *row,
4819 [out] long *column,
4820 [out] long *rowExtents,
4821 [out] long *columnExtents,
4822 [out, retval] boolean *isSelected
4823 );
4824
4831 [propget] HRESULT table
4832 (
4833 [out, retval] IUnknown **table
4834 );
4835
4836}
4837/*************************************************************************
4838 *
4839 * File Name (AccessibleImage.idl)
4840 *
4841 * IAccessible2 IDL Specification
4842 *
4843 * Copyright (c) 2007, 2010 Linux Foundation
4844 * Copyright (c) 2006 IBM Corporation
4845 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
4846 * All rights reserved.
4847 *
4848 *
4849 * Redistribution and use in source and binary forms, with or without
4850 * modification, are permitted provided that the following conditions
4851 * are met:
4852 *
4853 * 1. Redistributions of source code must retain the above copyright
4854 * notice, this list of conditions and the following disclaimer.
4855 *
4856 * 2. Redistributions in binary form must reproduce the above
4857 * copyright notice, this list of conditions and the following
4858 * disclaimer in the documentation and/or other materials
4859 * provided with the distribution.
4860 *
4861 * 3. Neither the name of the Linux Foundation nor the names of its
4862 * contributors may be used to endorse or promote products
4863 * derived from this software without specific prior written
4864 * permission.
4865 *
4866 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
4867 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
4868 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4869 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4870 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4871 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4872 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4873 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4874 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4875 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4876 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
4877 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4878 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4879 *
4880 * This BSD License conforms to the Open Source Initiative "Simplified
4881 * BSD License" as published at:
4882 * http://www.opensource.org/licenses/bsd-license.php
4883 *
4884 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
4885 * mark may be used in accordance with the Linux Foundation Trademark
4886 * Policy to indicate compliance with the IAccessible2 specification.
4887 *
4888 ************************************************************************/
4889
4890
4891
4892
4893
4894
4909[object, uuid(FE5ABB3D-615E-4f7b-909F-5F0EDA9E8DDE)]
4910interface IAccessibleImage : IUnknown
4911{
4917 [propget] HRESULT description
4918 (
4919 [out, retval] BSTR *description
4920 );
4921
4929 [propget] HRESULT imagePosition
4930 (
4931 [in] enum IA2CoordinateType coordinateType,
4932 [out] long *x,
4933 [out, retval] long *y
4935
4942 [propget] HRESULT imageSize
4943 (
4944 [out] long *height,
4945 [out, retval] long *width
4946 );
4947}
4948/*************************************************************************
4949 *
4950 * File Name (AccessibleEventID.idl)
4951 *
4952 * IAccessible2 IDL Specification
4953 *
4954 * Copyright (c) 2007, 2010 Linux Foundation
4955 * Copyright (c) 2006 IBM Corporation
4956 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
4957 * All rights reserved.
4958 *
4959 *
4960 * Redistribution and use in source and binary forms, with or without
4961 * modification, are permitted provided that the following conditions
4962 * are met:
4963 *
4964 * 1. Redistributions of source code must retain the above copyright
4965 * notice, this list of conditions and the following disclaimer.
4966 *
4967 * 2. Redistributions in binary form must reproduce the above
4968 * copyright notice, this list of conditions and the following
4969 * disclaimer in the documentation and/or other materials
4970 * provided with the distribution.
4971 *
4972 * 3. Neither the name of the Linux Foundation nor the names of its
4973 * contributors may be used to endorse or promote products
4974 * derived from this software without specific prior written
4975 * permission.
4976 *
4977 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
4978 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
4979 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4980 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4981 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4982 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4983 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4984 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4985 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4986 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4987 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
4988 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
4989 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4990 *
4991 * This BSD License conforms to the Open Source Initiative "Simplified
4992 * BSD License" as published at:
4993 * http://www.opensource.org/licenses/bsd-license.php
4994 *
4995 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
4996 * mark may be used in accordance with the Linux Foundation Trademark
4997 * Policy to indicate compliance with the IAccessible2 specification.
4998 *
4999 ************************************************************************/
5000
5007
5012
5020
5033
5037
5041
5045
5049
5053
5057
5061
5066
5070
5074
5078
5084
5088
5093
5098
5102
5106
5110
5114
5118
5122
5126
5130
5135
5139
5143
5147
5151
5155
5162
5170
5176
5178/*************************************************************************
5179 *
5180 * File Name (AccessibleApplication.idl)
5181 *
5182 * IAccessible2 IDL Specification
5183 *
5184 * Copyright (c) 2007, 2010 Linux Foundation
5185 * Copyright (c) 2006 IBM Corporation
5186 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
5187 * All rights reserved.
5188 *
5189 *
5190 * Redistribution and use in source and binary forms, with or without
5191 * modification, are permitted provided that the following conditions
5192 * are met:
5193 *
5194 * 1. Redistributions of source code must retain the above copyright
5195 * notice, this list of conditions and the following disclaimer.
5196 *
5197 * 2. Redistributions in binary form must reproduce the above
5198 * copyright notice, this list of conditions and the following
5199 * disclaimer in the documentation and/or other materials
5200 * provided with the distribution.
5201 *
5202 * 3. Neither the name of the Linux Foundation nor the names of its
5203 * contributors may be used to endorse or promote products
5204 * derived from this software without specific prior written
5205 * permission.
5206 *
5207 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
5208 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
5209 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
5210 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
5211 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
5212 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5213 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
5214 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
5215 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5216 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
5217 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
5218 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
5219 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5220 *
5221 * This BSD License conforms to the Open Source Initiative "Simplified
5222 * BSD License" as published at:
5223 * http://www.opensource.org/licenses/bsd-license.php
5224 *
5225 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
5226 * mark may be used in accordance with the Linux Foundation Trademark
5227 * Policy to indicate compliance with the IAccessible2 specification.
5228 *
5229 ************************************************************************/
5230
5231
5232
5233
5234
5235
5247[object, uuid(D49DED83-5B25-43F4-9B95-93B44595979E)]
5248interface IAccessibleApplication : IUnknown
5249{
5250
5256 [propget] HRESULT appName
5257 (
5258 [out, retval] BSTR *name
5259 );
5260
5269 [propget] HRESULT appVersion
5270 (
5271 [out, retval] BSTR *version
5272 );
5279 [propget] HRESULT toolkitName
5280 (
5281 [out, retval] BSTR *name
5282 );
5292 [propget] HRESULT toolkitVersion
5293 (
5294 [out, retval] BSTR *version
5295 );
5296
5297}
5298
5299/*************************************************************************
5300 *
5301 * File Name (AccessibleDocument.idl)
5302 *
5303 * IAccessible2 IDL Specification
5304 *
5305 * Copyright (c) 2013 Linux Foundation
5306 * All rights reserved.
5307 *
5308 *
5309 * Redistribution and use in source and binary forms, with or without
5310 * modification, are permitted provided that the following conditions
5311 * are met:
5312 *
5313 * 1. Redistributions of source code must retain the above copyright
5314 * notice, this list of conditions and the following disclaimer.
5315 *
5316 * 2. Redistributions in binary form must reproduce the above
5317 * copyright notice, this list of conditions and the following
5318 * disclaimer in the documentation and/or other materials
5319 * provided with the distribution.
5320 *
5321 * 3. Neither the name of the Linux Foundation nor the names of its
5322 * contributors may be used to endorse or promote products
5323 * derived from this software without specific prior written
5324 * permission.
5325 *
5326 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
5327 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
5328 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
5329 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
5330 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
5331 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5332 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
5333 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
5334 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5335 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
5336 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
5337 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
5338 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5339 *
5340 * This BSD License conforms to the Open Source Initiative "Simplified
5341 * BSD License" as published at:
5342 * http://www.opensource.org/licenses/bsd-license.php
5343 *
5344 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
5345 * mark may be used in accordance with the Linux Foundation Trademark
5346 * Policy to indicate compliance with the IAccessible2 specification.
5347 *
5348 ************************************************************************/
5349
5350
5351
5352
5353
5358[object, uuid(C48C7FCF-4AB5-4056-AFA6-902D6E1D1149)]
5359interface IAccessibleDocument : IUnknown
5360{
5371 [propget] HRESULT anchorTarget
5372 (
5373 [out, retval] IUnknown **accessible
5374 );
5375
5376}
5377/*************************************************************************
5378 *
5379 * File Name (IA2TypeLibrary.idl)
5380 *
5381 * IAccessible2 IDL Specification
5382 *
5383 * Copyright (c) 2007, 2012 Linux Foundation
5384 * Copyright (c) 2006 IBM Corporation
5385 * Copyright (c) 2000, 2006 Sun Microsystems, Inc.
5386 * All rights reserved.
5387 *
5388 *
5389 * Redistribution and use in source and binary forms, with or without
5390 * modification, are permitted provided that the following conditions
5391 * are met:
5392 *
5393 * 1. Redistributions of source code must retain the above copyright
5394 * notice, this list of conditions and the following disclaimer.
5395 *
5396 * 2. Redistributions in binary form must reproduce the above
5397 * copyright notice, this list of conditions and the following
5398 * disclaimer in the documentation and/or other materials
5399 * provided with the distribution.
5400 *
5401 * 3. Neither the name of the Linux Foundation nor the names of its
5402 * contributors may be used to endorse or promote products
5403 * derived from this software without specific prior written
5404 * permission.
5405 *
5406 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
5407 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
5408 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
5409 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
5410 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
5411 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5412 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
5413 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
5414 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5415 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
5416 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
5417 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
5418 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5419 *
5420 * This BSD License conforms to the Open Source Initiative "Simplified
5421 * BSD License" as published at:
5422 * http://www.opensource.org/licenses/bsd-license.php
5423 *
5424 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
5425 * mark may be used in accordance with the Linux Foundation Trademark
5426 * Policy to indicate compliance with the IAccessible2 specification.
5427 *
5428 ************************************************************************/
5429
5430// This is not a standalone file. It is to be appended to the end of the
5431// merged IDL file.
5432
5433cpp_quote("")
5434cpp_quote("// Type Library Definitions")
5435cpp_quote("")
5436
5437[
5438 uuid(CE3F726E-D1D3-44FE-B995-FF1DB3B48B2B),
5439 helpstring("IAccessible2 Type Library"),
5440 version(1.3),
5441 hidden
5442]
5443
5445{
5446 importlib ("stdole2.tlb");
5447 importlib ("oleacc.dll");
5448 interface IAccessible2;
5449 interface IAccessible2_2;
5450 interface IAccessibleAction;
5451 interface IAccessibleApplication;
5452 interface IAccessibleComponent;
5453 interface IAccessibleDocument;
5454 interface IAccessibleEditableText;
5455 interface IAccessibleHyperlink;
5456 interface IAccessibleHypertext;
5457 interface IAccessibleHypertext2;
5458 interface IAccessibleImage;
5459 interface IAccessibleRelation;
5460 interface IAccessibleTable;
5461 interface IAccessibleTable2;
5462 interface IAccessibleTableCell;
5463 interface IAccessibleText;
5464 interface IAccessibleText2;
5465 interface IAccessibleValue;
5466 enum IA2CoordinateType;
5467 enum IA2EventID;
5468 enum IA2Role;
5469 enum IA2ScrollType;
5470 enum IA2States;
5474}
5475
5476/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
AccessibleStates
const WCHAR *const IA2_RELATION_CONTROLLED_BY
Some attribute of this object is affected by a target object.
const WCHAR *const IA2_RELATION_POPUP_FOR
This object is a transient component related to the target object.
const WCHAR *const IA2_RELATION_NODE_CHILD_OF
This object is a logical child of a target object.
const WCHAR *const IA2_RELATION_CONTAINING_APPLICATION
The target object is the containing application object.
const WCHAR *const IA2_RELATION_DESCRIPTION_FOR
This object is describes the target object.
const WCHAR *const IA2_RELATION_EMBEDDED_BY
This object is embedded by a target object.
const WCHAR *const IA2_RELATION_DESCRIBED_BY
This object is described by the target object.
const WCHAR *const IA2_RELATION_SUBWINDOW_OF
This object is a sub window of a target object.
const WCHAR *const IA2_RELATION_CONTAINING_TAB_PANE
The target object is the containing tab pane object.
const WCHAR *const IA2_RELATION_CONTAINING_DOCUMENT
The target object is the containing document object.
const WCHAR *const IA2_RELATION_LABELLED_BY
This object is labelled by a target object.
const WCHAR *const IA2_RELATION_EMBEDS
This object embeds a target object.
const WCHAR *const IA2_RELATION_PARENT_WINDOW_OF
This object is a parent window of the target object.
const WCHAR *const IA2_RELATION_FLOWS_TO
Content flows from this object to a target object.
const WCHAR *const IA2_RELATION_LABELED_BY
This object is labelled by a target object.
const WCHAR *const IA2_RELATION_CONTAINING_WINDOW
The target object is the containing window object.
const WCHAR *const IA2_RELATION_NEXT_TABBABLE
The target object is the next object in the tab order.
const WCHAR *const IA2_RELATION_PREVIOUS_TABBABLE
The target object is the previous object in the tab order.
const WCHAR *const IA2_RELATION_MEMBER_OF
This object is a member of a group of one or more objects.
const WCHAR *const IA2_RELATION_NODE_PARENT_OF
This object is a logical parent of a target object.
const WCHAR *const IA2_RELATION_CONTROLLER_FOR
This object is interactive and controls some attribute of a target object.
const WCHAR *const IA2_RELATION_LABEL_FOR
This object is label for a target object.
const WCHAR *const IA2_RELATION_FLOWS_FROM
Content flows to this object from a target object.
anchor
struct IA2Locale IA2Locale
A structure defining the locale of an accessible object.
IA2TableModelChangeType
These constants specify the kind of change made to a table.
@ IA2_TABLE_MODEL_CHANGE_DELETE
@ IA2_TABLE_MODEL_CHANGE_INSERT
@ IA2_TABLE_MODEL_CHANGE_UPDATE
long IA2Color
A value specifying a color in ARGB format, where each 8 bit color component specifies alpha,...
IA2ScrollType
These constants control the scrolling of an object or substring into a window.
@ IA2_SCROLL_TYPE_LEFT_EDGE
Scroll the left edge of the object or substring such that the left edge (and as much as possible of t...
@ IA2_SCROLL_TYPE_BOTTOM_EDGE
Scroll the bottom edge of the object or substring such that the bottom edge (and as much as possible ...
@ IA2_SCROLL_TYPE_ANYWHERE
Scroll the object or substring such that as much as possible of the object or substring is within the...
@ IA2_SCROLL_TYPE_TOP_EDGE
Scroll the top edge of the object or substring such that the top edge (and as much as possible of the...
@ IA2_SCROLL_TYPE_RIGHT_EDGE
Scroll the right edge of the object or substring such that the right edge (and as much as possible of...
@ IA2_SCROLL_TYPE_BOTTOM_RIGHT
Scroll the bottom right corner of the object or substring such that the bottom right corner (and as m...
@ IA2_SCROLL_TYPE_TOP_LEFT
Scroll the top left corner of the object or substring such that the top left corner (and as much as p...
IA2Actions
This enum defines values which are predefined actions for use when implementing support for media.
@ IA2_ACTION_COMPLETE
Used by the client to inform the server that it has consumed the most recent content provided by this...
@ IA2_ACTION_OPEN
Used to inform the server that the client will signal via IA2_ACTION_COMPLETE when it has consumed th...
@ IA2_ACTION_CLOSE
Used to inform the server that the client no longer requires synchronization.
IA2CoordinateType
These constants define which coordinate system a point is located in.
@ IA2_COORDTYPE_SCREEN_RELATIVE
The coordinates are relative to the screen.
@ IA2_COORDTYPE_PARENT_RELATIVE
The coordinates are relative to the upper left corner of the bounding box of the immediate parent.
struct IA2TableModelChange IA2TableModelChange
A structure defining the type of and extents of changes made to a table.
IA2States
IAccessible2 specific state bit constants
@ IA2_STATE_STALE
Indicates that the accessible object is stale.
@ IA2_STATE_CHECKABLE
Indicates this object is checkable.
@ IA2_STATE_EDITABLE
An object with this state has a caret and implements the IAccessibleText interface.
@ IA2_STATE_DEFUNCT
Indicates the user interface object corresponding to this object no longer exists.
@ IA2_STATE_PINNED
Indicates this object is pinned.
@ IA2_STATE_ICONIFIED
Indicates this object is minimized and is represented only by an icon.
@ IA2_STATE_MULTI_LINE
Indicates this text object can contain multiple lines of text.
@ IA2_STATE_OPAQUE
Indicates this object paints every pixel within its rectangular region.
@ IA2_STATE_MODAL
Indicates that an object is modal.
@ IA2_STATE_INVALID_ENTRY
Indicates an input validation failure.
@ IA2_STATE_HORIZONTAL
Indicates the orientation of this object is horizontal.
@ IA2_STATE_REQUIRED
Indicates that user interaction is required.
@ IA2_STATE_ARMED
Indicates that the object is armed.
@ IA2_STATE_SUPPORTS_AUTOCOMPLETION
Indicates that the object implements autocompletion.
@ IA2_STATE_VERTICAL
Indicates the orientation of this object is vertical.
@ IA2_STATE_ACTIVE
Indicates a window is currently the active window, or is an active subelement within a container or t...
@ IA2_STATE_MANAGES_DESCENDANTS
Indicates that this object manages its children.
@ IA2_STATE_SELECTABLE_TEXT
Indicates an object which supports text selection.
@ IA2_STATE_SINGLE_LINE
Indicates that this text object can contain only a single line of text.
@ IA2_STATE_TRANSIENT
Indicates this object is transient.
struct IA2TextSegment IA2TextSegment
A structure containing a substring and the start and end offsets in the enclosing string.
IA2TextBoundaryType
This enum defines values which specify a text boundary type.
@ IA2_TEXT_BOUNDARY_LINE
Range is from start of one line to the start of another line.
@ IA2_TEXT_BOUNDARY_WORD
The range provided matches the range observed when the application processes the Ctrl + left arrow an...
@ IA2_TEXT_BOUNDARY_ALL
Using this value will cause all text to be returned.
@ IA2_TEXT_BOUNDARY_SENTENCE
Range is from start of one sentence to the start of another sentence.
@ IA2_TEXT_BOUNDARY_CHAR
Typically, a single character is returned.
@ IA2_TEXT_BOUNDARY_PARAGRAPH
Range is from start of one paragraph to the start of another paragraph.
IA2TextSpecialOffsets
Special offsets for use in IAccessibleText and IAccessibleEditableText methods.
@ IA2_TEXT_OFFSET_LENGTH
This offset is equivalent to the length of the string.
@ IA2_TEXT_OFFSET_CARET
This offset signifies that the text related to the physical location of the caret should be used.
long AccessibleStates
IA2EventID
IAccessible2 specific event constants
@ IA2_EVENT_DOCUMENT_LOAD_COMPLETE
The loading of the document has completed.
@ IA2_EVENT_TEXT_CARET_MOVED
The caret has moved to a new position.
@ IA2_EVENT_DOCUMENT_LOAD_STOPPED
The loading of the document was interrupted.
@ IA2_EVENT_TEXT_COLUMN_CHANGED
The caret moved from one column to the next.
@ IA2_EVENT_DOCUMENT_RELOAD
The document contents are being reloaded.
@ IA2_EVENT_HYPERTEXT_CHANGED
Focus has changed from one hypertext object to another, or focus moved from a non-hypertext object to...
@ IA2_EVENT_PAGE_CHANGED
A slide changed in a presentation document or a page boundary was crossed in a word processing docume...
@ IA2_EVENT_ACTIVE_DECENDENT_CHANGED
Deprecated.
@ IA2_EVENT_TEXT_SELECTION_CHANGED
The text selection changed.
@ IA2_EVENT_DOCUMENT_ATTRIBUTE_CHANGED
The document wide attributes of the document object have changed.
@ IA2_EVENT_TABLE_ROW_DESCRIPTION_CHANGED
A table's row description changed.
@ IA2_EVENT_HYPERTEXT_NLINKS_CHANGED
The number of hyperlinks associated with a hypertext object changed.
@ IA2_EVENT_SECTION_CHANGED
The caret moved from one section to the next.
@ IA2_EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED
The number of anchors associated with this hyperlink object has changed.
@ IA2_EVENT_TEXT_UPDATED
This event indicates general text changes, i.e.
@ IA2_EVENT_HYPERLINK_SELECTED_LINK_CHANGED
The hyperlink selected state changed from selected to unselected or from unselected to selected.
@ IA2_EVENT_HYPERLINK_START_INDEX_CHANGED
The starting index of this link within the containing string has changed.
@ IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED
An object's attributes changed.
@ IA2_EVENT_TEXT_ATTRIBUTE_CHANGED
A text object's attributes changed.
@ IA2_EVENT_ACTION_CHANGED
The change of the number or attributes of actions of an accessible object is signaled by events of th...
@ IA2_EVENT_HYPERTEXT_LINK_ACTIVATED
One of the links associated with the hypertext object has been activated.
@ IA2_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED
A table's column description changed.
@ IA2_EVENT_VISIBLE_DATA_CHANGED
A visible data event indicates the change of the visual appearance of an accessible object.
@ IA2_EVENT_TABLE_COLUMN_HEADER_CHANGED
A table's column header changed.
@ IA2_EVENT_TABLE_ROW_HEADER_CHANGED
A table's row header changed.
@ IA2_EVENT_TEXT_INSERTED
Text was inserted.
@ IA2_EVENT_ACTIVE_DESCENDANT_CHANGED
The active descendant of a component has changed.
@ IA2_EVENT_DOCUMENT_CONTENT_CHANGED
The contents of the document have changed.
@ IA2_EVENT_TABLE_MODEL_CHANGED
A table's data changed.
@ IA2_EVENT_TABLE_CAPTION_CHANGED
A table caption changed.
@ IA2_EVENT_TEXT_REMOVED
Text was removed.
@ IA2_EVENT_HYPERLINK_END_INDEX_CHANGED
The ending index of this link within the containing string has changed.
@ IA2_EVENT_TEXT_CHANGED
Deprecated.
@ IA2_EVENT_HYPERTEXT_LINK_SELECTED
One of the links associated with the hypertext object has been selected.
@ IA2_EVENT_TABLE_SUMMARY_CHANGED
A table's summary changed.
IA2Role
Collection of roles.
@ IA2_ROLE_LABEL
An object used to present an icon or short string in an interface.
@ IA2_ROLE_SCROLL_PANE
A scroll pane.
@ IA2_ROLE_OPTION_PANE
A specialized pane whose primary use is inside a dialog.
@ IA2_ROLE_HEADER
Header of a document page.
@ IA2_ROLE_CAPTION
A caption describing another object.
@ IA2_ROLE_SPLIT_PANE
A split pane.
@ IA2_ROLE_CHECK_MENU_ITEM
Used for check buttons that are menu items.
@ IA2_ROLE_INPUT_METHOD_WINDOW
An object which is used to allow input of characters not found on a keyboard, such as the input of Ch...
@ IA2_ROLE_PAGE
An object representing a page of document content.
@ IA2_ROLE_FILE_CHOOSER
A file chooser.
@ IA2_ROLE_INTERNAL_FRAME
An internal frame.
@ IA2_ROLE_CANVAS
An object that can be drawn into and to manage events from the objects drawn into it.
@ IA2_ROLE_ENDNOTE
Text that is used as an endnote (footnote at the end of a chapter or section).
@ IA2_ROLE_DATE_EDITOR
A date editor.
@ IA2_ROLE_TOGGLE_BUTTON
A toggle button.
@ IA2_ROLE_FOOTNOTE
Text that is used as a footnote. Also refer to IA2_ROLE_ENDNOTE.
@ IA2_ROLE_FOOTER
Footer of a document page.
@ IA2_ROLE_DESKTOP_PANE
A desktop pane.
@ IA2_ROLE_UNKNOWN
Unknown role.
@ IA2_ROLE_TEXT_FRAME
Collection of objects that constitute a logical text entity.
@ IA2_ROLE_FORM
A container of form controls.
@ IA2_ROLE_SECTION
A container of document content.
@ IA2_ROLE_RULER
A ruler such as those used in word processors.
@ IA2_ROLE_RADIO_MENU_ITEM
A radio button that is a menu item.
@ IA2_ROLE_FRAME
Frame role.
@ IA2_ROLE_COLOR_CHOOSER
A specialized dialog that lets the user choose a color.
@ IA2_ROLE_EDITBAR
An editable text object in a toolbar.
@ IA2_ROLE_LAYERED_PANE
A layered pane.
@ IA2_ROLE_ROOT_PANE
A root pane.
@ IA2_ROLE_TEAR_OFF_MENU
An object that forms part of a menu system but which can be "undocked" from or "torn off" the menu sy...
@ IA2_ROLE_NOTE
A section whose content is parenthetic or ancillary to the main content of the resource.
@ IA2_ROLE_DESKTOP_ICON
An iconified internal frame in an IA2_ROLE_DESKTOP_PANE.
@ IA2_ROLE_VIEW_PORT
A viewport.
@ IA2_ROLE_DIRECTORY_PANE
A directory pane.
@ IA2_ROLE_TERMINAL
An object used as a terminal emulator.
@ IA2_ROLE_SHAPE
Object with graphical representation used to represent content on draw pages.
@ IA2_ROLE_HEADING
Heading. Use the IAccessible2::attributes level attribute to determine the heading level.
@ IA2_ROLE_EMBEDDED_OBJECT
Embedded (OLE) object.
@ IA2_ROLE_REDUNDANT_OBJECT
An object which is redundant with another object in the accessible hierarchy.
@ IA2_ROLE_GLASS_PANE
A glass pane.
@ IA2_ROLE_COMPLEMENTARY_CONTENT
An object containing content which is complementary to the main content of a document,...
@ IA2_ROLE_FONT_CHOOSER
A font chooser.
@ IA2_ROLE_ICON
A small fixed size picture, typically used to decorate components.
@ IA2_ROLE_PARAGRAPH
A paragraph of text.
@ IA2_ROLE_IMAGE_MAP
An image map object.
This interface exposes the primary set of information about an IAccessible2 enabled accessible object...
long relationTargetsOfType([in] BSTR type,[in] long maxTargets,[out, size_is(, *nTargets)] IUnknown targets)
Returns relation targets for a specified target type.
long accessibleWithCaret([out] IUnknown accessible)
Returns the deepest hypertext accessible in the subtree of this object, and the caret offset within i...
VARIANT attribute([in] BSTR name)
Returns the attribute value of a specified attribute specific to this object.
This interface exposes the primary set of information about an IAccessible2 enabled accessible object...
long relations([in] long maxRelations,[out, size_is(maxRelations), length_is(*nRelations)] IAccessibleRelation relations)
Returns multiple accessible relations for this object.
AccessibleStates states
Returns the bit strip containing any IAccessible2 states.
long indexInParent
Returns the index of this object in its parent object.
HRESULT scrollToPoint([in] enum IA2CoordinateType coordinateType, [in] long x, [in] long y)
Moves the top left of an object to a specified location.
BSTR attributes
Returns the attributes specific to this object, such as a cell's formula.
BSTR localizedExtendedRole
Returns the localized extended role.
IA2Locale locale
Returns the IA2Locale of the accessible object.
long nExtendedStates
Returns the number of extended states.
HWND windowHandle
Returns the window handle for the parent window which contains this object.
long groupPosition([out] long groupLevel,[out] long similarItemsInGroup)
Returns grouping information.
HRESULT role([out, retval] long *role)
Returns the role of an IAccessible2 object.
long uniqueID
Returns the unique ID.
BSTR extendedRole
Returns the extended role.
long nRelations
Returns the number of accessible relations for this object.
long localizedExtendedStates([in] long maxLocalizedExtendedStates,[out, size_is(, maxLocalizedExtendedStates), length_is(, *nLocalizedExtendedStates)] BSTR localizedExtendedStates)
Returns the localized extended states (array of strings).
IAccessibleRelation relation([in] long relationIndex)
Returns one accessible relation for this object.
long extendedStates([in] long maxExtendedStates,[out, size_is(, maxExtendedStates), length_is(, *nExtendedStates)] BSTR extendedStates)
Returns the extended states (array of strings).
HRESULT scrollTo([in] enum IA2ScrollType scrollType)
Makes an object visible on the screen.
This interface gives access to actions that can be executed for accessible objects.
BSTR localizedName([in] long actionIndex)
Returns the localized name of specified action.
BSTR description([in] long actionIndex)
Returns a description of the specified action of the object.
HRESULT nActions([out, retval] long *nActions)
Returns the number of accessible actions available in this object.
long keyBinding([in] long actionIndex,[in] long nMaxBindings,[out, size_is(, nMaxBindings), length_is(, *nBindings)] BSTR keyBindings)
Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the ...
HRESULT doAction([in] long actionIndex)
Performs the specified Action on the object.
BSTR name([in] long actionIndex)
Returns the non-localized name of specified action.
This interface gives access to the application's name and version information.
BSTR toolkitVersion
Returns the toolkit/bridge version.
BSTR appVersion
Returns the application version.
BSTR toolkitName
Returns the toolkit/bridge name.
BSTR appName
Returns the application name.
This interface is implemented by any object that can be rendered on the screen.
IA2Color background
Returns the background color of this object.
IA2Color foreground
Returns the foreground color of this object.
long locationInParent([out] long x)
Returns the location of the upper left corner of the object's bounding box relative to the immediate ...
This interface represents documents.
IUnknown anchorTarget
Returns the most recently used anchor target within a document.
This interface provides clipboard capability to text objects.
HRESULT insertText([in] long offset, [in] BSTR *text)
Inserts text at the specified position.
HRESULT replaceText([in] long startOffset, [in] long endOffset, [in] BSTR *text)
Replaces text.
HRESULT deleteText([in] long startOffset, [in] long endOffset)
Deletes a range of text.
HRESULT setAttributes([in] long startOffset, [in] long endOffset, [in] BSTR *attributes)
Replaces the attributes of a text range by the given set of attributes.
HRESULT copyText([in] long startOffset, [in] long endOffset)
Copies the text range into the clipboard.
HRESULT pasteText([in] long offset)
Pastes content from the clipboard.
HRESULT cutText([in] long startOffset, [in] long endOffset)
Deletes a range of text and copies it to the clipboard.
This interface exposes information about hypertext in a document.
long hyperlinks([out, size_is(, *nHyperlinks)] IAccessibleHyperlink hyperlinks)
Returns the links for this object.
This interface exposes information about hypertext in a document.
long nHyperlinks
Returns the number of links and link groups contained within this hypertext paragraph.
long hyperlinkIndex([in] long charIndex)
Returns the index of the hyperlink that is associated with this character index.
IAccessibleHyperlink hyperlink([in] long index)
Returns the specified link.
This interface represents images and icons.
long imageSize([out] long height)
Returns the size of the image in units specified by parent's coordinate system.
BSTR description
Returns the localized description of the image.
long imagePosition([in] IA2CoordinateType coordinateType,[out] long x)
Returns the coordinates of the image.
This interface gives access to an object's set of relations.
long nTargets
Returns the number of targets for this relation.
BSTR localizedRelationType
Returns a localized version of the relation type.
IUnknown target([in] long targetIndex)
Returns one accessible relation target.
BSTR relationType
Returns the type of the relation.
long targets([in] long maxTargets,[out, size_is(maxTargets), length_is(*nTargets)] IUnknown targets)
Returns multiple accessible relation targets.
This interface gives access to a two-dimensional table.
HRESULT unselectColumn([in] long column)
Unselects one column, leaving other selected columns selected (if any).
HRESULT selectColumn([in] long column)
Selects a column and unselects all previously selected columns.
long selectedCells([out, size_is(, *nSelectedCells)] IUnknown cells)
Returns a list of accessibles currently selected.
long nSelectedCells
Returns the total number of selected cells.
HRESULT unselectRow([in] long row)
Unselects one row, leaving other selected rows selected (if any).
long nColumns
Returns the total number of columns in table.
long nSelectedRows
Returns the total number of selected rows.
IUnknown cellAt([in] long row,[in] long column)
Returns the accessible object at the specified row and column in the table.
long nSelectedColumns
Returns the total number of selected columns.
IUnknown caption
Returns the caption for the table.
BSTR columnDescription([in] long column)
Returns the description text of the specified column in the table.
boolean isColumnSelected([in] long column)
Returns a boolean value indicating whether the specified column is completely selected.
IUnknown summary
Returns the summary description of the table.
long nRows
Returns the total number of rows in table.
long selectedRows([out, size_is(, *nRows)] long selectedRows)
Returns a list of row indexes currently selected (0 based).
HRESULT selectRow([in] long row)
Selects a row and unselects all previously selected rows.
IA2TableModelChange modelChange
Returns the type and extents describing how a table changed.
boolean isRowSelected([in] long row)
Returns a boolean value indicating whether the specified row is completely selected.
long selectedColumns([out, size_is(, *nColumns)] long selectedColumns)
Returns a list of column indexes currently selected (0 based).
BSTR rowDescription([in] long row)
Returns the description text of the specified row in the table.
This interface gives access to the cells of a two-dimensional table.
long columnIndex
Translates this cell accessible into the corresponding column index.
IUnknown table
Returns a reference to the accessible of the containing table.
long rowIndex
Translates this cell accessible into the corresponding row index.
long rowExtent
Returns the number of rows occupied by this cell accessible.
long rowHeaderCells([out, size_is(, *nRowHeaderCells)] IUnknown cellAccessibles)
Returns the row headers as an array of cell accessibles.
boolean isSelected
Returns a boolean value indicating whether this cell is selected.
long columnExtent
Returns the number of columns occupied by this cell accessible.
long columnHeaderCells([out, size_is(, *nColumnHeaderCells)] IUnknown cellAccessibles)
Returns the column headers as an array of cell accessibles.
boolean rowColumnExtents([out] long row,[out] long column,[out] long rowExtents,[out] long columnExtents)
Gets the row and column indexes and extents of this cell accessible and whether or not it is selected...
This interface gives access to a two-dimensional table.
long selectedColumns([in] long maxColumns,[out, size_is(, maxColumns), length_is(, *nColumns)] long columns)
Returns a list of column indexes currently selected (0 based).
HRESULT unselectColumn([in] long column)
Unselects one column, leaving other selected columns selected (if any).
boolean isRowSelected([in] long row)
Returns a boolean value indicating whether the specified row is completely selected.
boolean rowColumnExtentsAtIndex([in] long index,[out] long row,[out] long column,[out] long rowExtents,[out] long columnExtents)
Given a cell index, gets the row and column indexes and extents of a cell and whether or not it is se...
long childIndex([in] long rowIndex,[in] long columnIndex)
Translates the given row and column indexes into the corresponding cell index.
long nSelectedColumns
Returns the total number of selected columns.
BSTR columnDescription([in] long column)
Returns the description text of the specified column in the table.
long nSelectedChildren
Returns the total number of selected cells.
long rowExtentAt([in] long row,[in] long column)
Returns the number of rows occupied by the accessible object at the specified row and column in the t...
boolean isColumnSelected([in] long column)
Returns a boolean value indicating whether the specified column is completely selected.
long columnExtentAt([in] long row,[in] long column)
Returns the number of columns occupied by the accessible object at the specified row and column in th...
IA2TableModelChange modelChange
Returns the type and extents describing how a table changed.
long rowIndex([in] long cellIndex)
Translates the given cell index into a row index.
long columnIndex([in] long cellIndex)
Translates the given cell index into the corresponding column index.
HRESULT selectColumn([in] long column)
Selects a column and unselects all previously selected columns.
long selectedChildren([in] long maxChildren,[out, size_is(, maxChildren), length_is(, *nChildren)] long children)
Returns a list of cell indexes currently selected (0 based).
HRESULT unselectRow([in] long row)
Unselects one row, leaving other selected rows selected (if any).
HRESULT selectRow([in] long row)
Selects a row and unselects all previously selected rows.
long columnHeader([out] IAccessibleTable accessibleTable)
Returns the column headers as an IAccessibleTable object.
IUnknown accessibleAt([in] long row,[in] long column)
Returns the accessible object at the specified row and column in the table.
IUnknown summary
Returns the summary description of the table.
long nSelectedRows
Returns the total number of selected rows.
long rowHeader([out] IAccessibleTable accessibleTable)
Returns the row headers as an IAccessibleTable object.
BSTR rowDescription([in] long row)
Returns the description text of the specified row in the table.
long selectedRows([in] long maxRows,[out, size_is(, maxRows), length_is(, *nRows)] long rows)
Returns a list of row indexes currently selected (0 based).
long nRows
Returns the total number of rows in table.
IUnknown caption
Returns the caption for the table.
long nColumns
Returns the total number of columns in table.
boolean isSelected([in] long row,[in] long column)
Returns a boolean value indicating whether the specified cell is selected.
This interface gives read-only access to text.
BSTR attributeRange([in] long offset,[in] BSTR filter,[out] long startOffset,[out] long endOffset)
Returns the range and of the specified set of attributes.
This interface gives read-only access to text.
IA2TextSegment oldText
Returns any removed text.
long nCharacters
Returns total number of characters.
HRESULT removeSelection([in] long selectionIndex)
Unselects a range of text.
HRESULT addSelection([in] long startOffset, [in] long endOffset)
Adds a text selection.
BSTR text([in] long startOffset,[in] long endOffset)
Returns the substring between the two given indices.
HRESULT setSelection([in] long selectionIndex, [in] long startOffset, [in] long endOffset)
Changes the bounds of an existing selection.
long nSelections
Returns the number of active non-contiguous selections.
BSTR textBeforeOffset([in] long offset,[in] IA2TextBoundaryType boundaryType,[out] long startOffset,[out] long endOffset)
Returns a text portion before the given position.
long characterExtents([in] long offset,[in] IA2CoordinateType coordType,[out] long x,[out] long y,[out] long width)
Returns the bounding box of the specified position.
BSTR attributes([in] long offset,[out] long startOffset,[out] long endOffset)
Returns text attributes.
IA2TextSegment newText
Returns any inserted text.
BSTR textAfterOffset([in] long offset,[in] IA2TextBoundaryType boundaryType,[out] long startOffset,[out] long endOffset)
Returns a text portion after the given position.
BSTR textAtOffset([in] long offset,[in] IA2TextBoundaryType boundaryType,[out] long startOffset,[out] long endOffset)
Returns a text portion that spans the given position.
long offsetAtPoint([in] long x,[in] long y,[in] IA2CoordinateType coordType)
Returns the text position for the specified screen position.
HRESULT scrollSubstringToPoint([in] long startIndex, [in] long endIndex, [in] enum IA2CoordinateType coordinateType, [in] long x, [in] long y)
Moves the top left of a substring to a specified location.
HRESULT setCaretOffset([in] long offset)
Sets the position of the caret.
long caretOffset
Returns the position of the caret.
long selection([in] long selectionIndex,[out] long startOffset)
Returns the character offsets of Nth active text selection.
HRESULT scrollSubstringTo([in] long startIndex, [in] long endIndex, [in] enum IA2ScrollType scrollType)
Makes a specific part of string visible on screen.
This interface gives access to a single numerical value.
VARIANT maximumValue
Returns the maximal value that can be represented by this object.
HRESULT setCurrentValue([in] VARIANT value)
Sets the value of this object to the given number.
VARIANT minimumValue
Returns the minimal value that can be represented by this object.
VARIANT currentValue
Returns the value of this object as a number.
CFUUIDRef uuid
importlib("oleacc.dll")
Type
A structure defining the locale of an accessible object.
BSTR variant
Application specific variant of the locale.
BSTR country
ISO 3166-1 Alpha-2 two character country code.
BSTR language
ISO 639-1 Alpha-2 two character language code.
A structure defining the type of and extents of changes made to a table.
long lastRow
0 based, inclusive
long firstRow
0 based, inclusive
enum IA2TableModelChangeType type
long lastColumn
0 based, inclusive
long firstColumn
0 based, inclusive
A structure containing a substring and the start and end offsets in the enclosing string.
BSTR text
A copy of a segment of text taken from an enclosing paragraph.
long end
Index of the character following the last character of the segment in the enclosing text.
long start
Index of the first character of the segment in the enclosing text.