Methods' Summary |
getContents |
To get the current content of the clipboard.
|
setContents |
Sets the current contents of the clipboard to the specified
transferable object and registers the specified clipboard owner
as the owner of the new contents.
|
getName |
To get the name of the clipboard instance.
|
Methods' Details |
getContents
- Description
- To get the current content of the clipboard.
- Returns
- The transferable object representing the current content of
this clipboard.
- See also
- ::com::sun::star::datatransfer::XTransferable
|
|
setContents
- Description
- Sets the current contents of the clipboard to the specified
transferable object and registers the specified clipboard owner
as the owner of the new contents.
- Parameter xTrans
- The transferable object to set as new content.
If the given ::com::sun::star::datatransfer::XTransferable
has no ::com::sun::star::datatransfer::DataFlavor the clipboard
will be deleted.
A NULL value is not allowed.
- Parameter xClipboardOwner
- The new owner of the clipboard.
NULL is an acceptable value and means that the
caller is not interested in lost ownership notifications.
- See also
- ::com::sun::star::datatransfer::XTransferable, XClipboardOwner
|
|
getName
- Description
- To get the name of the clipboard instance.
- Returns
- The name of this clipboard object.
If the returned string is empty the
clipboard instance is the system clipboard.
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.