NumeralFormat

Overview

NumeralFormat is an enum in Aspose.Words FOSS for Java.

Indicates the symbol set that is used to represent numbers while rendering to fixed page formats.

Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.

This enum declares 4 methods for NumeralFormat objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
EUROPEANEuropean numerals: 0123456789.
ARABIC_INDICNumerals used in Arabic: ٠١٢٣٤٥٦٧٨٩.
EASTERN_ARABIC_INDICNumerals used in Persian and Urdu: ۰۱۲۳۴۵۶۷۸۹.
CONTEXTSymbol set is decided from context(locale and RTL property).
SYSTEMTHIS OPTION IS NOT SUPPORTED.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of NumeralFormat values.

Methods

SignatureDescription
getName(numeralFormat: int) → StringReturns JAVA_STYLE string representation of integer NumeralFormat value.
toString(numeralFormat: int) → StringReturns DotNetStyle string representation of integer NumeralFormat value.
fromName(numeralFormatName: String) → intReturns integer representation by NumeralFormat name.
getValues() → int[]Returns array of NumeralFormat values.

See Also