|
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. More... | |
| boolean | isValidNatNum ([in] ::com::sun::star::lang::Locale aLocale, [in] short nNativeNumberMode) |
| Check if the NatNum is valid for the given locale. More... | |
| 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. More... | |
| short | convertFromXmlAttributes ([in] NativeNumberXmlAttributes aAttr) |
| Convert XML attributes to a NatNum value. 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... | |
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. |
1.8.14