Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / datatransfer / dnd / DropTargetDropEvent.idl
blobd51a9269345124b4b756bad750d750457d782f9d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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_datatransfer_dnd_DropTargetDropEvent_idl__
21 #define __com_sun_star_datatransfer_dnd_DropTargetDropEvent_idl__
23 #include <com/sun/star/datatransfer/dnd/DropTargetEvent.idl>
24 #include <com/sun/star/datatransfer/XTransferable.idl>
27 module com { module sun { module star { module datatransfer { module dnd {
29 published interface XDropTargetDropContext;
31 /** The DropTargetDropEvent is delivered from the drop target to
32 its currently registered drop target listener.
34 <p>It contains sufficient information for the originator of the operation to
35 provide appropriate feedback to the end user when the operation completes.</p>
38 published struct DropTargetDropEvent: com::sun::star::datatransfer::dnd::DropTargetEvent
40 /** The drop target context of the current drag operation.
42 @see com::sun::star::datatransfer::dnd::XDropTargetDropContext
45 XDropTargetDropContext Context;
47 /** This value represents the action or actions selected by the user at
48 the time of the drop.
50 <p>If more than one action is specified, the XDropTargetListener
51 should raise a dialog to ask the user which action to use.</p>
53 @see com::sun::star::datatransfer::dnd::DNDConstants
56 byte DropAction;
58 /** The cursor's current x location within the window's coordinates.
61 long LocationX;
63 /** The cursor's current y location within the window's coordinates.
66 long LocationY;
68 /** This value represents the action or actions supported by the source.
71 byte SourceActions;
73 /** The transferable object associated with the drop.
75 @see com::sun::star::datatransfer::XTransferable
78 com::sun::star::datatransfer::XTransferable Transferable;
82 }; }; }; }; };
84 #endif
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */