/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: Command.idl,v $
 *
 *  $Revision: 1.3 $
 *
 *  last change: $Author: rt $ $Date: 2005-09-07 20:58:29 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************/

#ifndef __com_sun_star_awt_Command_idl__
#define __com_sun_star_awt_Command_idl__

//=============================================================================

module com {  module sun {  module star {  module awt {

/** these values specify the different command types available.
*/

published constants Command
{

    //-------------------------------------------------------------------------

    /** specifies a requests for a context menu.
    */
    const short CONTEXTMENU = 1;

    //-------------------------------------------------------------------------

    /** specifies the beginning of a drag operation.
    */
    const short STARTDRAG = 2;

    //-------------------------------------------------------------------------

    /** specifies a mouse wheel operation.
    */
    const short WHEEL = 3;

    //-------------------------------------------------------------------------

    /** specifies the begining of an auto scroll operation.
    */
    const short STARTAUTOSCROLL = 4;

    //-------------------------------------------------------------------------

    /** specifies an auto scroll operation.
    */
    const short AUTOSCROLL = 5;

    //-------------------------------------------------------------------------

    /** specifies a request for a voice operation.
    */
    const short VOICE = 6;

    //-------------------------------------------------------------------------

    /** specifies the beginning of an extended text input operation.
    */
    const short STARTEXTTEXTINPUT = 7;

    //-------------------------------------------------------------------------

    /** specifies an extended text input operation.
    */
    const short EXTTEXTINPUT = 8;

    //-------------------------------------------------------------------------

    /** specifies the end of an extended text input operation.
    */
    const short ENDEXTTEXTINPUT = 9;

    //-------------------------------------------------------------------------

    /** specifies that the input context has been changed.
    */
    const short INPUTCONTEXTCHANGE = 10;

    //-------------------------------------------------------------------------

    /** specifies the cursor position.
    */
    const short CURSORPOS = 11;

    //-------------------------------------------------------------------------

    /** specifies a paste selection command.
    */
    const short PASTESELECTION = 12;

    //-------------------------------------------------------------------------

    /** specifies that the state of a key modifier has changed.
    */
    const short MODKEYCHANGE = 13;

    //-------------------------------------------------------------------------

    /** specifies a hangual hanja conversion command.
    */
    const short HANGUL_HANJA_CONVERSION = 14;

    //-------------------------------------------------------------------------

    /** specifies a user-defined command.
    */
    const short USER = 4096;
};

}; }; }; };

#endif
