NumberStyle
Overview
NumberStyle is an enum in Aspose.Words FOSS for Java.
Specifies the number style for a list, footnotes and endnotes, page numbers.
Edition status of its 67 listed members (a property and its accessor methods are listed separately, overloads once): 67 not yet exercised by a verified example.
This enum declares 4 methods for NumberStyle 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 |
|---|---|
ARABIC | Arabic numbering (1, 2, 3, …) |
UPPERCASE_ROMAN | Upper case Roman (I, II, III, …) |
LOWERCASE_ROMAN | Lower case Roman (i, ii, iii, …) |
UPPERCASE_LETTER | Upper case Letter (A, B, C, …) |
LOWERCASE_LETTER | Lower case letter (a, b, c, …) |
ORDINAL | Ordinal (1st, 2nd, 3rd, …) |
NUMBER | Numbered (One, Two, Three, …) |
ORDINAL_TEXT | Ordinal (text) (First, Second, Third, …) |
HEX | Hexadecimal: 8, 9, A, B, C, D, E, F, 10, 11, 12 |
CHICAGO_MANUAL | Chicago Manual of Style: *, †, † |
KANJI | Ideograph-digital |
KANJI_DIGIT | Japanese counting |
AIUEO_HALF_WIDTH | Aiueo |
IROHA_HALF_WIDTH | Iroha |
ARABIC_FULL_WIDTH | Full-width Arabic: 1, 2, 3, 4 |
ARABIC_HALF_WIDTH | Half-width Arabic: 1, 2, 3, 4 |
KANJI_TRADITIONAL | Japanese legal |
KANJI_TRADITIONAL_2 | Japanese digital ten thousand |
NUMBER_IN_CIRCLE | Enclosed circles |
DECIMAL_FULL_WIDTH | Decimal full width: 1, 2, 3, 4 |
AIUEO | Aiueo full width |
IROHA | Iroha full width |
LEADING_ZERO | Leading Zero (01, 02,…, 09, 10, 11,…, 99, 100, 101,…) |
BULLET | Bullet (check the character code in the text) |
GANADA | Korean Ganada |
CHOSUNG | Korea Chosung |
GB_1 | Enclosed full stop |
GB_2 | Enclosed parenthesis |
GB_3 | Enclosed circle Chinese |
GB_4 | Ideograph enclosed circle |
ZODIAC_1 | Ideograph traditional |
ZODIAC_2 | Ideograph Zodiac |
ZODIAC_3 | Ideograph Zodiac traditional |
TRAD_CHIN_NUM_1 | Taiwanese counting |
TRAD_CHIN_NUM_2 | Ideograph legal traditional |
TRAD_CHIN_NUM_3 | Taiwanese counting thousand |
TRAD_CHIN_NUM_4 | Taiwanese digital |
SIMP_CHIN_NUM_1 | Chinese counting |
SIMP_CHIN_NUM_2 | Chinese legal simplified |
SIMP_CHIN_NUM_3 | Chinese counting thousand |
SIMP_CHIN_NUM_4 | Chinese (not implemented) |
HANJA_READ | Korean digital |
HANJA_READ_DIGIT | Korean counting |
HANGUL | Korea legal |
HANJA | Korea digital2 |
HEBREW_1 | Hebrew-1 |
ARABIC_1 | Arabic alpha |
HEBREW_2 | Hebrew-2 |
ARABIC_2 | Arabic abjad |
HINDI_LETTER_1 | Hindi vowels |
HINDI_LETTER_2 | Hindi consonants |
HINDI_ARABIC | Hindi numbers |
HINDI_CARDINAL_TEXT | Hindi descriptive (cardinals) |
THAI_LETTER | Thai letters |
THAI_ARABIC | Thai numbers |
THAI_CARDINAL_TEXT | Thai descriptive (cardinals) |
VIET_CARDINAL_TEXT | Vietnamese descriptive (cardinals) |
NUMBER_IN_DASH | Page number format: - 1 -, - 2 -, - 3 -, - 4 - |
LOWERCASE_RUSSIAN | Lowercase Russian alphabet |
UPPERCASE_RUSSIAN | Uppercase Russian alphabet |
NONE | No bullet or number. |
CUSTOM | Custom number format. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of NumberStyle values. |
Methods
| Signature | Description |
|---|---|
getName(numberStyle: int) → String | Returns JAVA_STYLE string representation of integer NumberStyle value. |
toString(numberStyle: int) → String | Returns DotNetStyle string representation of integer NumberStyle value. |
fromName(numberStyleName: String) → int | Returns integer representation by NumberStyle name. |
getValues() → int[] | Returns array of NumberStyle values. |