Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

interface XTransferDataAccess
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
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< 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< 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.