Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

service OleDragSource
Description
This service connects the Java-like UNO drag and drop protocol to the protocol used on window platforms. It realized the drag source.
See also
XDragSource

Exported Interfaces - Summary
XDragSource

Used to provide data to other applications via the Ole Drag & Drop protocol.

::com::sun::star::lang::XInitialization

The service expects a byte sequence uniquely identifying the machine as the first, and only, parameter. This idenifier should be checked to ensure that the window ids used for creating DropTargets are valid for the service, that is, come from the same machine. (details)

::com::sun::star::lang::XComponent

For shutdown and listener support.

::com::sun::star::lang::XServiceInfo

Service should always support this interface.

::com::sun::star::lang::XTypeProvider

Service should always support this interface.

Exported Interfaces - Details
XDragSource
Description
Used to provide data to other applications via the Ole Drag & Drop protocol.
::com::sun::star::lang::XInitialization
Description
The service expects a byte sequence uniquely identifying the machine as the first, and only, parameter. This idenifier should be checked to ensure that the window ids used for creating DropTargets are valid for the service, that is, come from the same machine.

TODO: specify how such a machine id should look like.

The second parameter is a window handle of the native windows window. Is is passed as an unsigned long.
::com::sun::star::lang::XComponent
Description
For shutdown and listener support.
::com::sun::star::lang::XServiceInfo
Description
Service should always support this interface.
::com::sun::star::lang::XTypeProvider
Description
Service should always support this interface.

 
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.