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

ValueDescription
ARABICArabic numbering (1, 2, 3, …)
UPPERCASE_ROMANUpper case Roman (I, II, III, …)
LOWERCASE_ROMANLower case Roman (i, ii, iii, …)
UPPERCASE_LETTERUpper case Letter (A, B, C, …)
LOWERCASE_LETTERLower case letter (a, b, c, …)
ORDINALOrdinal (1st, 2nd, 3rd, …)
NUMBERNumbered (One, Two, Three, …)
ORDINAL_TEXTOrdinal (text) (First, Second, Third, …)
HEXHexadecimal: 8, 9, A, B, C, D, E, F, 10, 11, 12
CHICAGO_MANUALChicago Manual of Style: *, †, †
KANJIIdeograph-digital
KANJI_DIGITJapanese counting
AIUEO_HALF_WIDTHAiueo
IROHA_HALF_WIDTHIroha
ARABIC_FULL_WIDTHFull-width Arabic: 1, 2, 3, 4
ARABIC_HALF_WIDTHHalf-width Arabic: 1, 2, 3, 4
KANJI_TRADITIONALJapanese legal
KANJI_TRADITIONAL_2Japanese digital ten thousand
NUMBER_IN_CIRCLEEnclosed circles
DECIMAL_FULL_WIDTHDecimal full width: 1, 2, 3, 4
AIUEOAiueo full width
IROHAIroha full width
LEADING_ZEROLeading Zero (01, 02,…, 09, 10, 11,…, 99, 100, 101,…)
BULLETBullet (check the character code in the text)
GANADAKorean Ganada
CHOSUNGKorea Chosung
GB_1Enclosed full stop
GB_2Enclosed parenthesis
GB_3Enclosed circle Chinese
GB_4Ideograph enclosed circle
ZODIAC_1Ideograph traditional
ZODIAC_2Ideograph Zodiac
ZODIAC_3Ideograph Zodiac traditional
TRAD_CHIN_NUM_1Taiwanese counting
TRAD_CHIN_NUM_2Ideograph legal traditional
TRAD_CHIN_NUM_3Taiwanese counting thousand
TRAD_CHIN_NUM_4Taiwanese digital
SIMP_CHIN_NUM_1Chinese counting
SIMP_CHIN_NUM_2Chinese legal simplified
SIMP_CHIN_NUM_3Chinese counting thousand
SIMP_CHIN_NUM_4Chinese (not implemented)
HANJA_READKorean digital
HANJA_READ_DIGITKorean counting
HANGULKorea legal
HANJAKorea digital2
HEBREW_1Hebrew-1
ARABIC_1Arabic alpha
HEBREW_2Hebrew-2
ARABIC_2Arabic abjad
HINDI_LETTER_1Hindi vowels
HINDI_LETTER_2Hindi consonants
HINDI_ARABICHindi numbers
HINDI_CARDINAL_TEXTHindi descriptive (cardinals)
THAI_LETTERThai letters
THAI_ARABICThai numbers
THAI_CARDINAL_TEXTThai descriptive (cardinals)
VIET_CARDINAL_TEXTVietnamese descriptive (cardinals)
NUMBER_IN_DASHPage number format: - 1 -, - 2 -, - 3 -, - 4 -
LOWERCASE_RUSSIANLowercase Russian alphabet
UPPERCASE_RUSSIANUppercase Russian alphabet
NONENo bullet or number.
CUSTOMCustom number format.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of NumberStyle values.

Methods

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

See Also