java.lang.Object
org.openpdf.text.List
org.openpdf.text.ZapfDingbatsNumberList
- All Implemented Interfaces:
Element,TextElementArray
A special-version of
LIST which use zapfdingbats-numbers (1..10).- Author:
- Michael Niedermair and Bruno Lowagie
- See Also:
-
Field Summary
FieldsFields inherited from class org.openpdf.text.List
alignindent, ALPHABETICAL, autoindent, first, indentationLeft, indentationRight, lettered, list, lowercase, LOWERCASE, numbered, NUMERICAL, ORDERED, postSymbol, preSymbol, symbol, symbolIndent, UNORDERED, UPPERCASEFields inherited from interface org.openpdf.text.Element
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, FOOTNOTE, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MODIFICATIONDATE, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK -
Constructor Summary
ConstructorsConstructorDescriptionZapfDingbatsNumberList(int type) Creates a ZapdDingbatsNumberListZapfDingbatsNumberList(int type, int symbolIndent) Creates a ZapdDingbatsNumberList -
Method Summary
Methods inherited from class org.openpdf.text.List
add, 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
-
Field Details
-
type
protected int typewhich type
-
-
Constructor Details
-
ZapfDingbatsNumberList
public ZapfDingbatsNumberList(int type) Creates a ZapdDingbatsNumberList- Parameters:
type- the type of list
-
ZapfDingbatsNumberList
public ZapfDingbatsNumberList(int type, int symbolIndent) Creates a ZapdDingbatsNumberList- Parameters:
type- the type of listsymbolIndent- indent
-
-
Method Details
-
getType
public int getType()get the type- Returns:
- char-number
-
setType
public void setType(int type) set the type- Parameters:
type-type
-
add
Adds anElementto theList.- Specified by:
addin interfaceTextElementArray- Overrides:
addin classList- Parameters:
o- the element to add.- Returns:
- true if adding the element succeeded
-
add
Adds aStringto theList.
-