|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
Interface to be implemented by objects used to provide data for a data transfer operation. More...
import "XTransferable.idl";
Public Member Functions | |
| any | getTransferData ([in] DataFlavor aFlavor) raises ( UnsupportedFlavorException, com::sun::star::io::IOException ) |
| Called by a data consumer to obtain data from the source in a specified format. | |
| sequence< DataFlavor > | getTransferDataFlavors () |
| Returns a sequence of supported DataFlavor. | |
| boolean | isDataFlavorSupported ([in] DataFlavor aFlavor) |
| Checks if the data object supports the specified data flavor. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
Interface to be implemented by objects used to provide data for a data transfer operation.
| any getTransferData | ( | [in] DataFlavor | aFlavor | ) | ||
| raises | ( | UnsupportedFlavorException, | ||||
| com::sun::star::io::IOException ) | ||||||
Called by a data consumer to obtain data from the source in a specified format.
| aFlavor | Describes the requested data format |
| com::sun::star::io::IOException | if the data is no longer available in the requested flavor. |
| com::sun::star::datatransfer::UnsupportedFlavorException | if the requested DataFlavor is not supported. |
| sequence< DataFlavor > getTransferDataFlavors | ( | ) |
Returns a sequence of supported DataFlavor.
| boolean isDataFlavorSupported | ( | [in] DataFlavor | aFlavor | ) |
Checks if the data object supports the specified data flavor.
| aFlavor | Describes the format that should be checked |
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 com::sun::star::datatransfer::XTransferable::getTransferDataFlavors().