1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright IBM Corporation 2010. 6 * Copyright 2000, 2010 Oracle and/or its affiliates. 7 * 8 * OpenOffice.org - a multi-platform office productivity suite 9 * 10 * This file is part of OpenOffice.org. 11 * 12 * OpenOffice.org is free software: you can redistribute it and/or modify 13 * it under the terms of the GNU Lesser General Public License version 3 14 * only, as published by the Free Software Foundation. 15 * 16 * OpenOffice.org is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU Lesser General Public License version 3 for more details 20 * (a copy is included in the LICENSE file that accompanied this code). 21 * 22 * You should have received a copy of the GNU Lesser General Public License 23 * version 3 along with OpenOffice.org. If not, see 24 * <http://www.openoffice.org/license.html> 25 * for a copy of the LGPLv3 License. 26 * 27 ************************************************************************/ 28 29 #ifndef __UNOMSAAEVENT_HXX 30 #define __UNOMSAAEVENT_HXX 31 32 //STATE_CHANGED with get FOCUSED -> EVENT_OBJECT_FOCUS 33 const short UM_EVENT_STATE_FOCUSED = 0 ; 34 35 //STATE_CHANGED --> EVENT_OBJECT_STATECHANGE 36 const short UM_EVENT_STATE_CHECKED = 1 ; 37 const short UM_EVENT_STATE_ARMED = 2 ; 38 const short UM_EVENT_STATE_PRESSED = 3 ; 39 const short UM_EVENT_STATE_SELECTED = 4 ; 40 const short UM_EVENT_STATE_SHOWING = 5 ; 41 42 //if acc role is MENU_BAR, STATE_CHANGED with get FOCUSED -> EVENT_SYSTEM_MENUSTART 43 const short UM_EVENT_MENU_START = 6 ; 44 45 //if acc role is MENU_BAR, STATE_CHANGED with lose FOCUSED -> EVENT_SYSTEM_MENUEND 46 const short UM_EVENT_MENU_END = 7 ; 47 48 //if acc role is POPUP_MENU, STATE_CHANGED with get FOCUSED -> EVENT_SYSTEM_MENUPOPUPSTART 49 const short UM_EVENT_MENUPOPUPSTART = 8 ; 50 51 //if acc role is POPUP_MENU, STATE_CHANGED with lose FOCUSED -> EVENT_SYSTEM_MENUPOPUPEND 52 const short UM_EVENT_MENUPOPUPEND = 9 ; 53 54 //SELECTION_CHANGED -> EVENT_OBJECT_SELECTION 55 const short UM_EVENT_SELECTION_CHANGED = 10 ; 56 57 //INVALIDATE_ALL_CHILDREN --> EVENT_OBJECT_SHOW 58 const short UM_EVENT_INVALIDATE_ALL_CHILDREN = 11 ; 59 60 //VALUE_CHANGED --> EVENT_OBJECT_VALUECHANGE 61 const short UM_EVENT_OBJECT_VALUECHANGE = 12 ; 62 63 //NAME_CHANGED --> EVENT_OBJECT_NAMECHANGE 64 const short UM_EVENT_OBJECT_NAMECHANGE = 13 ; 65 66 //DESCRIPTION_CHANGED --> EVENT_OBJECT_DESCRIPTIONCHANGE 67 const short UM_EVENT_OBJECT_DESCRIPTIONCHANGE = 14 ; 68 69 //ACTION_CHANGED --> EVENT_OBJECT_DEFACTIONCHANGE 70 const short UM_EVENT_OBJECT_DEFACTIONCHANGE = 15 ; 71 72 //CARET_CHANGED --> EVENT_OBJECT_LOCATIONCHANGED 73 const short UM_EVENT_OBJECT_CARETCHANGE = 16 ; 74 75 //TEXT_CHANGED --> EVENT_OBJECT_VALUECHANGE 76 const short UM_EVENT_OBJECT_TEXTCHANGE = 17 ; 77 78 //ACTIVE_DESCENDANT_CHANGED --> EVENT_OBJECT_FOCUS 79 const short UM_EVENT_ACTIVE_DESCENDANT_CHANGED = 18 ; 80 81 //BOUNDRECT_CHANGED --> EVENT_OBJECT_LOCATIONCHANGE 82 const short UM_EVENT_BOUNDRECT_CHANGED = 19 ; 83 84 //VISIBLE_DATA_CHANGED --> EVENT_OBJECT_VALUECHANGE 85 const short UM_EVENT_VISIBLE_DATA_CHANGED = 20 ; 86 87 //to enable SHOW on dialogs, windows, frames 88 const short UM_EVENT_SHOW = 21 ; 89 90 const short UM_EVENT_STATE_BUSY = 22 ; 91 92 const short UM_EVENT_TABLE_CAPTION_CHANGED = 24; 93 const short UM_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED = 25; 94 const short UM_EVENT_TABLE_COLUMN_HEADER_CHANGED = 26; 95 const short UM_EVENT_TABLE_MODEL_CHANGED = 27; 96 const short UM_EVENT_TABLE_ROW_HEADER_CHANGED = 28; 97 const short UM_EVENT_TABLE_SUMMARY_CHANGED = 29; 98 const short UM_EVENT_OBJECT_REORDER = 30; 99 const short UM_EVENT_PAGE_CHANGED =31; 100 const short UM_EVENT_CHILD_ADDED =32; 101 const short UM_EVENT_CHILD_REMOVED =33; 102 const short UM_EVENT_TABLE_ROW_DESCRIPTION_CHANGED = 34; 103 const short UM_EVENT_SELECTION_CHANGED_ADD = 35 ; 104 const short UM_EVENT_SELECTION_CHANGED_REMOVE = 36 ; 105 const short UM_EVENT_SELECTION_CHANGED_WITHIN = 37 ; 106 107 //support for PAGE_CHANGED event 108 const short UM_EVENT_OBJECT_PAGECHANGED = 38; 109 110 //to add TEXT_SELECTION_CHANGED event 111 const short UM_EVENT_TEXT_SELECTION_CHANGED = 39; 112 113 //for section change and column chang event 114 const short UM_EVENT_SECTION_CHANGED = 40; 115 const short UM_EVENT_COLUMN_CHANGED = 41; 116 117 #endif 118