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