(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.