:: com :: sun :: star :: datatransfer ::
|
interface XTransferable |
|
- Description
- Interface to be implemented by objects used to provide data for a data
transfer operation.
- See also
- DataFlavor
|
Methods' Details |
getTransferData
- Description
- Called by a data consumer to obtain data from the source in a specified
format.
- Parameter aFlavor
- Describes the requested data format
- Returns
- The data in the specified DataFlavor.
- Throws
- com::sun::star::io::IOException
if the data is no longer available in the requested flavor.
- Throws
- com::sun::star::datatransfer::UnsupportedFlavorException
if the requested DataFlavor is not supported.
|
|
getTransferDataFlavors
|
isDataFlavorSupported
boolean |
isDataFlavorSupported( |
[in] DataFlavor |
aFlavor ); |
- Description
- Checks if the data object supports the specified data flavor.
- Parameter aFlavor
- Describes the format that should be checked
- Returns
- A value of true if the DataFlavor is supported by the transfer source.
A value of false if the DataFlavor is unsupported by the transfer source.
Note: This method is only for analogy with the JAVA Clipboard interface. To
avoid many calls, the caller should instead use
XTransferable::getTransferDataFlavors().
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.