Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: datatransfer ::

interface XTransferDataAccess

Base Interface
com::sun::star::uno::XInterface

Description
This interface provides direct access to the data in all data flavors. It can be used by the clipboard implementation to optimize data transport on flush operations.
See also
com::sun::star::datatransfer::XTransferable


Methods' Summary

queryDataSize To query for the summarized data size in bytes of a sequence of DataFlavor .
getData To get all the data of a sequence of DataFlavor .

Methods' Details

queryDataSize
 
hyper
queryDataSize(
[ in ] sequence< com::sun::star::datatransfer::DataFlavor > aFlavorList );

Description
To query for the summarized data size in bytes of a sequence of DataFlavor .
Parameter aFlavorList
A squence of requested DataFlavor .

An unsupported DataFlavor will be ignored.

Returns
The number of bytes of the transfer data in the specified sequence of DataFlavor .
getData
 
sequence< any >
getData(
[ in ] sequence< com::sun::star::datatransfer::DataFlavor > aFlavorList );

Description
To get all the data of a sequence of DataFlavor .
Parameter aFlavorList
The sequence of requested DataFlavor .

An unsupported DataFlavor will be ignored.

Returns
The data in the requested DataFlavor .

For unsupported DataFlavor an empty any will be returned.


Top of Page