Class 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 tag
      static java.lang.String ABSOLUTEY
      attribute of the image tag
      static java.lang.String ALIGN
      attribute of paragraph/image/table tag
      private static java.lang.String ALIGN_BASELINE
      the possible value of an alignment attribute
      private 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 attribute
      static 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 attribute
      static java.lang.String ALIGN_LEFT
      the possible value of an alignment attribute
      static java.lang.String ALIGN_MIDDLE
      the possible value of an alignment attribute
      static java.lang.String ALIGN_RIGHT
      the possible value of an alignment attribute
      private static java.lang.String ALIGN_TOP
      the possible value of an alignment attribute
      static java.lang.String ALT
      attribute of the image tag
      static java.lang.String ANCHOR
      the anchor tag
      static java.lang.String ANNOTATION
      the annotation tag
      (package private) static java.lang.String AUTHOR
      attribute of the root tag
      static java.lang.String AUTO_INDENT_ITEMS
      a possible list attribute
      static java.lang.String BACKGROUNDCOLOR
      attribute of the table/cell tag
      static java.lang.String BGBLUE
      attribute of the table/cell tag
      static java.lang.String BGGREEN
      attribute of the table/cell tag
      static java.lang.String BGRED
      attribute of the table/cell tag
      static java.lang.String BLUE
      attribute of the chunk/table/cell tag
      static java.lang.String BORDERCOLOR
      attribute of the table/cell tag
      static java.lang.String BORDERWIDTH
      attribute of the table/cell tag
      static java.lang.String BOTTOM
      attribute of the table/cell tag
      static java.lang.String CELL
      the cell tag
      static java.lang.String CELLPADDING
      attribute of the table tag
      static java.lang.String CELLSFITPAGE
      attribute of the table tag
      static java.lang.String CELLSPACING
      attribute of the table tag
      static java.lang.String CHAPTER
      the chapter tag
      static java.lang.String CHUNK
      the chunk tag
      static java.lang.String COLOR
      attribute of the chunk/table/cell tag
      static java.lang.String COLSPAN
      attribute of the cell tag
      static java.lang.String COLUMNS
      attribute of the table tag
      static java.lang.String CONTENT
      attribute of the annotation tag
      static java.lang.String CONVERT2PDFP
      attribute of the table tag
      (package private) static java.lang.String CREATIONDATE
      attribute of the root tag
      private static java.lang.String DEFAULT
      the possible value of an alignment attribute
      static 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 tag
      static java.lang.String ENTITY
      the chunk tag
      static java.lang.String FILE
      attribute of the annotation tag
      static java.lang.String FIRST
      attribute of list tag
      static java.lang.String FONT
      the possible value of an alignment attribute
      static java.lang.String GENERICTAG
      attribute of the chunk tag
      static java.lang.String GRAYFILL
      attribute of the table/cell tag
      static java.lang.String GREEN
      attribute of the chunk/table/cell tag
      static java.lang.String HEADER
      attribute of the cell tag
      static java.lang.String HORIZONTALALIGN
      attribute of the cell tag
      static java.lang.String HORIZONTALRULE
      the possible value of a tag
      static java.lang.String ID
      the chunk tag
      static java.lang.String IGNORE
      the chunk tag
      static java.lang.String IMAGE
      the image tag
      static java.lang.String INDENT
      attribute of section/chapter tag
      static java.lang.String INDENTATIONLEFT
      attribute of list tag
      static java.lang.String INDENTATIONRIGHT
      attribute of list tag
      static java.lang.String ITEXT
      the root tag.
      (package private) static java.lang.String KEYWORDS
      attribute of the root tag
      static java.lang.String LASTHEADERROW
      attribute of the table tag
      static java.lang.String LEADING
      attribute of phrase/paragraph/cell tag
      static java.lang.String LEFT
      attribute of chapter/section/paragraph/table/cell tag
      static java.lang.String LETTERED
      attribute of the list tag
      static java.lang.String LIST
      the list tag
      static java.lang.String LISTITEM
      the listitem tag
      static java.lang.String LISTSYMBOL
      attribute of list tag
      static java.lang.String LLX
      attribute of the annotation tag
      static java.lang.String LLY
      attribute of the annotation tag
      static java.lang.String LOCALDESTINATION
      attribute of the chunk tag
      static java.lang.String LOCALGOTO
      attribute of the chunk tag
      static java.lang.String LOWERCASE
      a possible list attribute
      static java.lang.String NAME
      attribute of anchor tag
      static java.lang.String NAMED
      attribute of the annotation tag
      static java.lang.String NEWLINE
      the newpage tag
      static java.lang.String NEWPAGE
      the newpage tag
      static java.lang.String NOWRAP
      attribute of the cell tag
      static java.lang.String NUMBERDEPTH
      attribute of section/chapter tag
      static java.lang.String NUMBERED
      attribute of list tag
      static java.lang.String OFFSET
      attribute of the table tag
      static java.lang.String ORIENTATION
      the possible value of a tag
      static java.lang.String PAGE
      attribute of the annotation tag
      static java.lang.String PAGE_SIZE
      the possible value of a tag
      static java.lang.String PARAGRAPH
      the paragraph tag
      static java.lang.String PHRASE
      the phrase tag
      static java.lang.String PLAINHEIGHT
      attribute of the image tag
      static java.lang.String PLAINWIDTH
      attribute of the image tag
      (package private) static java.lang.String PRODUCER
      attribute of the root tag
      static java.lang.String RED
      attribute of the chunk/table/cell tag
      static java.lang.String REFERENCE
      attribute of anchor tag
      static java.lang.String REMOTEGOTO
      attribute of the chunk tag
      static java.lang.String RIGHT
      attribute of chapter/section/paragraph/table/cell tag
      static java.lang.String ROTATION
      attribute of the image tag
      static java.lang.String ROW
      the cell tag
      static java.lang.String ROWSPAN
      attribute of the cell tag
      static java.lang.String SECTION
      the section tag
      static java.lang.String SIZE
      the possible value of an alignment attribute
      static java.lang.String SRC
      attribute of the image or iframe tag
      static java.lang.String STYLE
      the possible value of an alignment attribute
      (package private) static java.lang.String SUBJECT
      attribute of the root tag
      static java.lang.String SUBSUPSCRIPT
      attribute of the chunk tag
      static java.lang.String SYMBOLINDENT
      attribute of list tag
      static java.lang.String TABLE
      the table tag
      static java.lang.String TABLEFITSPAGE
      attribute of the table tag
      static java.lang.String TEXTWRAP
      attribute of the image tag
      static 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 tag
      static java.lang.String UNDERLYING
      attribute of the image tag
      (package private) static java.lang.String UNKNOWN
      the possible value of an alignment attribute
      static java.lang.String URL
      attribute of the image and annotation tag
      static java.lang.String URX
      attribute of the annotation tag
      static java.lang.String URY
      attribute of the annotation tag
      static java.lang.String VERTICALALIGN
      attribute of the cell tag
      static java.lang.String WIDTH
      attribute of the table/cell tag
      static 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
    • Constructor Detail

      • ElementTags

        public ElementTags()
    • 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)