use insert function instead of for loop
[LibreOffice.git] / offapi / com / sun / star / awt / XDataTransferProviderAccess.idl
blob5eff09423401923934902fa35c6acacdb7136d01
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 .
21 module com { module sun { module star { module datatransfer {
22 module dnd {
23 published interface XDragGestureRecognizer;
24 published interface XDragSource;
25 published interface XDropTarget;
27 module clipboard {
28 published interface XClipboard;
30 }; }; }; };
33 module com { module sun { module star { module awt {
35 published interface XWindow;
38 /** This interface extends the XToolkit interface with clipboard and
39 drag-and-drop support.
41 published interface XDataTransferProviderAccess: com::sun::star::uno::XInterface
44 /** returns the drag gesture recognizer of the specified window.
46 @returns the drag gesture recognizer.
48 @param window
49 a window created by the same toolkit instance.
51 com::sun::star::datatransfer::dnd::XDragGestureRecognizer getDragGestureRecognizer( [in] XWindow window );
54 /** returns the drag source of the specified window.
56 @returns the drag source.
58 @param window
59 a window created by the same toolkit instance.
61 com::sun::star::datatransfer::dnd::XDragSource getDragSource( [in] XWindow window );
64 /** returns the drop target of the specified window.
66 @returns the drop target.
68 @param window
69 a window created by the same toolkit instance.
71 com::sun::star::datatransfer::dnd::XDropTarget getDropTarget( [in] XWindow window );
74 /** returns the specified clipboard.
76 @returns the specified clipboard (if available).
78 @param clipboardName
79 the name of the clipboard to return.
80 If an empty string is passed in, the default clipboard is returned.
82 com::sun::star::datatransfer::clipboard::XClipboard getClipboard( [in] string clipboardName );
86 }; }; }; };
88 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */