|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.Rectangle
com.itextpdf.text.pdf.PdfPCell
com.itextpdf.tool.xml.html.pdfelement.HtmlCell
public class HtmlCell
HtmlCell is created to provide more parameters to better mimic the behavior of table cell in HTML.
Field Summary |
---|
Fields inherited from class com.itextpdf.text.pdf.PdfPCell |
---|
phrase |
Fields inherited from class com.itextpdf.text.Rectangle |
---|
backgroundColor, border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, RIGHT, TOP, UNDEFINED, urx, ury, useVariableBorders |
Fields inherited from interface com.itextpdf.text.Element |
---|
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, 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, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HtmlCell()
public HtmlCell(PdfPCell pdfPCell, boolean b)
pdfPCell
- PdfPCell
.b
- boolean sets the TableStyleValues.setLastInRow(boolean)
method.public HtmlCell(PdfPCell pdfPCell)
pdfPCell
- PdfPCell
.Method Detail |
---|
public void setFixedWidth(float fixedWidth)
fixedWidth
- the fixed cell widthpublic float getFixedWidth()
public TableStyleValues getCellValues()
TableStyleValues
of the HtmlCell.
public void setCellValues(TableStyleValues values)
TableStyleValues
of the HtmlCell.
values
- the TableStyleValues
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |