:: com :: sun :: star :: datatransfer ::
|
interface XDataFormatTranslator |
|
- Description
- Interface to be implemented by objects used to translate a DataFlavor to
a system dependent data transfer type and vice versa.
Different platforms use different types to describe data formats available
during data exchange operations like clipboard or drag&drop. Windows for instance
uses integer values to describe an available clipboard or drag&drop format, Unix
X11 uses so called Atoms etc.
|
Methods' Details |
getSystemDataTypeFromDataFlavor
any |
getSystemDataTypeFromDataFlavor( |
[in] DataFlavor |
aDataFlavor ); |
- Description
- Converts a DataFlavor to system dependent data type.
- Parameter aDataFlavor
- Describes the format for which a system dependent data types is requested.
- Returns
- A system dependent data transfer type for the given DataFlavor
if there is one available.
If the is no system dependent data type for a given DataFlavor
the returned any is empty.
|
|
getDataFlavorFromSystemDataType
DataFlavor |
getDataFlavorFromSystemDataType( |
[in] any |
aSysDataType ); |
- Description
- Converts a system dependent data type to a DataFlavor.
- Parameter aSysDataType
- A system dependent data type. If aSysDataType is empty so is the returned DataFlavor.
- Returns
- A DataFlavor for the given system dependent data transfer type.
If there is no appropriate mapping for a system dependent data type, the returned DataFlavor will be empty.
|
|
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.