com.lowagie.text

Class ElementTags

public class ElementTags extends Object

A class that contains all the possible tagnames and their attributes.
Field Summary
static StringABSOLUTEX
attribute of the image tag
static StringABSOLUTEY
attribute of the image tag
static StringALIGN
attribute of paragraph/image/table tag
static StringALIGN_BASELINE
the possible value of an alignment attribute
static StringALIGN_BOTTOM
the possible value of an alignment attribute
static StringALIGN_CENTER
the possible value of an alignment attribute
static StringALIGN_INDENTATION_ITEMS
a possible list attribute
static StringALIGN_JUSTIFIED
the possible value of an alignment attribute
static StringALIGN_JUSTIFIED_ALL
the possible value of an alignment attribute
static StringALIGN_LEFT
the possible value of an alignment attribute
static StringALIGN_MIDDLE
the possible value of an alignment attribute
static StringALIGN_RIGHT
the possible value of an alignment attribute
static StringALIGN_TOP
the possible value of an alignment attribute
static StringALT
attribute of the image tag
static StringANCHOR
the anchor tag
static StringANNOTATION
the annotation tag
static StringAPPLICATION
attribute of the annotation tag
static StringAUTHOR
attribute of the root tag
static StringAUTO_INDENT_ITEMS
a possible list attribute
static StringBACKGROUNDCOLOR
attribute of the table/cell tag
static StringBGBLUE
attribute of the table/cell tag
static StringBGGREEN
attribute of the table/cell tag
static StringBGRED
attribute of the table/cell tag
static StringBLUE
attribute of the chunk/table/cell tag
static StringBORDERCOLOR
attribute of the table/cell tag
static StringBORDERWIDTH
attribute of the table/cell tag
static StringBOTTOM
attribute of the table/cell tag
static StringCELL
the cell tag
static StringCELLPADDING
attribute of the table tag
static StringCELLSFITPAGE
attribute of the table tag
static StringCELLSPACING
attribute of the table tag
static StringCHAPTER
the chapter tag
static StringCHUNK
the chunk tag
static StringCOLOR
attribute of the chunk/table/cell tag
static StringCOLSPAN
attribute of the cell tag
static StringCOLUMNS
attribute of the table tag
static StringCONTENT
attribute of the annotation tag
static StringCONVERT2PDFP
attribute of the table tag
static StringCREATIONDATE
attribute of the root tag
static StringDEFAULT
the possible value of an alignment attribute
static StringDEFAULTDIR
attribute of the annotation tag
static StringDEPTH
attribute of section/chapter tag
static StringDESTINATION
attribute of the annotation tag
static StringEMBEDDED
attribute of the chunk tag
static StringENCODING
attribute of the chunk tag
static StringENTITY
the chunk tag
static StringFACE
a possible list attribute
static StringFILE
attribute of the annotation tag
static StringFIRST
attribute of list tag
static StringFONT
the possible value of an alignment attribute
static StringGENERICTAG
attribute of the chunk tag
static StringGRAYFILL
attribute of the table/cell tag
static StringGREEN
attribute of the chunk/table/cell tag
static StringHEADER
attribute of the cell tag
static StringHORIZONTALALIGN
attribute of the cell tag
static StringHORIZONTALRULE
the possible value of a tag
static StringID
the chunk tag
static StringIGNORE
the chunk tag
static StringIMAGE
the image tag
static StringINDENT
attribute of section/chapter tag
static StringINDENTATIONLEFT
attribute of list tag
static StringINDENTATIONRIGHT
attribute of list tag
static StringITEXT
the root tag.
static StringKEEPTOGETHER
attribute of paragraph
static StringKEYWORDS
attribute of the root tag
static StringLASTHEADERROW
attribute of the table tag
static StringLEADING
attribute of phrase/paragraph/cell tag
static StringLEFT
attribute of chapter/section/paragraph/table/cell tag
static StringLETTERED
attribute of the list tag
static StringLIST
the list tag
static StringLISTITEM
the listitem tag
static StringLISTSYMBOL
attribute of list tag
static StringLLX
attribute of the annotation tag
static StringLLY
attribute of the annotation tag
static StringLOCALDESTINATION
attribute of the chunk tag
static StringLOCALGOTO
attribute of the chunk tag
static StringLOWERCASE
a possible list attribute
static StringNAME
attribute of anchor tag
static StringNAMED
attribute of the annotation tag
static StringNEWLINE
the newpage tag
static StringNEWPAGE
the newpage tag
static StringNOWRAP
attribute of the cell tag
static StringNUMBER
attribute of section/chapter tag
static StringNUMBERDEPTH
attribute of section/chapter tag
static StringNUMBERED
attribute of list tag
static StringOFFSET
attribute of the table tag
static StringOPERATION
attribute of the annotation tag
static StringORIENTATION
the possible value of a tag
static StringPAGE
attribute of the annotation tag
static StringPAGE_SIZE
the possible value of a tag
static StringPARAGRAPH
the paragraph tag
static StringPARAMETERS
attribute of the annotation tag
static StringPHRASE
the phrase tag
static StringPLAINHEIGHT
attribute of the image tag
static StringPLAINWIDTH
attribute of the image tag
static StringPRODUCER
attribute of the root tag
static StringRED
attribute of the chunk/table/cell tag
static StringREFERENCE
attribute of anchor tag
static StringREMOTEGOTO
attribute of the chunk tag
static StringRIGHT
attribute of chapter/section/paragraph/table/cell tag
static StringROTATION
attribute of the image tag
static StringROW
the cell tag
static StringROWSPAN
attribute of the cell tag
static StringSCALEDHEIGHT
attribute of the image tag
static StringSCALEDWIDTH
attribute of the image tag
static StringSECTION
the section tag
static StringSIZE
the possible value of an alignment attribute
static StringSRC
attribute of the image or iframe tag
static StringSTYLE
the possible value of an alignment attribute
static StringSUBJECT
attribute of the root tag
static StringSUBSUPSCRIPT
attribute of the chunk tag
static StringSYMBOLINDENT
attribute of list tag
static StringTABLE
the table tag
static StringTABLEFITSPAGE
attribute of the table tag
static StringTEXTWRAP
attribute of the image tag
static StringTITLE
attribute of the root and annotation tag (also a special tag within a chapter or section)
static StringTOP
attribute of the table/cell tag
static StringUNDERLYING
attribute of the image tag
static StringUNKNOWN
the possible value of an alignment attribute
static StringURL
attribute of the image and annotation tag
static StringURX
attribute of the annotation tag
static StringURY
attribute of the annotation tag
static StringVERTICALALIGN
attribute of the cell tag
static StringWIDTH
attribute of the table/cell tag
static StringWIDTHS
attribute of the table tag
Method Summary
static intalignmentValue(String alignment)
Translates a String value to an alignment value. (written by Norman Richards, integrated into iText by Bruno)
static StringgetAlignment(int alignment)
Translates the alignment value to a String value.

Field Detail

ABSOLUTEX

public static final String ABSOLUTEX
attribute of the image tag

ABSOLUTEY

public static final String ABSOLUTEY
attribute of the image tag

ALIGN

public static final String ALIGN
attribute of paragraph/image/table tag

ALIGN_BASELINE

public static final String ALIGN_BASELINE
the possible value of an alignment attribute

ALIGN_BOTTOM

public static final String ALIGN_BOTTOM
the possible value of an alignment attribute

ALIGN_CENTER

public static final String ALIGN_CENTER
the possible value of an alignment attribute

ALIGN_INDENTATION_ITEMS

public static final String ALIGN_INDENTATION_ITEMS
a possible list attribute

ALIGN_JUSTIFIED

public static final String ALIGN_JUSTIFIED
the possible value of an alignment attribute

ALIGN_JUSTIFIED_ALL

public static final String ALIGN_JUSTIFIED_ALL
the possible value of an alignment attribute

ALIGN_LEFT

public static final String ALIGN_LEFT
the possible value of an alignment attribute

ALIGN_MIDDLE

public static final String ALIGN_MIDDLE
the possible value of an alignment attribute

ALIGN_RIGHT

public static final String ALIGN_RIGHT
the possible value of an alignment attribute

ALIGN_TOP

public static final String ALIGN_TOP
the possible value of an alignment attribute

ALT

public static final String ALT
attribute of the image tag

ANCHOR

public static final String ANCHOR
the anchor tag

ANNOTATION

public static final String ANNOTATION
the annotation tag

APPLICATION

public static final String APPLICATION
attribute of the annotation tag

AUTHOR

public static final String AUTHOR
attribute of the root tag

AUTO_INDENT_ITEMS

public static final String AUTO_INDENT_ITEMS
a possible list attribute

BACKGROUNDCOLOR

public static final String BACKGROUNDCOLOR
attribute of the table/cell tag

BGBLUE

public static final String BGBLUE
attribute of the table/cell tag

BGGREEN

public static final String BGGREEN
attribute of the table/cell tag

BGRED

public static final String BGRED
attribute of the table/cell tag

BLUE

public static final String BLUE
attribute of the chunk/table/cell tag

BORDERCOLOR

public static final String BORDERCOLOR
attribute of the table/cell tag

BORDERWIDTH

public static final String BORDERWIDTH
attribute of the table/cell tag

BOTTOM

public static final String BOTTOM
attribute of the table/cell tag

CELL

public static final String CELL
the cell tag

CELLPADDING

public static final String CELLPADDING
attribute of the table tag

CELLSFITPAGE

public static final String CELLSFITPAGE
attribute of the table tag

CELLSPACING

public static final String CELLSPACING
attribute of the table tag

CHAPTER

public static final String CHAPTER
the chapter tag

CHUNK

public static final String CHUNK
the chunk tag

COLOR

public static final String COLOR
attribute of the chunk/table/cell tag

COLSPAN

public static final String COLSPAN
attribute of the cell tag

COLUMNS

public static final String COLUMNS
attribute of the table tag

CONTENT

public static final String CONTENT
attribute of the annotation tag

CONVERT2PDFP

public static final String CONVERT2PDFP
attribute of the table tag

CREATIONDATE

public static final String CREATIONDATE
attribute of the root tag

DEFAULT

public static final String DEFAULT
the possible value of an alignment attribute

DEFAULTDIR

public static final String DEFAULTDIR
attribute of the annotation tag

DEPTH

public static final String DEPTH
attribute of section/chapter tag

DESTINATION

public static final String DESTINATION
attribute of the annotation tag

EMBEDDED

public static final String EMBEDDED
attribute of the chunk tag

ENCODING

public static final String ENCODING
attribute of the chunk tag

ENTITY

public static final String ENTITY
the chunk tag

FACE

public static final String FACE
a possible list attribute

Since: 2.1.3

FILE

public static final String FILE
attribute of the annotation tag

FIRST

public static final String FIRST
attribute of list tag

FONT

public static final String FONT
the possible value of an alignment attribute

GENERICTAG

public static final String GENERICTAG
attribute of the chunk tag

GRAYFILL

public static final String GRAYFILL
attribute of the table/cell tag

GREEN

public static final String GREEN
attribute of the chunk/table/cell tag

HEADER

public static final String HEADER
attribute of the cell tag

HORIZONTALALIGN

public static final String HORIZONTALALIGN
attribute of the cell tag

HORIZONTALRULE

public static final String HORIZONTALRULE
the possible value of a tag

ID

public static final String ID
the chunk tag

IGNORE

public static final String IGNORE
the chunk tag

IMAGE

public static final String IMAGE
the image tag

INDENT

public static final String INDENT
attribute of section/chapter tag

INDENTATIONLEFT

public static final String INDENTATIONLEFT
attribute of list tag

INDENTATIONRIGHT

public static final String INDENTATIONRIGHT
attribute of list tag

ITEXT

public static final String ITEXT
the root tag.

KEEPTOGETHER

public static final String KEEPTOGETHER
attribute of paragraph

KEYWORDS

public static final String KEYWORDS
attribute of the root tag

LASTHEADERROW

public static final String LASTHEADERROW
attribute of the table tag

LEADING

public static final String LEADING
attribute of phrase/paragraph/cell tag

LEFT

public static final String LEFT
attribute of chapter/section/paragraph/table/cell tag

LETTERED

public static final String LETTERED
attribute of the list tag

LIST

public static final String LIST
the list tag

LISTITEM

public static final String LISTITEM
the listitem tag

LISTSYMBOL

public static final String LISTSYMBOL
attribute of list tag

LLX

public static final String LLX
attribute of the annotation tag

LLY

public static final String LLY
attribute of the annotation tag

LOCALDESTINATION

public static final String LOCALDESTINATION
attribute of the chunk tag

LOCALGOTO

public static final String LOCALGOTO
attribute of the chunk tag

LOWERCASE

public static final String LOWERCASE
a possible list attribute

NAME

public static final String NAME
attribute of anchor tag

NAMED

public static final String NAMED
attribute of the annotation tag

NEWLINE

public static final String NEWLINE
the newpage tag

NEWPAGE

public static final String NEWPAGE
the newpage tag

NOWRAP

public static final String NOWRAP
attribute of the cell tag

NUMBER

public static final String NUMBER
attribute of section/chapter tag

NUMBERDEPTH

public static final String NUMBERDEPTH
attribute of section/chapter tag

NUMBERED

public static final String NUMBERED
attribute of list tag

OFFSET

public static final String OFFSET
attribute of the table tag

OPERATION

public static final String OPERATION
attribute of the annotation tag

ORIENTATION

public static final String ORIENTATION
the possible value of a tag

PAGE

public static final String PAGE
attribute of the annotation tag

PAGE_SIZE

public static final String PAGE_SIZE
the possible value of a tag

PARAGRAPH

public static final String PARAGRAPH
the paragraph tag

PARAMETERS

public static final String PARAMETERS
attribute of the annotation tag

PHRASE

public static final String PHRASE
the phrase tag

PLAINHEIGHT

public static final String PLAINHEIGHT
attribute of the image tag

PLAINWIDTH

public static final String PLAINWIDTH
attribute of the image tag

PRODUCER

public static final String PRODUCER
attribute of the root tag

RED

public static final String RED
attribute of the chunk/table/cell tag

REFERENCE

public static final String REFERENCE
attribute of anchor tag

REMOTEGOTO

public static final String REMOTEGOTO
attribute of the chunk tag

RIGHT

public static final String RIGHT
attribute of chapter/section/paragraph/table/cell tag

ROTATION

public static final String ROTATION
attribute of the image tag

ROW

public static final String ROW
the cell tag

ROWSPAN

public static final String ROWSPAN
attribute of the cell tag

SCALEDHEIGHT

public static final String SCALEDHEIGHT
attribute of the image tag

SCALEDWIDTH

public static final String SCALEDWIDTH
attribute of the image tag

SECTION

public static final String SECTION
the section tag

SIZE

public static final String SIZE
the possible value of an alignment attribute

SRC

public static final String SRC
attribute of the image or iframe tag

Since: 2.1.3

STYLE

public static final String STYLE
the possible value of an alignment attribute

SUBJECT

public static final String SUBJECT
attribute of the root tag

SUBSUPSCRIPT

public static final String SUBSUPSCRIPT
attribute of the chunk tag

SYMBOLINDENT

public static final String SYMBOLINDENT
attribute of list tag

TABLE

public static final String TABLE
the table tag

TABLEFITSPAGE

public static final String TABLEFITSPAGE
attribute of the table tag

TEXTWRAP

public static final String TEXTWRAP
attribute of the image tag

TITLE

public static final String TITLE
attribute of the root and annotation tag (also a special tag within a chapter or section)

TOP

public static final String TOP
attribute of the table/cell tag

UNDERLYING

public static final String UNDERLYING
attribute of the image tag

UNKNOWN

public static final String UNKNOWN
the possible value of an alignment attribute

URL

public static final String URL
attribute of the image and annotation tag

URX

public static final String URX
attribute of the annotation tag

URY

public static final String URY
attribute of the annotation tag

VERTICALALIGN

public static final String VERTICALALIGN
attribute of the cell tag

WIDTH

public static final String WIDTH
attribute of the table/cell tag

WIDTHS

public static final String WIDTHS
attribute of the table tag

Method Detail

alignmentValue

public static int alignmentValue(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)

getAlignment

public static String getAlignment(int alignment)
Translates the alignment value to a String value.

Parameters: alignment the alignment value

Returns: the translated value