LibreOffice
LibreOffice 24.8 SDK API Reference
|
Methods to convert between strings of ASCII Arabic digits and native numeral strings, using NatNum params. More...
import <XNativeNumberSupplier2.idl;
Public Member Functions | |
string | getNativeNumberStringParams ([in] string NumberString, [in] ::com::sun::star::lang::Locale Locale, [in] short NativeNumberMode, [in] string NativeNumberParameters) |
Returns native number string for given number string, using NatNum params. | |
![]() | |
string | getNativeNumberString ([in] string aNumberString, [in] ::com::sun::star::lang::Locale aLocale, [in] short nNativeNumberMode) |
Returns native number string for given number string. | |
boolean | isValidNatNum ([in] ::com::sun::star::lang::Locale aLocale, [in] short nNativeNumberMode) |
Check if the NatNum is valid for the given locale. | |
NativeNumberXmlAttributes | convertToXmlAttributes ([in] ::com::sun::star::lang::Locale aLocale, [in] short nNativeNumberMode) |
Convert a specific NatNum/Locale combination to attributes used in the XML file format. | |
short | convertFromXmlAttributes ([in] NativeNumberXmlAttributes aAttr) |
Convert XML attributes to a NatNum value. | |
![]() | |
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. | |
Methods to convert between strings of ASCII Arabic digits and native numeral strings, using NatNum params.
string getNativeNumberStringParams | ( | [in] string | NumberString, |
[in] ::com::sun::star::lang::Locale | Locale, | ||
[in] short | NativeNumberMode, | ||
[in] string | NativeNumberParameters ) |
Returns native number string for given number string, using NatNum params.
NumberString | The input string. |
NativeNumberMode | One of NativeNumberMode values. |
Locale | The locale. |
NativeNumberParameters | The NatNum params (like "ordinal-digits" in [NatNum12 ordinal-digits]). |