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