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 lowercase 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 to be converted
public static String toGreekAlphabetNumberUpperCase(int number)
number
- the number to be converted
public static String toGreekAlphabetNumber(int number, boolean upperCase)
upperCase
set to false, 1 will be converted to "alpha", 2 to "beta", and so on.
number
- the number 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 "alpha", 2 to "beta", and so on.
number
- the number 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–2018 iText Group NV. All rights reserved.