other-licenses/ia2/AccessibleEventId.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/other-licenses/ia2/AccessibleEventId.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,230 @@
     1.4 +/*************************************************************************
     1.5 + *
     1.6 + *  File Name (AccessibleEventID.idl)
     1.7 + * 
     1.8 + *  IAccessible2 IDL Specification 
     1.9 + * 
    1.10 + *  Copyright (c) 2007, 2010 Linux Foundation 
    1.11 + *  Copyright (c) 2006 IBM Corporation 
    1.12 + *  Copyright (c) 2000, 2006 Sun Microsystems, Inc. 
    1.13 + *  All rights reserved. 
    1.14 + *   
    1.15 + *   
    1.16 + *  Redistribution and use in source and binary forms, with or without 
    1.17 + *  modification, are permitted provided that the following conditions 
    1.18 + *  are met: 
    1.19 + *   
    1.20 + *   1. Redistributions of source code must retain the above copyright 
    1.21 + *      notice, this list of conditions and the following disclaimer. 
    1.22 + *   
    1.23 + *   2. Redistributions in binary form must reproduce the above 
    1.24 + *      copyright notice, this list of conditions and the following 
    1.25 + *      disclaimer in the documentation and/or other materials 
    1.26 + *      provided with the distribution. 
    1.27 + *
    1.28 + *   3. Neither the name of the Linux Foundation nor the names of its 
    1.29 + *      contributors may be used to endorse or promote products 
    1.30 + *      derived from this software without specific prior written 
    1.31 + *      permission. 
    1.32 + *   
    1.33 + *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 
    1.34 + *  CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 
    1.35 + *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
    1.36 + *  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
    1.37 + *  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 
    1.38 + *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
    1.39 + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
    1.40 + *  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
    1.41 + *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
    1.42 + *  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
    1.43 + *  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
    1.44 + *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
    1.45 + *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    1.46 + *   
    1.47 + *  This BSD License conforms to the Open Source Initiative "Simplified 
    1.48 + *  BSD License" as published at: 
    1.49 + *  http://www.opensource.org/licenses/bsd-license.php 
    1.50 + *   
    1.51 + *  IAccessible2 is a trademark of the Linux Foundation. The IAccessible2 
    1.52 + *  mark may be used in accordance with the Linux Foundation Trademark 
    1.53 + *  Policy to indicate compliance with the IAccessible2 specification. 
    1.54 + * 
    1.55 + ************************************************************************/ 
    1.56 +
    1.57 +/** %IAccessible2 specific event constants 
    1.58 +
    1.59 + This enum defines the event IDs fired by %IAccessible2 objects.  The event IDs
    1.60 + are in addition to those used by MSAA.
    1.61 +*/
    1.62 +enum IA2EventID {
    1.63 +
    1.64 +  /** The change of the number or attributes of actions of an accessible
    1.65 +    object is signaled by events of this type. 
    1.66 +  */
    1.67 +  IA2_EVENT_ACTION_CHANGED = 0x101,
    1.68 +
    1.69 +  /** <b>Deprecated.</b> The active descendant of a component has changed.
    1.70 +	
    1.71 +	Note: This event constant is misspelled and thus is deprecated and will be
    1.72 +	removed in a later version. Please use the correctly spelled version which
    1.73 +	follows.
    1.74 +  */
    1.75 +  IA2_EVENT_ACTIVE_DECENDENT_CHANGED,
    1.76 +
    1.77 +  /** The active descendant of a component has changed.  The active descendant 
    1.78 +    is used in objects with transient children.  
    1.79 +
    1.80 +    Note: Due to the fact that MSAA's WinEvents don't allow the active child index
    1.81 +	to be passed on the IA2_EVENT_ACTIVE_DESCENDANT_CHANGED event the manages
    1.82 +	descendants	scheme can't be used.  Instead the active child object has to fire
    1.83 +	MSAA's EVENT_OBJECT_FOCUS.  In a future release a new event mechanism may be
    1.84 +	added to provide for event specific data to be passed with the event.  At that
    1.85 +	time the IA2_EVENT_ACTIVE_DECENDENT_CHANGED event and
    1.86 +	IA2_STATE_MANAGES_DESCENDANTS state would be useful.
    1.87 +  */
    1.88 +  IA2_EVENT_ACTIVE_DESCENDANT_CHANGED = IA2_EVENT_ACTIVE_DECENDENT_CHANGED,
    1.89 +
    1.90 +  /** The document wide attributes of the document object have changed.
    1.91 +  */
    1.92 +  IA2_EVENT_DOCUMENT_ATTRIBUTE_CHANGED,
    1.93 +
    1.94 +  /** The contents of the document have changed.
    1.95 +  */
    1.96 +  IA2_EVENT_DOCUMENT_CONTENT_CHANGED,
    1.97 +
    1.98 +  /** The loading of the document has completed.
    1.99 +  */
   1.100 +  IA2_EVENT_DOCUMENT_LOAD_COMPLETE,
   1.101 +
   1.102 +  /** The loading of the document was interrupted.
   1.103 +  */
   1.104 +  IA2_EVENT_DOCUMENT_LOAD_STOPPED,
   1.105 +
   1.106 +  /** The document contents are being reloaded.
   1.107 +  */
   1.108 +  IA2_EVENT_DOCUMENT_RELOAD,
   1.109 +
   1.110 +  /** The ending index of this link within the containing string has changed.
   1.111 +  */
   1.112 +  IA2_EVENT_HYPERLINK_END_INDEX_CHANGED,
   1.113 +
   1.114 +  /** The number of anchors associated with this hyperlink object has changed.
   1.115 +  */
   1.116 +  IA2_EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED,
   1.117 +
   1.118 +  /** The hyperlink selected state changed from selected to unselected or
   1.119 +    from unselected to selected.
   1.120 +  */
   1.121 +  IA2_EVENT_HYPERLINK_SELECTED_LINK_CHANGED,
   1.122 +
   1.123 +  /** One of the links associated with the hypertext object has been activated.
   1.124 +  */
   1.125 +  IA2_EVENT_HYPERTEXT_LINK_ACTIVATED,
   1.126 +
   1.127 +  /** One of the links associated with the hypertext object has been selected.
   1.128 +  */
   1.129 +  IA2_EVENT_HYPERTEXT_LINK_SELECTED,
   1.130 +
   1.131 +  /** The starting index of this link within the containing string has changed.
   1.132 +  */
   1.133 +  IA2_EVENT_HYPERLINK_START_INDEX_CHANGED,
   1.134 +
   1.135 +  /** Focus has changed from one hypertext object to another, or focus moved
   1.136 +   from a non-hypertext object to a hypertext object, or focus moved from a
   1.137 +   hypertext object to a non-hypertext object.
   1.138 +  */
   1.139 +  IA2_EVENT_HYPERTEXT_CHANGED,
   1.140 +
   1.141 +  /** The number of hyperlinks associated with a hypertext object changed
   1.142 +  */
   1.143 +  IA2_EVENT_HYPERTEXT_NLINKS_CHANGED,
   1.144 +
   1.145 +  /** An object's attributes changed.
   1.146 +  Also see ::IA2_EVENT_TEXT_ATTRIBUTE_CHANGED.
   1.147 +  */
   1.148 +  IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED,
   1.149 +
   1.150 +  /** A slide changed in a presentation document or a page boundary was 
   1.151 +   crossed in a word processing document.
   1.152 +  */
   1.153 +  IA2_EVENT_PAGE_CHANGED,  
   1.154 +
   1.155 +  /** The caret moved from one section to the next.
   1.156 +  */
   1.157 +  IA2_EVENT_SECTION_CHANGED,
   1.158 +  
   1.159 +  /** A table caption changed.
   1.160 +  */
   1.161 +  IA2_EVENT_TABLE_CAPTION_CHANGED,
   1.162 +
   1.163 +  /** A table's column description changed.
   1.164 +  */
   1.165 +  IA2_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED,
   1.166 +
   1.167 +  /** A table's column header changed.
   1.168 +  */
   1.169 +  IA2_EVENT_TABLE_COLUMN_HEADER_CHANGED,
   1.170 +
   1.171 +  /** A table's data changed.
   1.172 +  */
   1.173 +  IA2_EVENT_TABLE_MODEL_CHANGED,
   1.174 +
   1.175 +  /** A table's row description changed.
   1.176 +  */
   1.177 +  IA2_EVENT_TABLE_ROW_DESCRIPTION_CHANGED,
   1.178 +
   1.179 +  /** A table's row header changed.
   1.180 +  */
   1.181 +  IA2_EVENT_TABLE_ROW_HEADER_CHANGED,
   1.182 +
   1.183 +  /** A table's summary changed.
   1.184 +  */
   1.185 +  IA2_EVENT_TABLE_SUMMARY_CHANGED,
   1.186 +
   1.187 +  /** A text object's attributes changed.
   1.188 +  Also see ::IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED.
   1.189 +  */
   1.190 +  IA2_EVENT_TEXT_ATTRIBUTE_CHANGED,
   1.191 +
   1.192 +  /** The caret has moved to a new position.
   1.193 +  */
   1.194 +  IA2_EVENT_TEXT_CARET_MOVED,
   1.195 +
   1.196 +  /** <b>Deprecated.</b>  This event is equivalent to ::IA2_EVENT_TEXT_UPDATED.
   1.197 +  */
   1.198 +  IA2_EVENT_TEXT_CHANGED,
   1.199 +
   1.200 +  /** The caret moved from one column to the next.
   1.201 +  */
   1.202 +  IA2_EVENT_TEXT_COLUMN_CHANGED,
   1.203 +
   1.204 +  /** Text was inserted.
   1.205 +  */
   1.206 +  IA2_EVENT_TEXT_INSERTED,
   1.207 +
   1.208 +  /** Text was removed.
   1.209 +  */
   1.210 +  IA2_EVENT_TEXT_REMOVED,
   1.211 +
   1.212 +  /** This event indicates general text changes, i.e. changes to text that are 
   1.213 +    exposed through the IAccessibleText interface.  For compatibility with ATK/AT-SPI
   1.214 +	which does not have an equivalent event, servers can alternatively fire 
   1.215 +	::IA2_EVENT_TEXT_REMOVED and ::IA2_EVENT_TEXT_INSERTED.
   1.216 +  */
   1.217 +  IA2_EVENT_TEXT_UPDATED,
   1.218 +
   1.219 +  /** The text selection changed.  Later versions of Microsoft development environments 
   1.220 +   have an equivalent event identified, EVENT_OBJECT_TEXTSELECTIONCHANGED.  Servers 
   1.221 +   should use that if it is available and use IA2_EVENT_TEXT_SELECTION_CHANGED otherwise.  
   1.222 +   Clients should be prepared to respond to either event.
   1.223 +
   1.224 +  */
   1.225 +  IA2_EVENT_TEXT_SELECTION_CHANGED,
   1.226 +
   1.227 +  /** A visible data event indicates the change of the visual appearance
   1.228 +    of an accessible object.  This includes for example most of the
   1.229 +    attributes available via the IAccessibleComponent interface.
   1.230 +  */
   1.231 +  IA2_EVENT_VISIBLE_DATA_CHANGED
   1.232 +
   1.233 +};

mercurial