LibreOffice
LibreOffice 24.2 SDK API Reference
|
import"XTransferable2.idl";
Public Member Functions | |
any | getTransferData2 ([in] DataFlavor aFlavor, [in] string aDestShellID) raises ( UnsupportedFlavorException, com::sun::star::io::IOException ) |
This is equivalent of getTransferData of XTransferable, but takes an additional parameter that specifies the destination document type. More... | |
boolean | isComplex () |
Returns true if the selection contains embedded objects or is a large text blob. More... | |
Public Member Functions inherited from XTransferable | |
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... | |
any getTransferData2 | ( | [in] DataFlavor | aFlavor, |
[in] string | aDestShellID | ||
) | |||
raises | ( | UnsupportedFlavorException, | |
com::sun::star::io::IOException | |||
) |
This is equivalent of getTransferData of XTransferable, but takes an additional parameter that specifies the destination document type.
aFlavor | requested data format |
aDestShellID | destination document shell ID. The ID of each individual shell must be unique. |
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. |
boolean isComplex | ( | ) |
Returns true if the selection contains embedded objects or is a large text blob.