Package com.aowagie.text
Class ElementTags
- java.lang.Object
-
- com.aowagie.text.ElementTags
-
public class ElementTags extends java.lang.Object
A class that contains all the possible tagnames and their attributes.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ABSOLUTEX
attribute of the image tagstatic java.lang.String
ABSOLUTEY
attribute of the image tagstatic java.lang.String
ALIGN
attribute of paragraph/image/table tagprivate static java.lang.String
ALIGN_BASELINE
the possible value of an alignment attributeprivate static java.lang.String
ALIGN_BOTTOM
the possible value of an alignment attribute(package private) static java.lang.String
ALIGN_CENTER
the possible value of an alignment attributestatic java.lang.String
ALIGN_INDENTATION_ITEMS
a possible list attribute(package private) static java.lang.String
ALIGN_JUSTIFIED
the possible value of an alignment attribute(package private) static java.lang.String
ALIGN_JUSTIFIED_ALL
the possible value of an alignment attributestatic java.lang.String
ALIGN_LEFT
the possible value of an alignment attributestatic java.lang.String
ALIGN_MIDDLE
the possible value of an alignment attributestatic java.lang.String
ALIGN_RIGHT
the possible value of an alignment attributeprivate static java.lang.String
ALIGN_TOP
the possible value of an alignment attributestatic java.lang.String
ALT
attribute of the image tagstatic java.lang.String
ANCHOR
the anchor tagstatic java.lang.String
ANNOTATION
the annotation tag(package private) static java.lang.String
AUTHOR
attribute of the root tagstatic java.lang.String
AUTO_INDENT_ITEMS
a possible list attributestatic java.lang.String
BACKGROUNDCOLOR
attribute of the table/cell tagstatic java.lang.String
BGBLUE
attribute of the table/cell tagstatic java.lang.String
BGGREEN
attribute of the table/cell tagstatic java.lang.String
BGRED
attribute of the table/cell tagstatic java.lang.String
BLUE
attribute of the chunk/table/cell tagstatic java.lang.String
BORDERCOLOR
attribute of the table/cell tagstatic java.lang.String
BORDERWIDTH
attribute of the table/cell tagstatic java.lang.String
BOTTOM
attribute of the table/cell tagstatic java.lang.String
CELL
the cell tagstatic java.lang.String
CELLPADDING
attribute of the table tagstatic java.lang.String
CELLSFITPAGE
attribute of the table tagstatic java.lang.String
CELLSPACING
attribute of the table tagstatic java.lang.String
CHAPTER
the chapter tagstatic java.lang.String
CHUNK
the chunk tagstatic java.lang.String
COLOR
attribute of the chunk/table/cell tagstatic java.lang.String
COLSPAN
attribute of the cell tagstatic java.lang.String
COLUMNS
attribute of the table tagstatic java.lang.String
CONTENT
attribute of the annotation tagstatic java.lang.String
CONVERT2PDFP
attribute of the table tag(package private) static java.lang.String
CREATIONDATE
attribute of the root tagprivate static java.lang.String
DEFAULT
the possible value of an alignment attributestatic java.lang.String
DESTINATION
attribute of the annotation tag(package private) static java.lang.String
EMBEDDED
attribute of the chunk tag(package private) static java.lang.String
ENCODING
attribute of the chunk tagstatic java.lang.String
ENTITY
the chunk tagstatic java.lang.String
FILE
attribute of the annotation tagstatic java.lang.String
FIRST
attribute of list tagstatic java.lang.String
FONT
the possible value of an alignment attributestatic java.lang.String
GENERICTAG
attribute of the chunk tagstatic java.lang.String
GRAYFILL
attribute of the table/cell tagstatic java.lang.String
GREEN
attribute of the chunk/table/cell tagstatic java.lang.String
HEADER
attribute of the cell tagstatic java.lang.String
HORIZONTALALIGN
attribute of the cell tagstatic java.lang.String
HORIZONTALRULE
the possible value of a tagstatic java.lang.String
ID
the chunk tagstatic java.lang.String
IGNORE
the chunk tagstatic java.lang.String
IMAGE
the image tagstatic java.lang.String
INDENT
attribute of section/chapter tagstatic java.lang.String
INDENTATIONLEFT
attribute of list tagstatic java.lang.String
INDENTATIONRIGHT
attribute of list tagstatic java.lang.String
ITEXT
the root tag.(package private) static java.lang.String
KEYWORDS
attribute of the root tagstatic java.lang.String
LASTHEADERROW
attribute of the table tagstatic java.lang.String
LEADING
attribute of phrase/paragraph/cell tagstatic java.lang.String
LEFT
attribute of chapter/section/paragraph/table/cell tagstatic java.lang.String
LETTERED
attribute of the list tagstatic java.lang.String
LIST
the list tagstatic java.lang.String
LISTITEM
the listitem tagstatic java.lang.String
LISTSYMBOL
attribute of list tagstatic java.lang.String
LLX
attribute of the annotation tagstatic java.lang.String
LLY
attribute of the annotation tagstatic java.lang.String
LOCALDESTINATION
attribute of the chunk tagstatic java.lang.String
LOCALGOTO
attribute of the chunk tagstatic java.lang.String
LOWERCASE
a possible list attributestatic java.lang.String
NAME
attribute of anchor tagstatic java.lang.String
NAMED
attribute of the annotation tagstatic java.lang.String
NEWLINE
the newpage tagstatic java.lang.String
NEWPAGE
the newpage tagstatic java.lang.String
NOWRAP
attribute of the cell tagstatic java.lang.String
NUMBERDEPTH
attribute of section/chapter tagstatic java.lang.String
NUMBERED
attribute of list tagstatic java.lang.String
OFFSET
attribute of the table tagstatic java.lang.String
ORIENTATION
the possible value of a tagstatic java.lang.String
PAGE
attribute of the annotation tagstatic java.lang.String
PAGE_SIZE
the possible value of a tagstatic java.lang.String
PARAGRAPH
the paragraph tagstatic java.lang.String
PHRASE
the phrase tagstatic java.lang.String
PLAINHEIGHT
attribute of the image tagstatic java.lang.String
PLAINWIDTH
attribute of the image tag(package private) static java.lang.String
PRODUCER
attribute of the root tagstatic java.lang.String
RED
attribute of the chunk/table/cell tagstatic java.lang.String
REFERENCE
attribute of anchor tagstatic java.lang.String
REMOTEGOTO
attribute of the chunk tagstatic java.lang.String
RIGHT
attribute of chapter/section/paragraph/table/cell tagstatic java.lang.String
ROTATION
attribute of the image tagstatic java.lang.String
ROW
the cell tagstatic java.lang.String
ROWSPAN
attribute of the cell tagstatic java.lang.String
SECTION
the section tagstatic java.lang.String
SIZE
the possible value of an alignment attributestatic java.lang.String
SRC
attribute of the image or iframe tagstatic java.lang.String
STYLE
the possible value of an alignment attribute(package private) static java.lang.String
SUBJECT
attribute of the root tagstatic java.lang.String
SUBSUPSCRIPT
attribute of the chunk tagstatic java.lang.String
SYMBOLINDENT
attribute of list tagstatic java.lang.String
TABLE
the table tagstatic java.lang.String
TABLEFITSPAGE
attribute of the table tagstatic java.lang.String
TEXTWRAP
attribute of the image tagstatic java.lang.String
TITLE
attribute of the root and annotation tag (also a special tag within a chapter or section)static java.lang.String
TOP
attribute of the table/cell tagstatic java.lang.String
UNDERLYING
attribute of the image tag(package private) static java.lang.String
UNKNOWN
the possible value of an alignment attributestatic java.lang.String
URL
attribute of the image and annotation tagstatic java.lang.String
URX
attribute of the annotation tagstatic java.lang.String
URY
attribute of the annotation tagstatic java.lang.String
VERTICALALIGN
attribute of the cell tagstatic java.lang.String
WIDTH
attribute of the table/cell tagstatic java.lang.String
WIDTHS
attribute of the table tag
-
Constructor Summary
Constructors Constructor Description ElementTags()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static int
alignmentValue(java.lang.String alignment)
Translates a String value to an alignment value.
-
-
-
Field Detail
-
ITEXT
public static final java.lang.String ITEXT
the root tag.- See Also:
- Constant Field Values
-
TITLE
public static final java.lang.String TITLE
attribute of the root and annotation tag (also a special tag within a chapter or section)- See Also:
- Constant Field Values
-
SUBJECT
static final java.lang.String SUBJECT
attribute of the root tag- See Also:
- Constant Field Values
-
KEYWORDS
static final java.lang.String KEYWORDS
attribute of the root tag- See Also:
- Constant Field Values
-
AUTHOR
static final java.lang.String AUTHOR
attribute of the root tag- See Also:
- Constant Field Values
-
CREATIONDATE
static final java.lang.String CREATIONDATE
attribute of the root tag- See Also:
- Constant Field Values
-
PRODUCER
static final java.lang.String PRODUCER
attribute of the root tag- See Also:
- Constant Field Values
-
CHAPTER
public static final java.lang.String CHAPTER
the chapter tag- See Also:
- Constant Field Values
-
SECTION
public static final java.lang.String SECTION
the section tag- See Also:
- Constant Field Values
-
NUMBERDEPTH
public static final java.lang.String NUMBERDEPTH
attribute of section/chapter tag- See Also:
- Constant Field Values
-
INDENT
public static final java.lang.String INDENT
attribute of section/chapter tag- See Also:
- Constant Field Values
-
LEFT
public static final java.lang.String LEFT
attribute of chapter/section/paragraph/table/cell tag- See Also:
- Constant Field Values
-
RIGHT
public static final java.lang.String RIGHT
attribute of chapter/section/paragraph/table/cell tag- See Also:
- Constant Field Values
-
PHRASE
public static final java.lang.String PHRASE
the phrase tag- See Also:
- Constant Field Values
-
ANCHOR
public static final java.lang.String ANCHOR
the anchor tag- See Also:
- Constant Field Values
-
LIST
public static final java.lang.String LIST
the list tag- See Also:
- Constant Field Values
-
LISTITEM
public static final java.lang.String LISTITEM
the listitem tag- See Also:
- Constant Field Values
-
PARAGRAPH
public static final java.lang.String PARAGRAPH
the paragraph tag- See Also:
- Constant Field Values
-
LEADING
public static final java.lang.String LEADING
attribute of phrase/paragraph/cell tag- See Also:
- Constant Field Values
-
ALIGN
public static final java.lang.String ALIGN
attribute of paragraph/image/table tag- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
attribute of anchor tag- See Also:
- Constant Field Values
-
REFERENCE
public static final java.lang.String REFERENCE
attribute of anchor tag- See Also:
- Constant Field Values
-
LISTSYMBOL
public static final java.lang.String LISTSYMBOL
attribute of list tag- See Also:
- Constant Field Values
-
NUMBERED
public static final java.lang.String NUMBERED
attribute of list tag- See Also:
- Constant Field Values
-
LETTERED
public static final java.lang.String LETTERED
attribute of the list tag- See Also:
- Constant Field Values
-
FIRST
public static final java.lang.String FIRST
attribute of list tag- See Also:
- Constant Field Values
-
SYMBOLINDENT
public static final java.lang.String SYMBOLINDENT
attribute of list tag- See Also:
- Constant Field Values
-
INDENTATIONLEFT
public static final java.lang.String INDENTATIONLEFT
attribute of list tag- See Also:
- Constant Field Values
-
INDENTATIONRIGHT
public static final java.lang.String INDENTATIONRIGHT
attribute of list tag- See Also:
- Constant Field Values
-
IGNORE
public static final java.lang.String IGNORE
the chunk tag- See Also:
- Constant Field Values
-
ENTITY
public static final java.lang.String ENTITY
the chunk tag- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
the chunk tag- See Also:
- Constant Field Values
-
CHUNK
public static final java.lang.String CHUNK
the chunk tag- See Also:
- Constant Field Values
-
ENCODING
static final java.lang.String ENCODING
attribute of the chunk tag- See Also:
- Constant Field Values
-
EMBEDDED
static final java.lang.String EMBEDDED
attribute of the chunk tag- See Also:
- Constant Field Values
-
COLOR
public static final java.lang.String COLOR
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
RED
public static final java.lang.String RED
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
GREEN
public static final java.lang.String GREEN
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
BLUE
public static final java.lang.String BLUE
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
SUBSUPSCRIPT
public static final java.lang.String SUBSUPSCRIPT
attribute of the chunk tag
-
LOCALGOTO
public static final java.lang.String LOCALGOTO
attribute of the chunk tag
-
REMOTEGOTO
public static final java.lang.String REMOTEGOTO
attribute of the chunk tag
-
LOCALDESTINATION
public static final java.lang.String LOCALDESTINATION
attribute of the chunk tag
-
GENERICTAG
public static final java.lang.String GENERICTAG
attribute of the chunk tag
-
TABLE
public static final java.lang.String TABLE
the table tag- See Also:
- Constant Field Values
-
ROW
public static final java.lang.String ROW
the cell tag- See Also:
- Constant Field Values
-
CELL
public static final java.lang.String CELL
the cell tag- See Also:
- Constant Field Values
-
COLUMNS
public static final java.lang.String COLUMNS
attribute of the table tag- See Also:
- Constant Field Values
-
LASTHEADERROW
public static final java.lang.String LASTHEADERROW
attribute of the table tag- See Also:
- Constant Field Values
-
CELLPADDING
public static final java.lang.String CELLPADDING
attribute of the table tag- See Also:
- Constant Field Values
-
CELLSPACING
public static final java.lang.String CELLSPACING
attribute of the table tag- See Also:
- Constant Field Values
-
OFFSET
public static final java.lang.String OFFSET
attribute of the table tag- See Also:
- Constant Field Values
-
WIDTHS
public static final java.lang.String WIDTHS
attribute of the table tag- See Also:
- Constant Field Values
-
TABLEFITSPAGE
public static final java.lang.String TABLEFITSPAGE
attribute of the table tag- See Also:
- Constant Field Values
-
CELLSFITPAGE
public static final java.lang.String CELLSFITPAGE
attribute of the table tag- See Also:
- Constant Field Values
-
CONVERT2PDFP
public static final java.lang.String CONVERT2PDFP
attribute of the table tag- See Also:
- Constant Field Values
-
HORIZONTALALIGN
public static final java.lang.String HORIZONTALALIGN
attribute of the cell tag- See Also:
- Constant Field Values
-
VERTICALALIGN
public static final java.lang.String VERTICALALIGN
attribute of the cell tag- See Also:
- Constant Field Values
-
COLSPAN
public static final java.lang.String COLSPAN
attribute of the cell tag- See Also:
- Constant Field Values
-
ROWSPAN
public static final java.lang.String ROWSPAN
attribute of the cell tag- See Also:
- Constant Field Values
-
HEADER
public static final java.lang.String HEADER
attribute of the cell tag- See Also:
- Constant Field Values
-
NOWRAP
public static final java.lang.String NOWRAP
attribute of the cell tag- See Also:
- Constant Field Values
-
BORDERWIDTH
public static final java.lang.String BORDERWIDTH
attribute of the table/cell tag- See Also:
- Constant Field Values
-
TOP
public static final java.lang.String TOP
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BOTTOM
public static final java.lang.String BOTTOM
attribute of the table/cell tag- See Also:
- Constant Field Values
-
WIDTH
public static final java.lang.String WIDTH
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BORDERCOLOR
public static final java.lang.String BORDERCOLOR
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BACKGROUNDCOLOR
public static final java.lang.String BACKGROUNDCOLOR
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BGRED
public static final java.lang.String BGRED
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BGGREEN
public static final java.lang.String BGGREEN
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BGBLUE
public static final java.lang.String BGBLUE
attribute of the table/cell tag- See Also:
- Constant Field Values
-
GRAYFILL
public static final java.lang.String GRAYFILL
attribute of the table/cell tag- See Also:
- Constant Field Values
-
IMAGE
public static final java.lang.String IMAGE
the image tag- See Also:
- Constant Field Values
-
URL
public static final java.lang.String URL
attribute of the image and annotation tag- See Also:
- Constant Field Values
-
UNDERLYING
public static final java.lang.String UNDERLYING
attribute of the image tag- See Also:
- Constant Field Values
-
TEXTWRAP
public static final java.lang.String TEXTWRAP
attribute of the image tag- See Also:
- Constant Field Values
-
ALT
public static final java.lang.String ALT
attribute of the image tag- See Also:
- Constant Field Values
-
ABSOLUTEX
public static final java.lang.String ABSOLUTEX
attribute of the image tag- See Also:
- Constant Field Values
-
ABSOLUTEY
public static final java.lang.String ABSOLUTEY
attribute of the image tag- See Also:
- Constant Field Values
-
PLAINWIDTH
public static final java.lang.String PLAINWIDTH
attribute of the image tag- See Also:
- Constant Field Values
-
PLAINHEIGHT
public static final java.lang.String PLAINHEIGHT
attribute of the image tag- See Also:
- Constant Field Values
-
ROTATION
public static final java.lang.String ROTATION
attribute of the image tag- See Also:
- Constant Field Values
-
NEWPAGE
public static final java.lang.String NEWPAGE
the newpage tag- See Also:
- Constant Field Values
-
NEWLINE
public static final java.lang.String NEWLINE
the newpage tag- See Also:
- Constant Field Values
-
ANNOTATION
public static final java.lang.String ANNOTATION
the annotation tag- See Also:
- Constant Field Values
-
FILE
public static final java.lang.String FILE
attribute of the annotation tag- See Also:
- Constant Field Values
-
DESTINATION
public static final java.lang.String DESTINATION
attribute of the annotation tag- See Also:
- Constant Field Values
-
PAGE
public static final java.lang.String PAGE
attribute of the annotation tag- See Also:
- Constant Field Values
-
NAMED
public static final java.lang.String NAMED
attribute of the annotation tag- See Also:
- Constant Field Values
-
LLX
public static final java.lang.String LLX
attribute of the annotation tag- See Also:
- Constant Field Values
-
LLY
public static final java.lang.String LLY
attribute of the annotation tag- See Also:
- Constant Field Values
-
URX
public static final java.lang.String URX
attribute of the annotation tag- See Also:
- Constant Field Values
-
URY
public static final java.lang.String URY
attribute of the annotation tag- See Also:
- Constant Field Values
-
CONTENT
public static final java.lang.String CONTENT
attribute of the annotation tag- See Also:
- Constant Field Values
-
ALIGN_LEFT
public static final java.lang.String ALIGN_LEFT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_CENTER
static final java.lang.String ALIGN_CENTER
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_RIGHT
public static final java.lang.String ALIGN_RIGHT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_JUSTIFIED
static final java.lang.String ALIGN_JUSTIFIED
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_JUSTIFIED_ALL
static final java.lang.String ALIGN_JUSTIFIED_ALL
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_TOP
private static final java.lang.String ALIGN_TOP
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_MIDDLE
public static final java.lang.String ALIGN_MIDDLE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_BOTTOM
private static final java.lang.String ALIGN_BOTTOM
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_BASELINE
private static final java.lang.String ALIGN_BASELINE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
DEFAULT
private static final java.lang.String DEFAULT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
UNKNOWN
static final java.lang.String UNKNOWN
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
FONT
public static final java.lang.String FONT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
SIZE
public static final java.lang.String SIZE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
STYLE
public static final java.lang.String STYLE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
HORIZONTALRULE
public static final java.lang.String HORIZONTALRULE
the possible value of a tag- See Also:
- Constant Field Values
-
PAGE_SIZE
public static final java.lang.String PAGE_SIZE
the possible value of a tag- See Also:
- Constant Field Values
-
ORIENTATION
public static final java.lang.String ORIENTATION
the possible value of a tag- See Also:
- Constant Field Values
-
ALIGN_INDENTATION_ITEMS
public static final java.lang.String ALIGN_INDENTATION_ITEMS
a possible list attribute- See Also:
- Constant Field Values
-
AUTO_INDENT_ITEMS
public static final java.lang.String AUTO_INDENT_ITEMS
a possible list attribute- See Also:
- Constant Field Values
-
LOWERCASE
public static final java.lang.String LOWERCASE
a possible list attribute- See Also:
- Constant Field Values
-
SRC
public static final java.lang.String SRC
attribute of the image or iframe tag- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
-
Method Detail
-
alignmentValue
static int alignmentValue(java.lang.String alignment)
Translates a String value to an alignment value. (written by Norman Richards, integrated into iText by Bruno)- Parameters:
alignment
- a String (one of the ALIGN_ constants of this class)- Returns:
- an alignment value (one of the ALIGN_ constants of the Element interface)
-
-