update dev300-m58
[ooovba.git] / offapi / com / sun / star / awt / Command.idl
bloba06519a88c46ad53c8973d3529df5ce34fdf4774
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: Command.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_awt_Command_idl__
32 #define __com_sun_star_awt_Command_idl__
34 //=============================================================================
36 module com { module sun { module star { module awt {
38 /** these values specify the different command types available.
41 published constants Command
44 //-------------------------------------------------------------------------
46 /** specifies a requests for a context menu.
48 const short CONTEXTMENU = 1;
50 //-------------------------------------------------------------------------
52 /** specifies the beginning of a drag operation.
54 const short STARTDRAG = 2;
56 //-------------------------------------------------------------------------
58 /** specifies a mouse wheel operation.
60 const short WHEEL = 3;
62 //-------------------------------------------------------------------------
64 /** specifies the begining of an auto scroll operation.
66 const short STARTAUTOSCROLL = 4;
68 //-------------------------------------------------------------------------
70 /** specifies an auto scroll operation.
72 const short AUTOSCROLL = 5;
74 //-------------------------------------------------------------------------
76 /** specifies a request for a voice operation.
78 const short VOICE = 6;
80 //-------------------------------------------------------------------------
82 /** specifies the beginning of an extended text input operation.
84 const short STARTEXTTEXTINPUT = 7;
86 //-------------------------------------------------------------------------
88 /** specifies an extended text input operation.
90 const short EXTTEXTINPUT = 8;
92 //-------------------------------------------------------------------------
94 /** specifies the end of an extended text input operation.
96 const short ENDEXTTEXTINPUT = 9;
98 //-------------------------------------------------------------------------
100 /** specifies that the input context has been changed.
102 const short INPUTCONTEXTCHANGE = 10;
104 //-------------------------------------------------------------------------
106 /** specifies the cursor position.
108 const short CURSORPOS = 11;
110 //-------------------------------------------------------------------------
112 /** specifies a paste selection command.
114 const short PASTESELECTION = 12;
116 //-------------------------------------------------------------------------
118 /** specifies that the state of a key modifier has changed.
120 const short MODKEYCHANGE = 13;
122 //-------------------------------------------------------------------------
124 /** specifies a hangual hanja conversion command.
126 const short HANGUL_HANJA_CONVERSION = 14;
128 //-------------------------------------------------------------------------
130 /** specifies a user-defined command.
132 const short USER = 4096;
135 }; }; }; };
137 #endif