- java.lang.Object
-
- com.itextpdf.text.ElementTags
-
public class ElementTags extends java.lang.ObjectA class that contains all the possible tagnames and their attributes.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringABSOLUTEXattribute of the image tagstatic java.lang.StringABSOLUTEYattribute of the image tagstatic java.lang.StringALIGNattribute of paragraph/image/table tagstatic java.lang.StringALIGN_BASELINEthe possible value of an alignment attributestatic java.lang.StringALIGN_BOTTOMthe possible value of an alignment attributestatic java.lang.StringALIGN_CENTERthe possible value of an alignment attributestatic java.lang.StringALIGN_INDENTATION_ITEMSa possible list attributestatic java.lang.StringALIGN_JUSTIFIEDthe possible value of an alignment attributestatic java.lang.StringALIGN_JUSTIFIED_ALLthe possible value of an alignment attributestatic java.lang.StringALIGN_LEFTthe possible value of an alignment attributestatic java.lang.StringALIGN_MIDDLEthe possible value of an alignment attributestatic java.lang.StringALIGN_RIGHTthe possible value of an alignment attributestatic java.lang.StringALIGN_TOPthe possible value of an alignment attributestatic java.lang.StringALTattribute of the image tagstatic java.lang.StringANCHORthe anchor tagstatic java.lang.StringANNOTATIONthe annotation tagstatic java.lang.StringAPPLICATIONattribute of the annotation tagstatic java.lang.StringAUTHORattribute of the root tagstatic java.lang.StringAUTO_INDENT_ITEMSa possible list attributestatic java.lang.StringBACKGROUNDCOLORattribute of the table/cell tagstatic java.lang.StringBGBLUEattribute of the table/cell tagstatic java.lang.StringBGGREENattribute of the table/cell tagstatic java.lang.StringBGREDattribute of the table/cell tagstatic java.lang.StringBLUEattribute of the chunk/table/cell tagstatic java.lang.StringBORDERCOLORattribute of the table/cell tagstatic java.lang.StringBORDERWIDTHattribute of the table/cell tagstatic java.lang.StringBOTTOMattribute of the table/cell tagstatic java.lang.StringCELLthe cell tagstatic java.lang.StringCELLPADDINGattribute of the table tagstatic java.lang.StringCELLSFITPAGEattribute of the table tagstatic java.lang.StringCELLSPACINGattribute of the table tagstatic java.lang.StringCHAPTERthe chapter tagstatic java.lang.StringCHUNKthe chunk tagstatic java.lang.StringCOLORattribute of the chunk/table/cell tagstatic java.lang.StringCOLSPANattribute of the cell tagstatic java.lang.StringCOLUMNSattribute of the table tagstatic java.lang.StringCONTENTattribute of the annotation tagstatic java.lang.StringCONVERT2PDFPattribute of the table tagstatic java.lang.StringCREATIONDATEattribute of the root tagstatic java.lang.StringDEFAULTthe possible value of an alignment attributestatic java.lang.StringDEFAULTDIRattribute of the annotation tagstatic java.lang.StringDEPTHattribute of section/chapter tagstatic java.lang.StringDESTINATIONattribute of the annotation tagstatic java.lang.StringEMBEDDEDattribute of the chunk tagstatic java.lang.StringENCODINGattribute of the chunk tagstatic java.lang.StringENTITYthe chunk tagstatic java.lang.StringFACEa possible list attributestatic java.lang.StringFILEattribute of the annotation tagstatic java.lang.StringFIRSTattribute of list tagstatic java.lang.StringFONTthe possible value of an alignment attributestatic java.lang.StringGENERICTAGattribute of the chunk tagstatic java.lang.StringGRAYFILLattribute of the table/cell tagstatic java.lang.StringGREENattribute of the chunk/table/cell tagstatic java.lang.StringHEADERattribute of the cell tagstatic java.lang.StringHORIZONTALALIGNattribute of the cell tagstatic java.lang.StringHORIZONTALRULEthe possible value of a tagstatic java.lang.StringIDthe chunk tagstatic java.lang.StringIGNOREthe chunk tagstatic java.lang.StringIMAGEthe image tagstatic java.lang.StringINDENTattribute of section/chapter tagstatic java.lang.StringINDENTATIONLEFTattribute of list tagstatic java.lang.StringINDENTATIONRIGHTattribute of list tagstatic java.lang.StringITEXTthe root tag.static java.lang.StringKEEPTOGETHERattribute of paragraphstatic java.lang.StringKEYWORDSattribute of the root tagstatic java.lang.StringLASTHEADERROWattribute of the table tagstatic java.lang.StringLEADINGattribute of phrase/paragraph/cell tagstatic java.lang.StringLEFTattribute of chapter/section/paragraph/table/cell tagstatic java.lang.StringLETTEREDattribute of the list tagstatic java.lang.StringLISTthe list tagstatic java.lang.StringLISTITEMthe listitem tagstatic java.lang.StringLISTSYMBOLattribute of list tagstatic java.lang.StringLLXattribute of the annotation tagstatic java.lang.StringLLYattribute of the annotation tagstatic java.lang.StringLOCALDESTINATIONattribute of the chunk tagstatic java.lang.StringLOCALGOTOattribute of the chunk tagstatic java.lang.StringLOWERCASEa possible list attributestatic java.lang.StringNAMEattribute of anchor tagstatic java.lang.StringNAMEDattribute of the annotation tagstatic java.lang.StringNEWLINEthe newpage tagstatic java.lang.StringNEWPAGEthe newpage tagstatic java.lang.StringNOWRAPattribute of the cell tagstatic java.lang.StringNUMBERattribute of section/chapter tagstatic java.lang.StringNUMBERDEPTHattribute of section/chapter tagstatic java.lang.StringNUMBEREDattribute of list tagstatic java.lang.StringOFFSETattribute of the table tagstatic java.lang.StringOPERATIONattribute of the annotation tagstatic java.lang.StringORIENTATIONthe possible value of a tagstatic java.lang.StringPAGEattribute of the annotation tagstatic java.lang.StringPAGE_SIZEthe possible value of a tagstatic java.lang.StringPARAGRAPHthe paragraph tagstatic java.lang.StringPARAMETERSattribute of the annotation tagstatic java.lang.StringPHRASEthe phrase tagstatic java.lang.StringPLAINHEIGHTattribute of the image tagstatic java.lang.StringPLAINWIDTHattribute of the image tagstatic java.lang.StringPRODUCERattribute of the root tagstatic java.lang.StringREDattribute of the chunk/table/cell tagstatic java.lang.StringREFERENCEattribute of anchor tagstatic java.lang.StringREMOTEGOTOattribute of the chunk tagstatic java.lang.StringRIGHTattribute of chapter/section/paragraph/table/cell tagstatic java.lang.StringROTATIONattribute of the image tagstatic java.lang.StringROWthe cell tagstatic java.lang.StringROWSPANattribute of the cell tagstatic java.lang.StringSCALEDHEIGHTattribute of the image tagstatic java.lang.StringSCALEDWIDTHattribute of the image tagstatic java.lang.StringSECTIONthe section tagstatic java.lang.StringSIZEthe possible value of an alignment attributestatic java.lang.StringSRCattribute of the image or iframe tagstatic java.lang.StringSTYLEthe possible value of an alignment attributestatic java.lang.StringSUBJECTattribute of the root tagstatic java.lang.StringSUBSUPSCRIPTattribute of the chunk tagstatic java.lang.StringSYMBOLINDENTattribute of list tagstatic java.lang.StringTABLEthe table tagstatic java.lang.StringTABLEFITSPAGEattribute of the table tagstatic java.lang.StringTEXTWRAPattribute of the image tagstatic java.lang.StringTITLEattribute of the root and annotation tag (also a special tag within a chapter or section)static java.lang.StringTOPattribute of the table/cell tagstatic java.lang.StringUNDERLYINGattribute of the image tagstatic java.lang.StringUNKNOWNthe possible value of an alignment attributestatic java.lang.StringURLattribute of the image and annotation tagstatic java.lang.StringURXattribute of the annotation tagstatic java.lang.StringURYattribute of the annotation tagstatic java.lang.StringVERTICALALIGNattribute of the cell tagstatic java.lang.StringWIDTHattribute of the table/cell tagstatic java.lang.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(java.lang.String alignment)Translates a String value to an alignment value.static java.lang.StringgetAlignment(int alignment)Translates the alignment value to a String 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
public static final java.lang.String SUBJECT
attribute of the root tag- See Also:
- Constant Field Values
-
KEYWORDS
public static final java.lang.String KEYWORDS
attribute of the root tag- See Also:
- Constant Field Values
-
AUTHOR
public static final java.lang.String AUTHOR
attribute of the root tag- See Also:
- Constant Field Values
-
CREATIONDATE
public static final java.lang.String CREATIONDATE
attribute of the root tag- See Also:
- Constant Field Values
-
PRODUCER
public 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
-
DEPTH
public static final java.lang.String DEPTH
attribute of section/chapter tag- See Also:
- Constant Field Values
-
NUMBER
public static final java.lang.String NUMBER
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
-
KEEPTOGETHER
public static final java.lang.String KEEPTOGETHER
attribute of paragraph- 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
public static final java.lang.String ENCODING
attribute of the chunk tag- See Also:
- Constant Field Values
-
EMBEDDED
public 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
-
SCALEDWIDTH
public static final java.lang.String SCALEDWIDTH
attribute of the image tag- See Also:
- Constant Field Values
-
SCALEDHEIGHT
public static final java.lang.String SCALEDHEIGHT
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
-
APPLICATION
public static final java.lang.String APPLICATION
attribute of the annotation tag- See Also:
- Constant Field Values
-
PARAMETERS
public static final java.lang.String PARAMETERS
attribute of the annotation tag- See Also:
- Constant Field Values
-
OPERATION
public static final java.lang.String OPERATION
attribute of the annotation tag- See Also:
- Constant Field Values
-
DEFAULTDIR
public static final java.lang.String DEFAULTDIR
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
public 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
public static final java.lang.String ALIGN_JUSTIFIED
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_JUSTIFIED_ALL
public static final java.lang.String ALIGN_JUSTIFIED_ALL
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_TOP
public 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
public static final java.lang.String ALIGN_BOTTOM
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_BASELINE
public static final java.lang.String ALIGN_BASELINE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
DEFAULT
public static final java.lang.String DEFAULT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
UNKNOWN
public 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
-
FACE
public static final java.lang.String FACE
a possible list attribute- Since:
- 2.1.3
- 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
-
getAlignment
public static java.lang.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(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)
-
-