represents functions to get specific, predefined number formats.
More...
import"XNumberFormatTypes.idl";
represents functions to get specific, predefined number formats.
- Developers Guide
- Office Development - Number Formats
◆ getFormatForLocale()
- Returns
- the index of the converted number format if successful, the old index if the number format could not be converted.
- Parameters
-
nKey | index of the old number format |
nLocale | the locale to which the number format is converted |
◆ getFormatIndex()
- Returns
- the key of a built-in format for a locale:
- Parameters
-
nIndex | the index of the wanted number format within the formats for the given locale. One of the com::sun::star::i18n::NumberFormatIndex constants. |
nLocale | the locale for which the key is requested. |
◆ getStandardFormat()
- Returns
- the key of the standard format within a specified type for a given locale.
- Parameters
-
nType | the type of the number format. Must be one of the NumberFormat constants. |
nLocale | the locale for which the number format is requested. |
◆ getStandardIndex()
- Returns
- the key of the standard format for a locale.
◆ isTypeCompatible()
boolean isTypeCompatible |
( |
[in] short |
nOldType, |
|
|
[in] short |
nNewType |
|
) |
| |
verifies if one type of number format is compatible with another type.
The documentation for this interface was generated from the following file: