|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.Rectangle
com.lowagie.text.Cell
com.lowagie.text.rtf.RtfTableCell
public class RtfTableCell
A Cell
with extended style attributes
ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
Field Summary | |
---|---|
static int |
BORDER_DASHED
Deprecated. Table border dashed |
static int |
BORDER_DOT_DASH
Deprecated. Table border dot dash line |
static int |
BORDER_DOT_DOT_DASH
Deprecated. Table border dot dot dash line |
static int |
BORDER_DOTTED
Deprecated. Table border dotted |
static int |
BORDER_DOUBLE
Deprecated. Table border double line |
static int |
BORDER_DOUBLE_THICK
Deprecated. Table border double thickness |
static int |
BORDER_DOUBLE_WAVY
Deprecated. Table border line |
static int |
BORDER_EMBOSS
Deprecated. Table border line |
static int |
BORDER_ENGRAVE
Deprecated. Table border line |
static int |
BORDER_HAIRLINE
Deprecated. Table border hairline |
static int |
BORDER_SHADOWED
Deprecated. Table border shadowed |
static int |
BORDER_SINGLE
Deprecated. Table border solid |
static int |
BORDER_STRIPED
Deprecated. Table border line |
static int |
BORDER_THICK_THIN
Deprecated. Table border line |
static int |
BORDER_THICK_THIN_LARGE
Deprecated. Table border line |
static int |
BORDER_THICK_THIN_MED
Deprecated. Table border line |
static int |
BORDER_THIN_THICK
Deprecated. Table border line |
static int |
BORDER_THIN_THICK_LARGE
Deprecated. Table border line |
static int |
BORDER_THIN_THICK_MED
Deprecated. Table border line |
static int |
BORDER_THIN_THICK_THIN
Deprecated. Table border line |
static int |
BORDER_THIN_THICK_THIN_LARGE
Deprecated. Table border line |
static int |
BORDER_THIN_THICK_THIN_MED
Deprecated. Table border line |
static int |
BORDER_TRIPLE
Deprecated. Table border triple line |
static int |
BORDER_UNDEFINED
Deprecated. Table border solid |
static int |
BORDER_WAVY
Deprecated. Table border line |
private int |
bottomBorderStyle
Deprecated. |
private float |
bottomBorderWidth
Deprecated. |
private int |
leftBorderStyle
Deprecated. |
private float |
leftBorderWidth
Deprecated. |
private int |
rightBorderStyle
Deprecated. |
private float |
rightBorderWidth
Deprecated. |
private int |
topBorderStyle
Deprecated. |
private float |
topBorderWidth
Deprecated. |
Fields inherited from class com.lowagie.text.Cell |
---|
arrayList, colspan, groupChange, header, horizontalAlignment, maxLines, percentage, rowspan, useAscender, useBorderPadding, useDescender, verticalAlignment, width |
Fields inherited from class com.lowagie.text.Rectangle |
---|
backgroundColor, border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, RIGHT, rotation, TOP, UNDEFINED, urx, ury, useVariableBorders |
Fields inherited from interface com.lowagie.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, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK |
Constructor Summary | |
---|---|
RtfTableCell(boolean dummy)
Deprecated. Constructs an empty Cell (for internal use only). |
|
RtfTableCell(Element element)
Deprecated. Constructs a Cell with a certain Element . |
|
RtfTableCell(String content)
Deprecated. Constructs a Cell with a certain content. |
Method Summary | |
---|---|
int |
bottomBorderStyle()
Deprecated. Get the bottom border style |
float |
bottomBorderWidth()
Deprecated. Get the bottom border width |
protected static byte[] |
getStyleControlWord(int style)
Deprecated. Get the RTF control word for style |
int |
leftBorderStyle()
Deprecated. Get the left border style |
float |
leftBorderWidth()
Deprecated. Get the left border width |
int |
rightBorderStyle()
Deprecated. Get the right border style |
float |
rightBorderWidth()
Deprecated. Get the right border width |
void |
setBorderStyle(int style)
Deprecated. Set all four borders to style defined by style |
void |
setBorderWidth(float f)
Deprecated. Set all four borders to f width |
void |
setBottomBorderStyle(int style)
Deprecated. Set the bottom border to style defined by style |
void |
setBottomBorderWidth(float f)
Deprecated. Set the bottom border to f width |
void |
setLeftBorderStyle(int style)
Deprecated. Set the left border to style defined by style |
void |
setLeftBorderWidth(float f)
Deprecated. Set the left border to f width |
void |
setRightBorderStyle(int style)
Deprecated. Set the right border to style defined by style |
void |
setRightBorderWidth(float f)
Deprecated. Set the right border to f width |
void |
setTopBorderStyle(int style)
Deprecated. Set the top border to style defined by style |
void |
setTopBorderWidth(float f)
Deprecated. Set the top border to f width |
int |
topBorderStyle()
Deprecated. Get the top border style |
float |
topBorderWidth()
Deprecated. Get the top border width |
Methods inherited from class com.lowagie.text.Cell |
---|
add, addElement, bottom, clear, createPdfPCell, getBottom, getChunks, getColspan, getElements, getGroupChange, getHorizontalAlignment, getLeading, getLeft, getMaxLines, getRight, getRowspan, getShowTruncation, getTop, getVerticalAlignment, getWidth, getWidthAsString, isEmpty, isHeader, isTable, isUseAscender, isUseBorderPadding, isUseDescender, left, process, right, setBottom, setColspan, setGroupChange, setHeader, setHorizontalAlignment, setHorizontalAlignment, setLeading, setLeft, setMaxLines, setRight, setRowspan, setShowTruncation, setTop, setUseAscender, setUseBorderPadding, setUseDescender, setVerticalAlignment, setVerticalAlignment, setWidth, setWidth, size, top, type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.lowagie.text.Element |
---|
isContent, isNestable, toString |
Field Detail |
---|
public static final int BORDER_UNDEFINED
public static final int BORDER_SINGLE
public static final int BORDER_DOUBLE_THICK
public static final int BORDER_SHADOWED
public static final int BORDER_DOTTED
public static final int BORDER_DASHED
public static final int BORDER_HAIRLINE
public static final int BORDER_DOUBLE
public static final int BORDER_DOT_DASH
public static final int BORDER_DOT_DOT_DASH
public static final int BORDER_TRIPLE
public static final int BORDER_THICK_THIN
public static final int BORDER_THIN_THICK
public static final int BORDER_THIN_THICK_THIN
public static final int BORDER_THICK_THIN_MED
public static final int BORDER_THIN_THICK_MED
public static final int BORDER_THIN_THICK_THIN_MED
public static final int BORDER_THICK_THIN_LARGE
public static final int BORDER_THIN_THICK_LARGE
public static final int BORDER_THIN_THICK_THIN_LARGE
public static final int BORDER_WAVY
public static final int BORDER_DOUBLE_WAVY
public static final int BORDER_STRIPED
public static final int BORDER_EMBOSS
public static final int BORDER_ENGRAVE
private float topBorderWidth
private float leftBorderWidth
private float rightBorderWidth
private float bottomBorderWidth
private int topBorderStyle
private int leftBorderStyle
private int rightBorderStyle
private int bottomBorderStyle
Constructor Detail |
---|
public RtfTableCell(boolean dummy)
Cell
(for internal use only).
dummy
- a dummy valuepublic RtfTableCell(Element element) throws BadElementException
Cell
with a certain Element
.
if the element is a ListItem
, Row
or
Cell
, an exception will be thrown.
element
- the element
BadElementException
- when the creator was called with a ListItem
, Row
or Cell
public RtfTableCell(String content)
Cell
with a certain content.
The String
will be converted into a Paragraph
.
content
- a String
Method Detail |
---|
public void setBorderWidth(float f)
f
width
setBorderWidth
in class Rectangle
f
- the desired widthpublic void setTopBorderWidth(float f)
f
width
f
- the desired widthpublic float topBorderWidth()
public void setLeftBorderWidth(float f)
f
width
f
- the desired widthpublic float leftBorderWidth()
public void setRightBorderWidth(float f)
f
width
f
- the desired widthpublic float rightBorderWidth()
public void setBottomBorderWidth(float f)
f
width
f
- the desired widthpublic float bottomBorderWidth()
public void setBorderStyle(int style)
style
style
- the desired stylepublic void setTopBorderStyle(int style)
style
style
- the desired stylepublic int topBorderStyle()
public void setLeftBorderStyle(int style)
style
style
- the desired stylepublic int leftBorderStyle()
public void setRightBorderStyle(int style)
style
style
- the desired stylepublic int rightBorderStyle()
public void setBottomBorderStyle(int style)
style
style
- the desired stylepublic int bottomBorderStyle()
protected static byte[] getStyleControlWord(int style)
style
style
- a style value
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |