Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / awt / XDataTransferProviderAccess.idl
blob573535597e6d825c3634a7471b3566470cb46225
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_awt_XDataTransferProviderAccess_idl__
21 #define __com_sun_star_awt_XDataTransferProviderAccess_idl__
23 #include <com/sun/star/uno/XInterface.idl>
26 module com { module sun { module star { module datatransfer {
27 module dnd {
28 published interface XDragGestureRecognizer;
29 published interface XDragSource;
30 published interface XDropTarget;
32 module clipboard {
33 published interface XClipboard;
35 }; }; }; };
38 module com { module sun { module star { module awt {
40 published interface XWindow;
43 /** This interface extends the XToolkit interface with clipboard and
44 drag-and-drop support.
46 published interface XDataTransferProviderAccess: com::sun::star::uno::XInterface
49 /** returns the drag gesture recognizer of the specified window.
51 @returns the drag gesture recognizer.
53 @param window
54 a window created by the same toolkit instance.
56 com::sun::star::datatransfer::dnd::XDragGestureRecognizer getDragGestureRecognizer( [in] XWindow window );
59 /** returns the drag source of the specified window.
61 @returns the drag source.
63 @param window
64 a window created by the same toolkit instance.
66 com::sun::star::datatransfer::dnd::XDragSource getDragSource( [in] XWindow window );
69 /** returns the drop target of the specified window.
71 @returns the drop target.
73 @param window
74 a window created by the same toolkit instance.
76 com::sun::star::datatransfer::dnd::XDropTarget getDropTarget( [in] XWindow window );
79 /** returns the specified clipboard.
81 @returns the specified clipboard (if available).
83 @param clipboardName
84 the name of the clipboard to return.
85 If an empty string is passed in, the default clipboard is returned.
87 com::sun::star::datatransfer::clipboard::XClipboard getClipboard( [in] string clipboardName );
91 }; }; }; };
93 #endif
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */