|
LibreOffice
LibreOffice 26.8 SDK API Reference
|
represents functions to get specific, predefined number formats. More...
import "XNumberFormatTypes.idl";


Public Member Functions | |
| long | getStandardIndex ([in] com::sun::star::lang::Locale nLocale) |
| long | getStandardFormat ([in] short nType, [in] com::sun::star::lang::Locale nLocale) |
| long | getFormatIndex ([in] short nIndex, [in] com::sun::star::lang::Locale nLocale) |
| boolean | isTypeCompatible ([in] short nOldType, [in] short nNewType) |
| verifies if one type of number format is compatible with another type. | |
| long | getFormatForLocale ([in] long nKey, [in] com::sun::star::lang::Locale nLocale) |
| 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. | |
represents functions to get specific, predefined number formats.
| long getFormatForLocale | ( | [in] long | nKey, |
| [in] com::sun::star::lang::Locale | nLocale ) |
| nKey | index of the old number format |
| nLocale | the locale to which the number format is converted |
| long getFormatIndex | ( | [in] short | nIndex, |
| [in] com::sun::star::lang::Locale | nLocale ) |
| 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. |
| long getStandardFormat | ( | [in] short | nType, |
| [in] com::sun::star::lang::Locale | nLocale ) |
| nType | the type of the number format. Must be one of the NumberFormat constants. |
| nLocale | the locale for which the number format is requested. |
| long getStandardIndex | ( | [in] com::sun::star::lang::Locale | nLocale | ) |
| boolean isTypeCompatible | ( | [in] short | nOldType, |
| [in] short | nNewType ) |
verifies if one type of number format is compatible with another type.