com.lowagie.text
Class RomanList
- Element, TextElementArray
A special-version of LIST which use roman-letters.
ALPHABETICAL, LOWERCASE, NUMBERICAL, ORDERED, UNORDERED, UPPERCASE, alignindent, autoindent, first, indentationLeft, indentationRight, lettered, list, lowercase, markupAttributes, numbered, symbol, symbolIndent |
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITTG3_1D, CCITTG3_2D, CCITTG4, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JPEG, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE |
boolean | add(Object o)- Adds an
Object to the List.
|
boolean | isRomanLower()- Checks if the list is roman-letter with lowercase
|
void | setRomanLower(boolean romanlower)- set the roman-letters to lowercase otherwise to uppercase
|
static String | toRoman(int number)- changes an int into a lower case roman number.
|
static String | toRomanLowerCase(int number)- Changes an int into a lower case roman number.
|
static String | toRomanUpperCase(int number)- Changes an int into an upper case roman number.
|
add, first, getChunks, getItems, getLowerCaseLetter, getUpperCaseLetter, indentationLeft, indentationRight, isAlignindent, isLettered, isLowerCase, isNumbered, isSymbol, isTag, leading, normalizeIndentation, process, setAlignindent, setAutoindent, setFirst, setIndentationLeft, setIndentationRight, setListSymbol, setListSymbol, setLowerCase, size, symbol, symbolIndent, type |
RomanList
public RomanList()
Initialization
RomanList
public RomanList(boolean romanlower,
int symbolIndent) Initialization
romanlower - roman-char in lowercasesymbolIndent - indent
RomanList
public RomanList(int symbolIndent)
Initialization
add
public boolean add(Object o)
Adds an Object to the List.
- add in interface TextElementArray
- add in interface List
- true if adding the object succeeded
isRomanLower
public boolean isRomanLower()
Checks if the list is roman-letter with lowercase
true if the roman-letter is lowercase, false otherwise.
setRomanLower
public void setRomanLower(boolean romanlower)
set the roman-letters to lowercase otherwise to uppercase
toRoman
public static String toRoman(int number)
changes an int into a lower case roman number.
number - the original number
- the roman number (lower case)
toRomanLowerCase
public static String toRomanLowerCase(int number)
Changes an int into a lower case roman number.
number - the original number
- the roman number (lower case)
toRomanUpperCase
public static String toRomanUpperCase(int number)
Changes an int into an upper case roman number.
number - the original number
- the roman number (upper case)