Class ElementTags
java.lang.Object
org.openpdf.text.ElementTags
A class that contains all the possible tagnames and their attributes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringattribute of the image tagstatic final Stringattribute of the image tagstatic final Stringattribute of paragraph/image/table tagstatic final Stringthe possible value of an alignment attributestatic final Stringthe possible value of an alignment attributestatic final Stringthe possible value of an alignment attributestatic final Stringa possible list attributestatic final Stringthe possible value of an alignment attributestatic final Stringthe possible value of an alignment attributestatic final Stringthe possible value of an alignment attributestatic final Stringthe possible value of an alignment attributestatic final Stringthe possible value of an alignment attributestatic final Stringthe possible value of an alignment attributestatic final Stringattribute of the image tagstatic final Stringthe anchor tagstatic final Stringthe annotation tagstatic final Stringattribute of the annotation tagstatic final Stringattribute of the root tagstatic final Stringa possible list attributestatic final Stringattribute of the table/cell tagstatic final Stringattribute of the table/cell tagstatic final Stringattribute of the table/cell tagstatic final Stringattribute of the table/cell tagstatic final Stringattribute of the chunk/table/cell tagstatic final Stringattribute of the table/cell tagstatic final Stringattribute of the table/cell tagstatic final Stringattribute of the table/cell tagstatic final Stringthe cell tagstatic final Stringattribute of the table tagstatic final Stringattribute of the table tagstatic final Stringattribute of the table tagstatic final Stringthe chapter tagstatic final Stringthe chunk tagstatic final Stringattribute of the chunk/table/cell tagstatic final Stringattribute of the cell tagstatic final Stringattribute of the table tagstatic final Stringattribute of the annotation tagstatic final Stringattribute of the table tagstatic final Stringattribute of the root tagstatic final Stringthe possible value of an alignment attributestatic final Stringattribute of the annotation tagstatic final Stringattribute of section/chapter tagstatic final Stringattribute of the annotation tagstatic final Stringattribute of the chunk tagstatic final Stringattribute of the chunk tagstatic final Stringthe chunk tagstatic final Stringa possible list attributestatic final Stringattribute of the annotation tagstatic final Stringattribute of list tagstatic final Stringthe possible value of an alignment attributestatic final Stringattribute of the chunk tagstatic final Stringattribute of the table/cell tagstatic final Stringattribute of the chunk/table/cell tagstatic final Stringattribute of the cell tagstatic final Stringattribute of the cell tagstatic final Stringthe possible value of a tagstatic final Stringthe chunk tagstatic final Stringthe chunk tagstatic final Stringthe image tagstatic final Stringattribute of section/chapter tagstatic final Stringattribute of list tagstatic final Stringattribute of list tagstatic final Stringthe root tag.static final Stringattribute of paragraphstatic final Stringattribute of the root tagstatic final Stringattribute of the table tagstatic final Stringattribute of phrase/paragraph/cell tagstatic final Stringattribute of chapter/section/paragraph/table/cell tagstatic final Stringattribute of the list tagstatic final Stringthe list tagstatic final Stringthe listitem tagstatic final Stringattribute of list tagstatic final Stringattribute of the annotation tagstatic final Stringattribute of the annotation tagstatic final Stringattribute of the chunk tagstatic final Stringattribute of the chunk tagstatic final Stringa possible list attributestatic final Stringattribute of anchor tagstatic final Stringattribute of the annotation tagstatic final Stringthe newpage tagstatic final Stringthe newpage tagstatic final Stringattribute of the cell tagstatic final Stringattribute of section/chapter tagstatic final Stringattribute of section/chapter tagstatic final Stringattribute of list tagstatic final Stringattribute of the table tagstatic final Stringattribute of the annotation tagstatic final Stringthe possible value of a tagstatic final Stringattribute of the annotation tagstatic final Stringthe possible value of a tagstatic final Stringthe paragraph tagstatic final Stringattribute of the annotation tagstatic final Stringthe phrase tagstatic final Stringattribute of the image tagstatic final Stringattribute of the image tagstatic final Stringattribute of the root tagstatic final Stringattribute of the chunk/table/cell tagstatic final Stringattribute of anchor tagstatic final Stringattribute of the chunk tagstatic final Stringattribute of chapter/section/paragraph/table/cell tagstatic final Stringattribute of the image tagstatic final Stringthe cell tagstatic final Stringattribute of the cell tagstatic final Stringattribute of the image tagstatic final Stringattribute of the image tagstatic final Stringthe section tagstatic final Stringthe possible value of an alignment attributestatic final Stringattribute of the image or iframe tagstatic final Stringthe possible value of an alignment attributestatic final Stringattribute of the root tagstatic final Stringattribute of the chunk tagstatic final Stringattribute of list tagstatic final Stringthe table tagstatic final Stringattribute of the table tagstatic final Stringattribute of the image tagstatic final Stringattribute of the root and annotation tag (also a special tag within a chapter or section)static final Stringattribute of the table/cell tagstatic final Stringattribute of the image tagstatic final Stringthe possible value of an alignment attributestatic final Stringattribute of the image and annotation tagstatic final Stringattribute of the annotation tagstatic final Stringattribute of the annotation tagstatic final Stringattribute of the cell tagstatic final Stringattribute of the table/cell tagstatic final Stringattribute of the table tag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intalignmentValue(String alignment) Translates a String value to an alignment value.static StringgetAlignment(int alignment) Translates the alignment value to a String value.
-
Field Details
-
ITEXT
-
TITLE
attribute of the root and annotation tag (also a special tag within a chapter or section)- See Also:
-
SUBJECT
-
KEYWORDS
-
AUTHOR
-
CREATIONDATE
-
PRODUCER
-
CHAPTER
-
SECTION
-
NUMBERDEPTH
-
DEPTH
-
NUMBER
-
INDENT
-
LEFT
-
RIGHT
-
PHRASE
-
ANCHOR
-
LIST
-
LISTITEM
-
PARAGRAPH
-
LEADING
-
ALIGN
-
KEEPTOGETHER
-
NAME
-
REFERENCE
-
LISTSYMBOL
-
NUMBERED
-
LETTERED
-
FIRST
-
SYMBOLINDENT
-
INDENTATIONLEFT
-
INDENTATIONRIGHT
-
IGNORE
-
ENTITY
-
ID
-
CHUNK
-
ENCODING
-
EMBEDDED
-
COLOR
-
RED
-
GREEN
-
BLUE
-
SUBSUPSCRIPT
attribute of the chunk tag -
LOCALGOTO
attribute of the chunk tag -
REMOTEGOTO
attribute of the chunk tag -
LOCALDESTINATION
attribute of the chunk tag -
GENERICTAG
attribute of the chunk tag -
TABLE
-
ROW
-
CELL
-
COLUMNS
-
LASTHEADERROW
-
CELLPADDING
-
CELLSPACING
-
OFFSET
-
WIDTHS
-
TABLEFITSPAGE
-
CELLSFITPAGE
-
CONVERT2PDFP
-
HORIZONTALALIGN
-
VERTICALALIGN
-
COLSPAN
-
ROWSPAN
-
HEADER
-
NOWRAP
-
BORDERWIDTH
-
TOP
-
BOTTOM
-
WIDTH
-
BORDERCOLOR
-
BACKGROUNDCOLOR
-
BGRED
-
BGGREEN
-
BGBLUE
-
GRAYFILL
-
IMAGE
-
URL
-
UNDERLYING
-
TEXTWRAP
-
ALT
-
ABSOLUTEX
-
ABSOLUTEY
-
PLAINWIDTH
-
PLAINHEIGHT
-
SCALEDWIDTH
-
SCALEDHEIGHT
-
ROTATION
-
NEWPAGE
-
NEWLINE
-
ANNOTATION
-
FILE
-
DESTINATION
-
PAGE
-
NAMED
-
APPLICATION
-
PARAMETERS
-
OPERATION
-
DEFAULTDIR
-
LLX
-
LLY
-
URX
-
URY
-
CONTENT
-
ALIGN_LEFT
-
ALIGN_CENTER
-
ALIGN_RIGHT
-
ALIGN_JUSTIFIED
-
ALIGN_JUSTIFIED_ALL
the possible value of an alignment attribute- See Also:
-
ALIGN_TOP
-
ALIGN_MIDDLE
-
ALIGN_BOTTOM
-
ALIGN_BASELINE
-
DEFAULT
-
UNKNOWN
-
FONT
-
SIZE
-
STYLE
-
HORIZONTALRULE
-
PAGE_SIZE
-
ORIENTATION
-
ALIGN_INDENTATION_ITEMS
-
AUTO_INDENT_ITEMS
-
LOWERCASE
-
FACE
-
SRC
-
-
Constructor Details
-
ElementTags
public ElementTags()
-
-
Method Details
-
getAlignment
Translates the alignment value to a String value.- Parameters:
alignment- the alignment value- Returns:
- the translated value
-
alignmentValue
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)
-