LibreOffice
LibreOffice 24.2 SDK API Reference
|
This interface allows to spell out numbers and money amounts. More...
import"XNumberText.idl";
Public Member Functions | |
string | getNumberText ([in] string aText, [in] com::sun::star::lang::Locale aLocale) raises ( com::sun::star::lang::IllegalArgumentException ) |
spell out numbers and money amounts More... | |
sequence< com::sun::star::lang::Locale > | getAvailableLanguages () |
returns a list of all supported languages. More... | |
This interface allows to spell out numbers and money amounts.
The current set of supported languages is:
sequence< com::sun::star::lang::Locale > getAvailableLanguages | ( | ) |
returns a list of all supported languages.
string getNumberText | ( | [in] string | aText, |
[in] com::sun::star::lang::Locale | aLocale | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException | |
) |
spell out numbers and money amounts
Please note that text argument can contain prefixes separated by space, for example "ordinal" for ordinal numbers, "ordinal-number" for ordinal indicators and ISO 4217 currency codes.
Language modules list the supported prefixes by the input text "help".
aText | all the text including the part that should converted. |
aLocale | the locale for the target language of the number name conversion. |