LibreOffice
LibreOffice 24.2 SDK API Reference
|
Access number format codes defined in locale data. More...
import"XNumberFormatCode.idl";
Public Member Functions | |
NumberFormatCode | getDefault ([in] short nFormatType, [in] short nFormatUsage, [in] com::sun::star::lang::Locale rLocale) |
returns the default number format code of a specific category (usage group) for a given locale and format length type. More... | |
NumberFormatCode | getFormatCode ([in] short nFormatIndex, [in] com::sun::star::lang::Locale rLocale) |
returns the number format pointed to by nFormatIndex for a given locale. More... | |
sequence< NumberFormatCode > | getAllFormatCode ([in] short nFormatUsage, [in] com::sun::star::lang::Locale rLocale) |
returns all format codes for a given nFormatUsage and locale. More... | |
sequence< NumberFormatCode > | getAllFormatCodes ([in] com::sun::star::lang::Locale rLocale) |
returns all format codes for a given locale. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Access number format codes defined in locale data.
sequence< NumberFormatCode > getAllFormatCode | ( | [in] short | nFormatUsage, |
[in] com::sun::star::lang::Locale | rLocale | ||
) |
returns all format codes for a given nFormatUsage and locale.
nFormatUsage | one of KNumberFormatUsage values |
rLocale | The locale for which the format codes are requested. |
sequence< NumberFormatCode > getAllFormatCodes | ( | [in] com::sun::star::lang::Locale | rLocale | ) |
returns all format codes for a given locale.
rLocale | The locale for which the format codes are requested. |
NumberFormatCode getDefault | ( | [in] short | nFormatType, |
[in] short | nFormatUsage, | ||
[in] com::sun::star::lang::Locale | rLocale | ||
) |
returns the default number format code of a specific category (usage group) for a given locale and format length type.
nFormatType | one of the constants listed in KNumberFormatType |
nFormatUsage | one of KNumberFormatUsage values |
rLocale | The locale for which the format code is requested. |
NumberFormatCode getFormatCode | ( | [in] short | nFormatIndex, |
[in] com::sun::star::lang::Locale | rLocale | ||
) |
returns the number format pointed to by nFormatIndex for a given locale.
nFormatIndex | one of NumberFormatIndex values |
rLocale | The locale for which the format code is requested. |