com.lowagie.text.rtf
public class RtfTableCell extends Cell
Deprecated: Please move to the RtfWriter2 and associated classes. com.lowagie.text.rtf.table.RtfCell replaces the functionality of this class.
ACell with extended style attributes
ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
| Field Summary | |
|---|---|
| int | bottomBorderStyle |
| float | bottomBorderWidth |
| static int | BORDER_DASHED Table border dashed |
| static int | BORDER_DOTTED Table border dotted |
| static int | BORDER_DOT_DASH Table border dot dash line |
| static int | BORDER_DOT_DOT_DASH Table border dot dot dash line |
| static int | BORDER_DOUBLE Table border double line |
| static int | BORDER_DOUBLE_THICK Table border double thickness |
| static int | BORDER_DOUBLE_WAVY Table border line |
| static int | BORDER_EMBOSS Table border line |
| static int | BORDER_ENGRAVE Table border line |
| static int | BORDER_HAIRLINE Table border hairline |
| static int | BORDER_SHADOWED Table border shadowed |
| static int | BORDER_SINGLE Table border solid |
| static int | BORDER_STRIPED Table border line |
| static int | BORDER_THICK_THIN Table border line |
| static int | BORDER_THICK_THIN_LARGE Table border line |
| static int | BORDER_THICK_THIN_MED Table border line |
| static int | BORDER_THIN_THICK Table border line |
| static int | BORDER_THIN_THICK_LARGE Table border line |
| static int | BORDER_THIN_THICK_MED Table border line |
| static int | BORDER_THIN_THICK_THIN Table border line |
| static int | BORDER_THIN_THICK_THIN_LARGE Table border line |
| static int | BORDER_THIN_THICK_THIN_MED Table border line |
| static int | BORDER_TRIPLE Table border triple line |
| static int | BORDER_UNDEFINED Table border solid |
| static int | BORDER_WAVY Table border line |
| int | leftBorderStyle |
| float | leftBorderWidth |
| int | rightBorderStyle |
| float | rightBorderWidth |
| int | topBorderStyle |
| float | topBorderWidth |
| Constructor Summary | |
|---|---|
| RtfTableCell(boolean dummy)
Constructs an empty Cell (for internal use only).
| |
| RtfTableCell(Element element)
Constructs a Cell with a certain Element.
| |
| RtfTableCell(String content)
Constructs a Cell with a certain content.
| |
| RtfTableCell(Properties attributes)
Returns a Cell that has been constructed taking in account
the value of some attributes.
| |
| Method Summary | |
|---|---|
| int | bottomBorderStyle()
Get the bottom border style |
| float | bottomBorderWidth()
Get the bottom border width |
| protected static byte[] | getStyleControlWord(int style)
Get the RTF control word for style |
| int | leftBorderStyle()
Get the left border style |
| float | leftBorderWidth()
Get the left border width |
| int | rightBorderStyle()
Get the right border style |
| float | rightBorderWidth()
Get the right border width |
| void | setBorderStyle(int style)
Set all four borders to style defined by style
|
| void | setBorderWidth(float f)
Set all four borders to f width
|
| void | setBottomBorderStyle(int style)
Set the bottom border to style defined by style
|
| void | setBottomBorderWidth(float f)
Set the bottom border to f width
|
| void | setLeftBorderStyle(int style)
Set the left border to style defined by style
|
| void | setLeftBorderWidth(float f)
Set the left border to f width
|
| void | setRightBorderStyle(int style)
Set the right border to style defined by style
|
| void | setRightBorderWidth(float f)
Set the right border to f width
|
| void | setTopBorderStyle(int style)
Set the top border to style defined by style
|
| void | setTopBorderWidth(float f)
Set the top border to f width
|
| int | topBorderStyle()
Get the top border style |
| float | topBorderWidth()
Get the top border width |
Cell (for internal use only).
Parameters: dummy a dummy value
Cell with a certain Element.
if the element is a ListItem, Row or
Cell, an exception will be thrown.
Parameters: element the element
Throws: BadElementException when the creator was called with a ListItem, Row or Cell
Cell with a certain content.
The String will be converted into a Paragraph.
Parameters: content a String
Cell that has been constructed taking in account
the value of some attributes.
Parameters: attributes Some attributes
Returns: a style value
Returns: a width
styleParameters: style a style value
Returns: a byte array corresponding with a style control word
Returns: a style value
Returns: a width
Returns: a style value
Returns: a width
style
Parameters: style the desired style
f width
Parameters: f the desired width
style
Parameters: style the desired style
f width
Parameters: f the desired width
style
Parameters: style the desired style
f width
Parameters: f the desired width
style
Parameters: style the desired style
f width
Parameters: f the desired width
style
Parameters: style the desired style
f width
Parameters: f the desired width
Returns: a style value
Returns: a width