|
LibreOffice
LibreOffice 26.2 SDK API Reference
|
This interface is used to retrieve, add, or remove clipboard instances. More...
import "XClipboardManager.idl";
Public Member Functions | |
| XClipboard | getClipboard ([in] string aName) raises ( com::sun::star::container::NoSuchElementException ) |
| Get a clipboard instance by name. | |
| void | addClipboard ([in] XClipboard xClipboard) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException ) |
| Add a clipboard instance to the manager's list. | |
| void | removeClipboard ([in] string aName) |
| Removes the clipboard with the specified name from the list. | |
| sequence< string > | listClipboardNames () |
| Get a list of a managed clipboards. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
This interface is used to retrieve, add, or remove clipboard instances.
| void addClipboard | ( | [in] XClipboard | xClipboard | ) | ||
| raises | ( | com::sun::star::lang::IllegalArgumentException, | ||||
| com::sun::star::container::ElementExistException ) | ||||||
Add a clipboard instance to the manager's list.
| xClipboard | The clipboard to add. |
| 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. |
| XClipboard getClipboard | ( | [in] string | aName | ) | ||
| raises | ( | com::sun::star::container::NoSuchElementException ) | ||||
Get a clipboard instance by name.
| aName | The name of clipboard to return. To retrieve the default (system) clipboard, pass an empty string. |
| com::sun::star::container::NoSuchElementException | if no clipboard with the specified name exists. |
| sequence< string > listClipboardNames | ( | ) |
Get a list of a managed clipboards.
| void removeClipboard | ( | [in] string | aName | ) |
Removes the clipboard with the specified name from the list.
| aName | The name of the clipboard to remove. |