(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

service SystemClipboard
Description
The system clipboard service builds a bridge to the OS specific clipboard interfaces.

Notes: The Unix implementation needs to be instantiated with 2 Arguments:

  • A ::com::sun::star::awt::XDisplayConnection that provides the display to be used.
  • A string that names the selection to be used
It is possible to use clipboards for different selections simultaneously.

Developers Guide
OfficeDev - Common Application Features - Clipboard

Exported Interfaces - Summary
XClipboardEx

Provides access to the clipboard content.

XClipboardNotifier

Provides the ability to request notifications on content changes.

XFlushableClipboard

Provides the ability to render the complete clipboard content. This interface is only available if the method XClipboardEx::getRenderingCapabilities() returns Persistant (details)

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

Provides the ability to initialize the clipboard (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
XClipboardEx
Description
Provides access to the clipboard content.
XClipboardNotifier
Description
Provides the ability to request notifications on content changes.
XFlushableClipboard
Usage Restrictions
optional
Description
Provides the ability to render the complete clipboard content. This interface is only available if the method XClipboardEx::getRenderingCapabilities() returns Persistant
::com::sun::star::lang::XInitialization
Usage Restrictions
optional
Description
Provides the ability to initialize the clipboard
::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 Feather

Copyright & License | Privacy | Contact Us

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.

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.