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
| Value | Description |
|---|---|
EUROPEAN | European numerals: 0123456789. |
ARABIC_INDIC | Numerals used in Arabic: ٠١٢٣٤٥٦٧٨٩. |
EASTERN_ARABIC_INDIC | Numerals used in Persian and Urdu: ۰۱۲۳۴۵۶۷۸۹. |
CONTEXT | Symbol set is decided from context(locale and RTL property). |
SYSTEM | THIS OPTION IS NOT SUPPORTED. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of NumeralFormat values. |
Methods
| Signature | Description |
|---|---|
getName(numeralFormat: int) → String | Returns JAVA_STYLE string representation of integer NumeralFormat value. |
toString(numeralFormat: int) → String | Returns DotNetStyle string representation of integer NumeralFormat value. |
fromName(numeralFormatName: String) → int | Returns integer representation by NumeralFormat name. |
getValues() → int[] | Returns array of NumeralFormat values. |