Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XSystemTransferable
Description
Interface to be implemented by objects used to provide system dependent data for a transfer operation. Those objects usually also implement XTransferable.

Methods' Summary
getData Called by a data consumer to obtain a system specific data object from the source. The data object is returned in an any. The contained type may differ on different platforms.  
Methods' Details
getData
any
getData( [in] sequence< byte >  aProcessId );

Description
Called by a data consumer to obtain a system specific data object from the source. The data object is returned in an any. The contained type may differ on different platforms.
Parameter aProcessId
The argument aProcessId is a process identifier of the caller's process. The interface implementation must ensure that the system data object can be used in that process. If the data object is not valid in the caller process then the returned any must be empty.
Returns
The system dependent data object.

Notes:Under Windows the returned any contains an unsigned long which represents a pointer to an IDataObject interface. The caller of getData has to release the data object (IDataObject::Release) if it is no longer needed. The caller must also make sure that the current thread has been initialized for OLE (use OleInitialize).

Top of Page

Apache Software Foundation

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

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