public class HtmlCell extends PdfPCell
accessibleAttributes, headers, id, phrase, rolebackgroundColor, border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, RIGHT, TOP, UNDEFINED, urx, ury, useVariableBordersALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, BODY, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LANGUAGE, LIST, LISTITEM, MARKED, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK| Constructor and Description |
|---|
HtmlCell()
Default constructor for a HTMLCell with no fixedWidth.
|
HtmlCell(PdfPCell pdfPCell)
Constructor used for replacing a PdfPCell with a HtmlCell.
|
HtmlCell(PdfPCell pdfPCell, boolean b)
Constructor used for replacing a PdfPCell with a HtmlCell and setting its last in row boolean.
|
| Modifier and Type | Method and Description |
|---|---|
TableStyleValues |
getCellValues()
Gets the TableStyleValues of the HtmlCell.
|
float |
getFixedWidth()
Gets the fixed width of the HtmlCell.
|
void |
setCellValues(TableStyleValues values)
Sets the TableStyleValues of the HtmlCell.
|
void |
setFixedWidth(float fixedWidth)
Sets the fixed width of the HtmlCell.
|
addElement, addHeader, getAccessibleAttribute, getAccessibleAttributes, getArabicOptions, getCachedMaxHeight, getCalculatedHeight, getCellEvent, getColspan, getColumn, getCompositeElements, getEffectivePaddingBottom, getEffectivePaddingLeft, getEffectivePaddingRight, getEffectivePaddingTop, getExtraParagraphSpace, getFixedHeight, getFollowingIndent, getHeaders, getHorizontalAlignment, getId, getImage, getIndent, getLeading, getMaxHeight, getMinimumHeight, getMultipliedLeading, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPhrase, getRightIndent, getRole, getRotation, getRowspan, getRunDirection, getSpaceCharRatio, getTable, getVerticalAlignment, hasCachedMaxHeight, hasCalculatedHeight, hasFixedHeight, hasMinimumHeight, isInline, isNoWrap, isUseAscender, isUseBorderPadding, isUseDescender, setAccessibleAttribute, setArabicOptions, setCalculatedHeight, setCellEvent, setColspan, setColumn, setExtraParagraphSpace, setFixedHeight, setFollowingIndent, setHorizontalAlignment, setId, setImage, setIndent, setLeading, setMinimumHeight, setNoWrap, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPhrase, setRightIndent, setRole, setRotation, setRowspan, setRunDirection, setSpaceCharRatio, setUseAscender, setUseBorderPadding, setUseDescender, setVerticalAlignmentcloneNonPositionParameters, disableBorderSide, enableBorderSide, equals, getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getBottom, getChunks, getGrayFill, getHeight, getLeft, getLeft, getRight, getRight, getTop, getTop, getWidth, hasBorder, hasBorders, isContent, isNestable, isUseVariableBorders, normalize, process, rectangle, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRight, setTop, setUseVariableBorders, softCloneNonPositionParameters, toString, typepublic HtmlCell()
public HtmlCell(PdfPCell pdfPCell, boolean b)
pdfPCell - PdfPCell.
b - boolean sets the TableStyleValues.setLastInRow(boolean) method.
public void setFixedWidth(float fixedWidth)
fixedWidth - the fixed cell width
public float getFixedWidth()
public TableStyleValues getCellValues()
TableStyleValues of the HtmlCell.
public void setCellValues(TableStyleValues values)
TableStyleValues of the HtmlCell.
values - the TableStyleValues
Copyright © 1998–2021. All rights reserved.