Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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