LibreOffice: com/sun/star/datatransfer/dnd/DropTargetDropEvent.idl Source File

LibreOffice LibreOffice 7.3 SDK API Reference

DropTargetDropEvent.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#ifndef __com_sun_star_datatransfer_dnd_DropTargetDropEvent_idl__
21#define __com_sun_star_datatransfer_dnd_DropTargetDropEvent_idl__
22
23#include <com/sun/star/datatransfer/dnd/DropTargetEvent.idl>
24#include <com/sun/star/datatransfer/XTransferable.idl>
25
26
27module com { module sun { module star { module datatransfer { module dnd {
28
29 published interface XDropTargetDropContext;
30
38published struct DropTargetDropEvent: com::sun::star::datatransfer::dnd::DropTargetEvent
39{
45 XDropTargetDropContext Context;
46
56 byte DropAction;
57
61 long LocationX;
62
66 long LocationY;
67
71 byte SourceActions;
72
78 com::sun::star::datatransfer::XTransferable Transferable;
79};
80
81
82}; }; }; }; };
83
84#endif
85
86/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
DropTargetEvent.idl
XTransferable.idl
com::sun::star::datatransfer::XTransferable
Interface to be implemented by objects used to provide data for a data transfer operation.
Definition: XTransferable.idl:38
com::sun::star::datatransfer::dnd::XDropTargetDropContext
This interface is implemented by any drop target context object.
Definition: XDropTargetDropContext.idl:41
com
Definition: Ambiguous.idl:22
com::sun::star::datatransfer::dnd::DropTargetDropEvent
The DropTargetDropEvent is delivered from the drop target to its currently registered drop target lis...
Definition: DropTargetDropEvent.idl:39
com::sun::star::datatransfer::dnd::DropTargetDropEvent::SourceActions
byte SourceActions
This value represents the action or actions supported by the source.
Definition: DropTargetDropEvent.idl:71
com::sun::star::datatransfer::dnd::DropTargetDropEvent::LocationX
long LocationX
The cursor's current x location within the window's coordinates.
Definition: DropTargetDropEvent.idl:61
com::sun::star::datatransfer::dnd::DropTargetDropEvent::DropAction
byte DropAction
This value represents the action or actions selected by the user at the time of the drop.
Definition: DropTargetDropEvent.idl:56
com::sun::star::datatransfer::dnd::DropTargetDropEvent::Transferable
com::sun::star::datatransfer::XTransferable Transferable
The transferable object associated with the drop.
Definition: DropTargetDropEvent.idl:78
com::sun::star::datatransfer::dnd::DropTargetDropEvent::Context
XDropTargetDropContext Context
The drop target context of the current drag operation.
Definition: DropTargetDropEvent.idl:45
com::sun::star::datatransfer::dnd::DropTargetDropEvent::LocationY
long LocationY
The cursor's current y location within the window's coordinates.
Definition: DropTargetDropEvent.idl:66
com::sun::star::datatransfer::dnd::DropTargetEvent
This class is the base class for DropTargetDragEvent and DropTargetDropEvent.
Definition: DropTargetEvent.idl:37