1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
21 #define INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
23 //STATE_CHANGED with get FOCUSED -> EVENT_OBJECT_FOCUS
24 const short UM_EVENT_STATE_FOCUSED
= 0 ;
26 //STATE_CHANGED --> EVENT_OBJECT_STATECHANGE
27 const short UM_EVENT_STATE_CHECKED
= 1 ;
28 const short UM_EVENT_STATE_ARMED
= 2 ;
29 const short UM_EVENT_STATE_PRESSED
= 3 ;
30 const short UM_EVENT_STATE_SELECTED
= 4 ;
31 const short UM_EVENT_STATE_SHOWING
= 5 ;
33 //if acc role is MENU_BAR, STATE_CHANGED with get FOCUSED -> EVENT_SYSTEM_MENUSTART
34 const short UM_EVENT_MENU_START
= 6 ;
36 //if acc role is MENU_BAR, STATE_CHANGED with lose FOCUSED -> EVENT_SYSTEM_MENUEND
37 const short UM_EVENT_MENU_END
= 7 ;
39 //if acc role is POPUP_MENU, STATE_CHANGED with get FOCUSED -> EVENT_SYSTEM_MENUPOPUPSTART
40 const short UM_EVENT_MENUPOPUPSTART
= 8 ;
42 //if acc role is POPUP_MENU, STATE_CHANGED with lose FOCUSED -> EVENT_SYSTEM_MENUPOPUPEND
43 const short UM_EVENT_MENUPOPUPEND
= 9 ;
45 //SELECTION_CHANGED -> EVENT_OBJECT_SELECTION
46 const short UM_EVENT_SELECTION_CHANGED
= 10 ;
48 //INVALIDATE_ALL_CHILDREN --> EVENT_OBJECT_SHOW
49 const short UM_EVENT_INVALIDATE_ALL_CHILDREN
= 11 ;
51 //VALUE_CHANGED --> EVENT_OBJECT_VALUECHANGE
52 const short UM_EVENT_OBJECT_VALUECHANGE
= 12 ;
54 //NAME_CHANGED --> EVENT_OBJECT_NAMECHANGE
55 const short UM_EVENT_OBJECT_NAMECHANGE
= 13 ;
57 //DESCRIPTION_CHANGED --> EVENT_OBJECT_DESCRIPTIONCHANGE
58 const short UM_EVENT_OBJECT_DESCRIPTIONCHANGE
= 14 ;
60 //ACTION_CHANGED --> EVENT_OBJECT_DEFACTIONCHANGE
61 const short UM_EVENT_OBJECT_DEFACTIONCHANGE
= 15 ;
63 //CARET_CHANGED --> EVENT_OBJECT_LOCATIONCHANGED
64 const short UM_EVENT_OBJECT_CARETCHANGE
= 16 ;
66 //TEXT_CHANGED --> EVENT_OBJECT_VALUECHANGE
67 const short UM_EVENT_OBJECT_TEXTCHANGE
= 17 ;
69 //ACTIVE_DESCENDANT_CHANGED --> EVENT_OBJECT_FOCUS
70 const short UM_EVENT_ACTIVE_DESCENDANT_CHANGED
= 18 ;
72 //BOUNDRECT_CHANGED --> EVENT_OBJECT_LOCATIONCHANGE
73 const short UM_EVENT_BOUNDRECT_CHANGED
= 19 ;
75 //VISIBLE_DATA_CHANGED --> EVENT_OBJECT_VALUECHANGE
76 const short UM_EVENT_VISIBLE_DATA_CHANGED
= 20 ;
78 //to enable SHOW on dialogs, windows, frames
79 const short UM_EVENT_SHOW
= 21 ;
81 const short UM_EVENT_STATE_BUSY
= 22 ;
83 const short UM_EVENT_TABLE_CAPTION_CHANGED
= 24;
84 const short UM_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED
= 25;
85 const short UM_EVENT_TABLE_COLUMN_HEADER_CHANGED
= 26;
86 const short UM_EVENT_TABLE_MODEL_CHANGED
= 27;
87 const short UM_EVENT_TABLE_ROW_HEADER_CHANGED
= 28;
88 const short UM_EVENT_TABLE_SUMMARY_CHANGED
= 29;
89 const short UM_EVENT_OBJECT_REORDER
= 30;
90 const short UM_EVENT_PAGE_CHANGED
=31;
91 const short UM_EVENT_CHILD_ADDED
=32;
92 const short UM_EVENT_CHILD_REMOVED
=33;
93 const short UM_EVENT_TABLE_ROW_DESCRIPTION_CHANGED
= 34;
94 const short UM_EVENT_SELECTION_CHANGED_ADD
= 35 ;
95 const short UM_EVENT_SELECTION_CHANGED_REMOVE
= 36 ;
96 const short UM_EVENT_SELECTION_CHANGED_WITHIN
= 37 ;
98 //support for PAGE_CHANGED event
99 const short UM_EVENT_OBJECT_PAGECHANGED
= 38;
101 //to add TEXT_SELECTION_CHANGED event
102 const short UM_EVENT_TEXT_SELECTION_CHANGED
= 39;
104 //for section change and column chang event
105 const short UM_EVENT_SECTION_CHANGED
= 40;
106 const short UM_EVENT_COLUMN_CHANGED
= 41;
108 #endif // INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
110 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */