public class RomanList
extends com.lowagie.text.List
LIST
which use roman-letters.List
Modifier and Type | Field and Description |
---|---|
protected String |
listStyleType
UpperCase or LowerCase
|
alignindent, ALPHABETICAL, autoindent, first, indentationLeft, indentationRight, lettered, list, lowercase, LOWERCASE, numbered, NUMERICAL, ORDERED, postSymbol, preSymbol, symbol, symbolIndent, UNORDERED, UPPERCASE
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK
Constructor and Description |
---|
RomanList(int symbolIndent)
Initialization
|
RomanList(String listStyleType,
int symbolIndent)
Initialization
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object o)
Adds an
Object to the List . |
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.
|
getChunks, getFirst, getIndentationLeft, getIndentationRight, getItems, getPostSymbol, getPreSymbol, getSymbol, getSymbolIndent, getTotalLeading, isAlignindent, isAutoindent, isContent, isEmpty, isLettered, isLowercase, isNestable, isNumbered, normalizeIndentation, process, setAlignindent, setAutoindent, setFirst, setIndentationLeft, setIndentationRight, setLettered, setListSymbol, setListSymbol, setLowercase, setNumbered, setPostSymbol, setPreSymbol, setSymbolIndent, size, type
protected String listStyleType
public RomanList(int symbolIndent)
symbolIndent
- indentpublic RomanList(String listStyleType, int symbolIndent)
romanlower
- roman-char in lowercasesymbolIndent
- indentpublic boolean add(Object o)
Object
to the List
.add
in interface com.lowagie.text.TextElementArray
add
in class com.lowagie.text.List
o
- the object to add.public static String toRoman(int number)
number
- the original numberpublic static String toRomanUppercase(int number)
number
- the original numberpublic static String toRomanLowerCase(int number)
number
- the original numberCopyright © 2015. All rights reserved.