xref: /aoo41x/main/offapi/com/sun/star/awt/Command.idl (revision d1766043)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_awt_Command_idl__
25#define __com_sun_star_awt_Command_idl__
26
27//=============================================================================
28
29module com {  module sun {  module star {  module awt {
30
31/** these values specify the different command types available.
32*/
33
34published constants Command
35{
36
37	//-------------------------------------------------------------------------
38
39    /** specifies a requests for a context menu.
40    */
41    const short CONTEXTMENU = 1;
42
43	//-------------------------------------------------------------------------
44
45    /** specifies the beginning of a drag operation.
46    */
47    const short STARTDRAG = 2;
48
49	//-------------------------------------------------------------------------
50
51    /** specifies a mouse wheel operation.
52    */
53    const short WHEEL = 3;
54
55	//-------------------------------------------------------------------------
56
57    /** specifies the begining of an auto scroll operation.
58    */
59    const short STARTAUTOSCROLL = 4;
60
61	//-------------------------------------------------------------------------
62
63    /** specifies an auto scroll operation.
64    */
65    const short AUTOSCROLL = 5;
66
67	//-------------------------------------------------------------------------
68
69    /** specifies a request for a voice operation.
70    */
71    const short VOICE = 6;
72
73	//-------------------------------------------------------------------------
74
75    /** specifies the beginning of an extended text input operation.
76    */
77    const short STARTEXTTEXTINPUT = 7;
78
79	//-------------------------------------------------------------------------
80
81    /** specifies an extended text input operation.
82    */
83    const short EXTTEXTINPUT = 8;
84
85	//-------------------------------------------------------------------------
86
87    /** specifies the end of an extended text input operation.
88    */
89    const short ENDEXTTEXTINPUT = 9;
90
91	//-------------------------------------------------------------------------
92
93    /** specifies that the input context has been changed.
94    */
95    const short INPUTCONTEXTCHANGE = 10;
96
97	//-------------------------------------------------------------------------
98
99    /** specifies the cursor position.
100    */
101    const short CURSORPOS = 11;
102
103	//-------------------------------------------------------------------------
104
105    /** specifies a paste selection command.
106    */
107    const short PASTESELECTION = 12;
108
109	//-------------------------------------------------------------------------
110
111    /** specifies that the state of a key modifier has changed.
112    */
113    const short MODKEYCHANGE = 13;
114
115	//-------------------------------------------------------------------------
116
117    /** specifies a hangual hanja conversion command.
118    */
119    const short HANGUL_HANJA_CONVERSION = 14;
120
121	//-------------------------------------------------------------------------
122
123    /** specifies a user-defined command.
124    */
125    const short USER = 4096;
126};
127
128}; }; }; };
129
130#endif
131