This interface is used to retrieve, add, or remove clipboard instances.
More...
import <XClipboardManager.idl;
This interface is used to retrieve, add, or remove clipboard instances.
- See also
- com::sun::star::datatransfer::clipboard::XClipboard
◆ addClipboard()
Add a clipboard instance to the manager's list.
- Parameters
-
xClipboard | The clipboard to add. |
- Exceptions
-
com::sun::star::IllegalArgumentException | if xClipboard is not a valid clipboard. |
com::sun::star::container::ElementExistsException | if a clipboard with the name of xClipboard already exists. |
◆ getClipboard()
Get a clipboard instance by name.
- Returns
- The clipboard object with the specified name.
- Parameters
-
aName | The name of clipboard to return. To retrieve the default (system) clipboard, pass an empty string. |
- Exceptions
-
◆ listClipboardNames()
sequence< string > listClipboardNames |
( |
| ) |
|
Get a list of a managed clipboards.
- Returns
- A sequence of the names of all available clipboards.
◆ removeClipboard()
void removeClipboard |
( |
[in] string | aName | ) |
|
Removes the clipboard with the specified name from the list.
- Parameters
-
aName | The name of the clipboard to remove. |
The documentation for this interface was generated from the following file: