(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 :: 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 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.