|
Syntax
- com::sun::star::datatransfer::clipboard::XClipboard getClipboard
(
- string aName )
- raises ( com::sun::star::container::NoSuchElementException );
Description
Get a clipboard instance by name.
Returns
-
The clipboard object with the specified name.
Parameter aName
-
The name of clipboard to return. To retrieve the default (system)
clipboard, pass an empty string.
Throws
- com::sun::star::container::NoSuchElementException
if no clipboard with the specified name exists.
Syntax
- void addClipboard
(
- com::sun::star::datatransfer::clipboard::XClipboard xClipboard )
- raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::container::ElementExistException );
Description
Add a clipboard instance to the manager's list.
Parameter xClipboard
-
The clipboard to add.
Throws
- com::sun::star::IllegalArgumentException
if xClipboard is not a valid clipboard.
Throws
- com::sun::star::container::ElementExistsException
if a clipboard with the name of xClipboard already exists.
Syntax
- void removeClipboard
(
- string aName );
Description
Removes the clipboard with the specified name from the list.
Parameter aName
-
The name of the clipboard to remove.
Syntax
- sequence< string > listClipboardNames
();
Description
Get a list of a managed clipboards.
Returns
-
A sequence of the names of all available clipboards.
|