|
LibreOffice
LibreOffice 5.3 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. More... | |
| sequence< DataFlavor > | getTransferDataFlavors () |
| Returns a sequence of supported DataFlavor. More... | |
| boolean | isDataFlavorSupported ([in] DataFlavor aFlavor) |
| Checks if the data object supports the specified data flavor. More... | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. More... | |
| void | acquire () |
| increases the reference counter by one. More... | |
| void | release () |
| decreases the reference counter by one. More... | |
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 |
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 com::sun::star::datatransfer::XTransferable::getTransferDataFlavors().
1.8.13