- java.lang.Object
-
- com.lowagie.text.ElementTags
-
public class ElementTags extends Object
A class that contains all the possible tagnames and their attributes.
-
-
Field Summary
Fields Modifier and Type Field Description static StringABSOLUTEXattribute of the image tagstatic StringABSOLUTEYattribute of the image tagstatic StringALIGNattribute of paragraph/image/table tagstatic StringALIGN_BASELINEthe possible value of an alignment attributestatic StringALIGN_BOTTOMthe possible value of an alignment attributestatic StringALIGN_CENTERthe possible value of an alignment attributestatic StringALIGN_INDENTATION_ITEMSa possible list attributestatic StringALIGN_JUSTIFIEDthe possible value of an alignment attributestatic StringALIGN_JUSTIFIED_ALLthe possible value of an alignment attributestatic StringALIGN_LEFTthe possible value of an alignment attributestatic StringALIGN_MIDDLEthe possible value of an alignment attributestatic StringALIGN_RIGHTthe possible value of an alignment attributestatic StringALIGN_TOPthe possible value of an alignment attributestatic StringALTattribute of the image tagstatic StringANCHORthe anchor tagstatic StringANNOTATIONthe annotation tagstatic StringAPPLICATIONattribute of the annotation tagstatic StringAUTHORattribute of the root tagstatic StringAUTO_INDENT_ITEMSa possible list attributestatic StringBACKGROUNDCOLORattribute of the table/cell tagstatic StringBGBLUEattribute of the table/cell tagstatic StringBGGREENattribute of the table/cell tagstatic StringBGREDattribute of the table/cell tagstatic StringBLUEattribute of the chunk/table/cell tagstatic StringBORDERCOLORattribute of the table/cell tagstatic StringBORDERWIDTHattribute of the table/cell tagstatic StringBOTTOMattribute of the table/cell tagstatic StringCELLthe cell tagstatic StringCELLPADDINGattribute of the table tagstatic StringCELLSFITPAGEattribute of the table tagstatic StringCELLSPACINGattribute of the table tagstatic StringCHAPTERthe chapter tagstatic StringCHUNKthe chunk tagstatic StringCOLORattribute of the chunk/table/cell tagstatic StringCOLSPANattribute of the cell tagstatic StringCOLUMNSattribute of the table tagstatic StringCONTENTattribute of the annotation tagstatic StringCONVERT2PDFPattribute of the table tagstatic StringCREATIONDATEattribute of the root tagstatic StringDEFAULTthe possible value of an alignment attributestatic StringDEFAULTDIRattribute of the annotation tagstatic StringDEPTHattribute of section/chapter tagstatic StringDESTINATIONattribute of the annotation tagstatic StringEMBEDDEDattribute of the chunk tagstatic StringENCODINGattribute of the chunk tagstatic StringENTITYthe chunk tagstatic StringFACEa possible list attributestatic StringFILEattribute of the annotation tagstatic StringFIRSTattribute of list tagstatic StringFONTthe possible value of an alignment attributestatic StringGENERICTAGattribute of the chunk tagstatic StringGRAYFILLattribute of the table/cell tagstatic StringGREENattribute of the chunk/table/cell tagstatic StringHEADERattribute of the cell tagstatic StringHORIZONTALALIGNattribute of the cell tagstatic StringHORIZONTALRULEthe possible value of a tagstatic StringIDthe chunk tagstatic StringIGNOREthe chunk tagstatic StringIMAGEthe image tagstatic StringINDENTattribute of section/chapter tagstatic StringINDENTATIONLEFTattribute of list tagstatic StringINDENTATIONRIGHTattribute of list tagstatic StringITEXTthe root tag.static StringKEEPTOGETHERattribute of paragraphstatic StringKEYWORDSattribute of the root tagstatic StringLASTHEADERROWattribute of the table tagstatic StringLEADINGattribute of phrase/paragraph/cell tagstatic StringLEFTattribute of chapter/section/paragraph/table/cell tagstatic StringLETTEREDattribute of the list tagstatic StringLISTthe list tagstatic StringLISTITEMthe listitem tagstatic StringLISTSYMBOLattribute of list tagstatic StringLLXattribute of the annotation tagstatic StringLLYattribute of the annotation tagstatic StringLOCALDESTINATIONattribute of the chunk tagstatic StringLOCALGOTOattribute of the chunk tagstatic StringLOWERCASEa possible list attributestatic StringNAMEattribute of anchor tagstatic StringNAMEDattribute of the annotation tagstatic StringNEWLINEthe newpage tagstatic StringNEWPAGEthe newpage tagstatic StringNOWRAPattribute of the cell tagstatic StringNUMBERattribute of section/chapter tagstatic StringNUMBERDEPTHattribute of section/chapter tagstatic StringNUMBEREDattribute of list tagstatic StringOFFSETattribute of the table tagstatic StringOPERATIONattribute of the annotation tagstatic StringORIENTATIONthe possible value of a tagstatic StringPAGEattribute of the annotation tagstatic StringPAGE_SIZEthe possible value of a tagstatic StringPARAGRAPHthe paragraph tagstatic StringPARAMETERSattribute of the annotation tagstatic StringPHRASEthe phrase tagstatic StringPLAINHEIGHTattribute of the image tagstatic StringPLAINWIDTHattribute of the image tagstatic StringPRODUCERattribute of the root tagstatic StringREDattribute of the chunk/table/cell tagstatic StringREFERENCEattribute of anchor tagstatic StringREMOTEGOTOattribute of the chunk tagstatic StringRIGHTattribute of chapter/section/paragraph/table/cell tagstatic StringROTATIONattribute of the image tagstatic StringROWthe cell tagstatic StringROWSPANattribute of the cell tagstatic StringSCALEDHEIGHTattribute of the image tagstatic StringSCALEDWIDTHattribute of the image tagstatic StringSECTIONthe section tagstatic StringSIZEthe possible value of an alignment attributestatic StringSRCattribute of the image or iframe tagstatic StringSTYLEthe possible value of an alignment attributestatic StringSUBJECTattribute of the root tagstatic StringSUBSUPSCRIPTattribute of the chunk tagstatic StringSYMBOLINDENTattribute of list tagstatic StringTABLEthe table tagstatic StringTABLEFITSPAGEattribute of the table tagstatic StringTEXTWRAPattribute of the image tagstatic StringTITLEattribute of the root and annotation tag (also a special tag within a chapter or section)static StringTOPattribute of the table/cell tagstatic StringUNDERLYINGattribute of the image tagstatic StringUNKNOWNthe possible value of an alignment attributestatic StringURLattribute of the image and annotation tagstatic StringURXattribute of the annotation tagstatic StringURYattribute of the annotation tagstatic StringVERTICALALIGNattribute of the cell tagstatic StringWIDTHattribute of the table/cell tagstatic StringWIDTHSattribute of the table tag
-
Constructor Summary
Constructors Constructor Description ElementTags()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intalignmentValue(String alignment)Translates a String value to an alignment value.static StringgetAlignment(int alignment)Translates the alignment value to a String value.
-
-
-
Field Detail
-
ITEXT
public static final String ITEXT
the root tag.- See Also:
- Constant Field Values
-
TITLE
public static final String TITLE
attribute of the root and annotation tag (also a special tag within a chapter or section)- See Also:
- Constant Field Values
-
SUBJECT
public static final String SUBJECT
attribute of the root tag- See Also:
- Constant Field Values
-
KEYWORDS
public static final String KEYWORDS
attribute of the root tag- See Also:
- Constant Field Values
-
AUTHOR
public static final String AUTHOR
attribute of the root tag- See Also:
- Constant Field Values
-
CREATIONDATE
public static final String CREATIONDATE
attribute of the root tag- See Also:
- Constant Field Values
-
PRODUCER
public static final String PRODUCER
attribute of the root tag- See Also:
- Constant Field Values
-
CHAPTER
public static final String CHAPTER
the chapter tag- See Also:
- Constant Field Values
-
SECTION
public static final String SECTION
the section tag- See Also:
- Constant Field Values
-
NUMBERDEPTH
public static final String NUMBERDEPTH
attribute of section/chapter tag- See Also:
- Constant Field Values
-
DEPTH
public static final String DEPTH
attribute of section/chapter tag- See Also:
- Constant Field Values
-
NUMBER
public static final String NUMBER
attribute of section/chapter tag- See Also:
- Constant Field Values
-
INDENT
public static final String INDENT
attribute of section/chapter tag- See Also:
- Constant Field Values
-
LEFT
public static final String LEFT
attribute of chapter/section/paragraph/table/cell tag- See Also:
- Constant Field Values
-
RIGHT
public static final String RIGHT
attribute of chapter/section/paragraph/table/cell tag- See Also:
- Constant Field Values
-
PHRASE
public static final String PHRASE
the phrase tag- See Also:
- Constant Field Values
-
ANCHOR
public static final String ANCHOR
the anchor tag- See Also:
- Constant Field Values
-
LIST
public static final String LIST
the list tag- See Also:
- Constant Field Values
-
LISTITEM
public static final String LISTITEM
the listitem tag- See Also:
- Constant Field Values
-
PARAGRAPH
public static final String PARAGRAPH
the paragraph tag- See Also:
- Constant Field Values
-
LEADING
public static final String LEADING
attribute of phrase/paragraph/cell tag- See Also:
- Constant Field Values
-
ALIGN
public static final String ALIGN
attribute of paragraph/image/table tag- See Also:
- Constant Field Values
-
KEEPTOGETHER
public static final String KEEPTOGETHER
attribute of paragraph- See Also:
- Constant Field Values
-
NAME
public static final String NAME
attribute of anchor tag- See Also:
- Constant Field Values
-
REFERENCE
public static final String REFERENCE
attribute of anchor tag- See Also:
- Constant Field Values
-
LISTSYMBOL
public static final String LISTSYMBOL
attribute of list tag- See Also:
- Constant Field Values
-
NUMBERED
public static final String NUMBERED
attribute of list tag- See Also:
- Constant Field Values
-
LETTERED
public static final String LETTERED
attribute of the list tag- See Also:
- Constant Field Values
-
FIRST
public static final String FIRST
attribute of list tag- See Also:
- Constant Field Values
-
SYMBOLINDENT
public static final String SYMBOLINDENT
attribute of list tag- See Also:
- Constant Field Values
-
INDENTATIONLEFT
public static final String INDENTATIONLEFT
attribute of list tag- See Also:
- Constant Field Values
-
INDENTATIONRIGHT
public static final String INDENTATIONRIGHT
attribute of list tag- See Also:
- Constant Field Values
-
IGNORE
public static final String IGNORE
the chunk tag- See Also:
- Constant Field Values
-
ENTITY
public static final String ENTITY
the chunk tag- See Also:
- Constant Field Values
-
ID
public static final String ID
the chunk tag- See Also:
- Constant Field Values
-
CHUNK
public static final String CHUNK
the chunk tag- See Also:
- Constant Field Values
-
ENCODING
public static final String ENCODING
attribute of the chunk tag- See Also:
- Constant Field Values
-
EMBEDDED
public static final String EMBEDDED
attribute of the chunk tag- See Also:
- Constant Field Values
-
COLOR
public static final String COLOR
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
RED
public static final String RED
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
GREEN
public static final String GREEN
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
BLUE
public static final String BLUE
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
SUBSUPSCRIPT
public static final String SUBSUPSCRIPT
attribute of the chunk tag
-
LOCALGOTO
public static final String LOCALGOTO
attribute of the chunk tag
-
REMOTEGOTO
public static final String REMOTEGOTO
attribute of the chunk tag
-
LOCALDESTINATION
public static final String LOCALDESTINATION
attribute of the chunk tag
-
GENERICTAG
public static final String GENERICTAG
attribute of the chunk tag
-
TABLE
public static final String TABLE
the table tag- See Also:
- Constant Field Values
-
ROW
public static final String ROW
the cell tag- See Also:
- Constant Field Values
-
CELL
public static final String CELL
the cell tag- See Also:
- Constant Field Values
-
COLUMNS
public static final String COLUMNS
attribute of the table tag- See Also:
- Constant Field Values
-
LASTHEADERROW
public static final String LASTHEADERROW
attribute of the table tag- See Also:
- Constant Field Values
-
CELLPADDING
public static final String CELLPADDING
attribute of the table tag- See Also:
- Constant Field Values
-
CELLSPACING
public static final String CELLSPACING
attribute of the table tag- See Also:
- Constant Field Values
-
OFFSET
public static final String OFFSET
attribute of the table tag- See Also:
- Constant Field Values
-
WIDTHS
public static final String WIDTHS
attribute of the table tag- See Also:
- Constant Field Values
-
TABLEFITSPAGE
public static final String TABLEFITSPAGE
attribute of the table tag- See Also:
- Constant Field Values
-
CELLSFITPAGE
public static final String CELLSFITPAGE
attribute of the table tag- See Also:
- Constant Field Values
-
CONVERT2PDFP
public static final String CONVERT2PDFP
attribute of the table tag- See Also:
- Constant Field Values
-
HORIZONTALALIGN
public static final String HORIZONTALALIGN
attribute of the cell tag- See Also:
- Constant Field Values
-
VERTICALALIGN
public static final String VERTICALALIGN
attribute of the cell tag- See Also:
- Constant Field Values
-
COLSPAN
public static final String COLSPAN
attribute of the cell tag- See Also:
- Constant Field Values
-
ROWSPAN
public static final String ROWSPAN
attribute of the cell tag- See Also:
- Constant Field Values
-
HEADER
public static final String HEADER
attribute of the cell tag- See Also:
- Constant Field Values
-
NOWRAP
public static final String NOWRAP
attribute of the cell tag- See Also:
- Constant Field Values
-
BORDERWIDTH
public static final String BORDERWIDTH
attribute of the table/cell tag- See Also:
- Constant Field Values
-
TOP
public static final String TOP
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BOTTOM
public static final String BOTTOM
attribute of the table/cell tag- See Also:
- Constant Field Values
-
WIDTH
public static final String WIDTH
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BORDERCOLOR
public static final String BORDERCOLOR
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BACKGROUNDCOLOR
public static final String BACKGROUNDCOLOR
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BGRED
public static final String BGRED
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BGGREEN
public static final String BGGREEN
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BGBLUE
public static final String BGBLUE
attribute of the table/cell tag- See Also:
- Constant Field Values
-
GRAYFILL
public static final String GRAYFILL
attribute of the table/cell tag- See Also:
- Constant Field Values
-
IMAGE
public static final String IMAGE
the image tag- See Also:
- Constant Field Values
-
URL
public static final String URL
attribute of the image and annotation tag- See Also:
- Constant Field Values
-
UNDERLYING
public static final String UNDERLYING
attribute of the image tag- See Also:
- Constant Field Values
-
TEXTWRAP
public static final String TEXTWRAP
attribute of the image tag- See Also:
- Constant Field Values
-
ALT
public static final String ALT
attribute of the image tag- See Also:
- Constant Field Values
-
ABSOLUTEX
public static final String ABSOLUTEX
attribute of the image tag- See Also:
- Constant Field Values
-
ABSOLUTEY
public static final String ABSOLUTEY
attribute of the image tag- See Also:
- Constant Field Values
-
PLAINWIDTH
public static final String PLAINWIDTH
attribute of the image tag- See Also:
- Constant Field Values
-
PLAINHEIGHT
public static final String PLAINHEIGHT
attribute of the image tag- See Also:
- Constant Field Values
-
SCALEDWIDTH
public static final String SCALEDWIDTH
attribute of the image tag- See Also:
- Constant Field Values
-
SCALEDHEIGHT
public static final String SCALEDHEIGHT
attribute of the image tag- See Also:
- Constant Field Values
-
ROTATION
public static final String ROTATION
attribute of the image tag- See Also:
- Constant Field Values
-
NEWPAGE
public static final String NEWPAGE
the newpage tag- See Also:
- Constant Field Values
-
NEWLINE
public static final String NEWLINE
the newpage tag- See Also:
- Constant Field Values
-
ANNOTATION
public static final String ANNOTATION
the annotation tag- See Also:
- Constant Field Values
-
FILE
public static final String FILE
attribute of the annotation tag- See Also:
- Constant Field Values
-
DESTINATION
public static final String DESTINATION
attribute of the annotation tag- See Also:
- Constant Field Values
-
PAGE
public static final String PAGE
attribute of the annotation tag- See Also:
- Constant Field Values
-
NAMED
public static final String NAMED
attribute of the annotation tag- See Also:
- Constant Field Values
-
APPLICATION
public static final String APPLICATION
attribute of the annotation tag- See Also:
- Constant Field Values
-
PARAMETERS
public static final String PARAMETERS
attribute of the annotation tag- See Also:
- Constant Field Values
-
OPERATION
public static final String OPERATION
attribute of the annotation tag- See Also:
- Constant Field Values
-
DEFAULTDIR
public static final String DEFAULTDIR
attribute of the annotation tag- See Also:
- Constant Field Values
-
LLX
public static final String LLX
attribute of the annotation tag- See Also:
- Constant Field Values
-
LLY
public static final String LLY
attribute of the annotation tag- See Also:
- Constant Field Values
-
URX
public static final String URX
attribute of the annotation tag- See Also:
- Constant Field Values
-
URY
public static final String URY
attribute of the annotation tag- See Also:
- Constant Field Values
-
CONTENT
public static final String CONTENT
attribute of the annotation tag- See Also:
- Constant Field Values
-
ALIGN_LEFT
public static final String ALIGN_LEFT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_CENTER
public static final String ALIGN_CENTER
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_RIGHT
public static final String ALIGN_RIGHT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_JUSTIFIED
public static final String ALIGN_JUSTIFIED
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_JUSTIFIED_ALL
public static final String ALIGN_JUSTIFIED_ALL
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_TOP
public static final String ALIGN_TOP
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_MIDDLE
public static final String ALIGN_MIDDLE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_BOTTOM
public static final String ALIGN_BOTTOM
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_BASELINE
public static final String ALIGN_BASELINE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
DEFAULT
public static final String DEFAULT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
UNKNOWN
public static final String UNKNOWN
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
FONT
public static final String FONT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
SIZE
public static final String SIZE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
STYLE
public static final String STYLE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
HORIZONTALRULE
public static final String HORIZONTALRULE
the possible value of a tag- See Also:
- Constant Field Values
-
PAGE_SIZE
public static final String PAGE_SIZE
the possible value of a tag- See Also:
- Constant Field Values
-
ORIENTATION
public static final String ORIENTATION
the possible value of a tag- See Also:
- Constant Field Values
-
ALIGN_INDENTATION_ITEMS
public static final String ALIGN_INDENTATION_ITEMS
a possible list attribute- See Also:
- Constant Field Values
-
AUTO_INDENT_ITEMS
public static final String AUTO_INDENT_ITEMS
a possible list attribute- See Also:
- Constant Field Values
-
LOWERCASE
public static final String LOWERCASE
a possible list attribute- See Also:
- Constant Field Values
-
FACE
public static final String FACE
a possible list attribute- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
SRC
public static final String SRC
attribute of the image or iframe tag- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAlignment
public static String getAlignment(int alignment)
Translates the alignment value to a String value.- Parameters:
alignment- the alignment value- Returns:
- the translated value
-
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)
-
-