public class GreekAlphabetNumbering extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
ALPHABET_LENGTH |
protected static char[] |
ALPHABET_LOWERCASE |
protected static char[] |
ALPHABET_UPPERCASE |
Constructor and Description |
---|
GreekAlphabetNumbering() |
Modifier and Type | Method and Description |
---|---|
static String |
toGreekAlphabetNumber(int number, boolean upperCase)
Converts the given number to its Greek alphabet string representation.
|
static String |
toGreekAlphabetNumber(int number, boolean upperCase, boolean symbolFont)
Converts the given number to its Greek alphabet string representation.
|
static String |
toGreekAlphabetNumberLowerCase(int number)
Converts the given number to its Greek alphabet lowercase string representation.
|
static String |
toGreekAlphabetNumberUpperCase(int number)
Converts the given number to its Greek alphabet uppercase string representation.
|
protected static final char[] ALPHABET_LOWERCASE
protected static final char[] ALPHABET_UPPERCASE
protected static final int ALPHABET_LENGTH
public static String toGreekAlphabetNumberLowerCase(int number)
number
- the number greater than zero to be converted
public static String toGreekAlphabetNumberUpperCase(int number)
number
- the number greater than zero to be converted
public static String toGreekAlphabetNumber(int number, boolean upperCase)
upperCase
set to false, 1 will be converted to a string consisting of a unicode character for greek small letter alpha, 2 - a string consisting of a unicode character for greek small letter beta, 25 - a string consisting of two unicode characters for greek small letter alpha, and so on.
number
- the number greater than zero to be converted
upperCase
- whether to use uppercase or lowercase alphabet
public static String toGreekAlphabetNumber(int number, boolean upperCase, boolean symbolFont)
upperCase
set to false, 1 will be converted to a string consisting of a unicode character for greek small letter alpha if symbolFont
is set to false, otherwise - a string consisting of the corresponding symbol code in Symbol standard font; 26 will be converted to a string consisting of two unicode characters: greek small letter alpha followed by greek small letter beta if symbolFont
is set to false, otherwise - a string consisting of the corresponding sequence of symbol codes in Symbol standard font.
number
- the number greater than zero to be converted
upperCase
- whether to use uppercase or lowercase alphabet
symbolFont
- if true
, then the string representation will be returned ready to write it in Symbol font
Copyright © 1998–2023 iText Group NV. All rights reserved.