1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: DropTargetDropEvent.idl,v $
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_datatransfer_dnd_DropTargetDropEvent_idl__
32 #define __com_sun_star_datatransfer_dnd_DropTargetDropEvent_idl__
34 #ifndef __com_sun_star_datatransfer_dnd_DropTargetEvent_idl__
35 #include
<com
/sun
/star
/datatransfer
/dnd
/DropTargetEvent.idl
>
38 #ifndef __com_sun_star_datatransfer_XTransferable_idl__
39 #include
<com
/sun
/star
/datatransfer
/XTransferable.idl
>
42 //=============================================================================
44 module com
{ module sun
{ module star
{ module datatransfer
{ module dnd
{
46 published
interface XDropTargetDropContext
;
48 //=============================================================================
49 /** The <type>DropTargetDropEvent</type> is delivered from the drop target to
50 its currently registered drop target listener.
52 <p>It contains sufficient information for the originator of the operation to
53 provide appropriate feedback to the end user when the operation completes.</p>
56 published
struct DropTargetDropEvent
: com
::sun
::star
::datatransfer
::dnd
::DropTargetEvent
58 //-------------------------------------------------------------------------
59 /** The drop target context of the current drag operation.
61 @see com::sun::star::datatransfer::dnd::XDropTargetDropContext
64 XDropTargetDropContext Context
;
66 //-------------------------------------------------------------------------
67 /** This value represents the action or actions selected by the user at
70 <p>If more than one action is specified, the <type>XDropTargetListener</type>
71 should raise a dialog to ask the user which action to use.</p>
73 @see com::sun::star::datatransfer::dnd::DNDConstants
78 //-------------------------------------------------------------------------
79 /** The cursor's current x location within the windows' coordinates.
84 //-------------------------------------------------------------------------
85 /** The cursor's current y location within the windows' coordinates.
90 //-------------------------------------------------------------------------
91 /** This value represents the action or actions supported by the source.
96 //-------------------------------------------------------------------------
97 /** The transferable object associated with the drop.
99 @see com::sun::star::datatransfer::XTransferable
102 com
::sun
::star
::datatransfer
::XTransferable Transferable
;
105 //=============================================================================