:: 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
7.2.1 Office Development - Common Application Features - Clipboard

Exported Interfaces
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