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 __com_sun_star_awt_Command_idl__
21 #define __com_sun_star_awt_Command_idl__
24 module com
{ module sun
{ module star
{ module awt
{
26 /** these values specify the different command types available.
29 published constants Command
33 /** specifies a requests for a context menu.
35 const short CONTEXTMENU
= 1;
38 /** specifies the beginning of a drag operation.
40 const short STARTDRAG
= 2;
43 /** specifies a mouse wheel operation.
45 const short WHEEL
= 3;
48 /** specifies the beginning of an auto scroll operation.
50 const short STARTAUTOSCROLL
= 4;
53 /** specifies an auto scroll operation.
55 const short AUTOSCROLL
= 5;
58 /** specifies a request for a voice operation.
60 const short VOICE
= 6;
63 /** specifies the beginning of an extended text input operation.
65 const short STARTEXTTEXTINPUT
= 7;
68 /** specifies an extended text input operation.
70 const short EXTTEXTINPUT
= 8;
73 /** specifies the end of an extended text input operation.
75 const short ENDEXTTEXTINPUT
= 9;
78 /** specifies that the input context has been changed.
80 const short INPUTCONTEXTCHANGE
= 10;
83 /** specifies the cursor position.
85 const short CURSORPOS
= 11;
88 /** specifies a paste selection command.
90 const short PASTESELECTION
= 12;
93 /** specifies that the state of a key modifier has changed.
95 const short MODKEYCHANGE
= 13;
98 /** specifies a Hangul hanja conversion command.
100 const short HANGUL_HANJA_CONVERSION
= 14;
103 /** specifies a user-defined command.
105 const short USER
= 4096;
112 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */