Package com.lowagie.text.rtf
Class RtfTableCell
- java.lang.Object
-
- com.lowagie.text.Rectangle
-
- com.lowagie.text.Cell
-
- com.lowagie.text.rtf.RtfTableCell
-
- All Implemented Interfaces:
Element,TextElementArray
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.ACellwith extended style attributes ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
-
-
Field Summary
Fields Modifier and Type Field Description static intBORDER_DASHEDDeprecated.Table border dashedstatic intBORDER_DOT_DASHDeprecated.Table border dot dash linestatic intBORDER_DOT_DOT_DASHDeprecated.Table border dot dot dash linestatic intBORDER_DOTTEDDeprecated.Table border dottedstatic intBORDER_DOUBLEDeprecated.Table border double linestatic intBORDER_DOUBLE_THICKDeprecated.Table border double thicknessstatic intBORDER_DOUBLE_WAVYDeprecated.Table border linestatic intBORDER_EMBOSSDeprecated.Table border linestatic intBORDER_ENGRAVEDeprecated.Table border linestatic intBORDER_HAIRLINEDeprecated.Table border hairlinestatic intBORDER_SHADOWEDDeprecated.Table border shadowedstatic intBORDER_SINGLEDeprecated.Table border solidstatic intBORDER_STRIPEDDeprecated.Table border linestatic intBORDER_THICK_THINDeprecated.Table border linestatic intBORDER_THICK_THIN_LARGEDeprecated.Table border linestatic intBORDER_THICK_THIN_MEDDeprecated.Table border linestatic intBORDER_THIN_THICKDeprecated.Table border linestatic intBORDER_THIN_THICK_LARGEDeprecated.Table border linestatic intBORDER_THIN_THICK_MEDDeprecated.Table border linestatic intBORDER_THIN_THICK_THINDeprecated.Table border linestatic intBORDER_THIN_THICK_THIN_LARGEDeprecated.Table border linestatic intBORDER_THIN_THICK_THIN_MEDDeprecated.Table border linestatic intBORDER_TRIPLEDeprecated.Table border triple linestatic intBORDER_UNDEFINEDDeprecated.Table border solidstatic intBORDER_WAVYDeprecated.Table border lineprivate intbottomBorderStyleDeprecated.private floatbottomBorderWidthDeprecated.private intleftBorderStyleDeprecated.private floatleftBorderWidthDeprecated.private intrightBorderStyleDeprecated.private floatrightBorderWidthDeprecated.private inttopBorderStyleDeprecated.private floattopBorderWidthDeprecated.-
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
Constructors Constructor Description RtfTableCell(boolean dummy)Deprecated.Constructs an emptyCell(for internal use only).RtfTableCell(Element element)Deprecated.Constructs aCellwith a certainElement.RtfTableCell(java.lang.String content)Deprecated.Constructs aCellwith a certain content.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intbottomBorderStyle()Deprecated.Get the bottom border stylefloatbottomBorderWidth()Deprecated.Get the bottom border widthprotected static byte[]getStyleControlWord(int style)Deprecated.Get the RTF control word forstyleintleftBorderStyle()Deprecated.Get the left border stylefloatleftBorderWidth()Deprecated.Get the left border widthintrightBorderStyle()Deprecated.Get the right border stylefloatrightBorderWidth()Deprecated.Get the right border widthvoidsetBorderStyle(int style)Deprecated.Set all four borders to style defined bystylevoidsetBorderWidth(float f)Deprecated.Set all four borders tofwidthvoidsetBottomBorderStyle(int style)Deprecated.Set the bottom border to style defined bystylevoidsetBottomBorderWidth(float f)Deprecated.Set the bottom border tofwidthvoidsetLeftBorderStyle(int style)Deprecated.Set the left border to style defined bystylevoidsetLeftBorderWidth(float f)Deprecated.Set the left border tofwidthvoidsetRightBorderStyle(int style)Deprecated.Set the right border to style defined bystylevoidsetRightBorderWidth(float f)Deprecated.Set the right border tofwidthvoidsetTopBorderStyle(int style)Deprecated.Set the top border to style defined bystylevoidsetTopBorderWidth(float f)Deprecated.Set the top border tofwidthinttopBorderStyle()Deprecated.Get the top border stylefloattopBorderWidth()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 com.lowagie.text.Rectangle
cloneNonPositionParameters, disableBorderSide, enableBorderSide, getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getGrayFill, getHeight, getLeft, getRight, getRotation, getTop, hasBorder, hasBorders, isContent, isNestable, isUseVariableBorders, normalize, rectangle, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRight, setTop, setUseVariableBorders, softCloneNonPositionParameters, toString
-
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
-
BORDER_UNDEFINED
public static final int BORDER_UNDEFINED
Deprecated.Table border solid- See Also:
- Constant Field Values
-
BORDER_SINGLE
public static final int BORDER_SINGLE
Deprecated.Table border solid- See Also:
- Constant Field Values
-
BORDER_DOUBLE_THICK
public static final int BORDER_DOUBLE_THICK
Deprecated.Table border double thickness- See Also:
- Constant Field Values
-
BORDER_SHADOWED
public static final int BORDER_SHADOWED
Deprecated.Table border shadowed- See Also:
- Constant Field Values
-
BORDER_DOTTED
public static final int BORDER_DOTTED
Deprecated.Table border dotted- See Also:
- Constant Field Values
-
BORDER_DASHED
public static final int BORDER_DASHED
Deprecated.Table border dashed- See Also:
- Constant Field Values
-
BORDER_HAIRLINE
public static final int BORDER_HAIRLINE
Deprecated.Table border hairline- See Also:
- Constant Field Values
-
BORDER_DOUBLE
public static final int BORDER_DOUBLE
Deprecated.Table border double line- See Also:
- Constant Field Values
-
BORDER_DOT_DASH
public static final int BORDER_DOT_DASH
Deprecated.Table border dot dash line- See Also:
- Constant Field Values
-
BORDER_DOT_DOT_DASH
public static final int BORDER_DOT_DOT_DASH
Deprecated.Table border dot dot dash line- See Also:
- Constant Field Values
-
BORDER_TRIPLE
public static final int BORDER_TRIPLE
Deprecated.Table border triple line- See Also:
- Constant Field Values
-
BORDER_THICK_THIN
public static final int BORDER_THICK_THIN
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_THIN_THICK
public static final int BORDER_THIN_THICK
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_THIN_THICK_THIN
public static final int BORDER_THIN_THICK_THIN
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_THICK_THIN_MED
public static final int BORDER_THICK_THIN_MED
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_THIN_THICK_MED
public static final int BORDER_THIN_THICK_MED
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_THIN_THICK_THIN_MED
public static final int BORDER_THIN_THICK_THIN_MED
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_THICK_THIN_LARGE
public static final int BORDER_THICK_THIN_LARGE
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_THIN_THICK_LARGE
public static final int BORDER_THIN_THICK_LARGE
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_THIN_THICK_THIN_LARGE
public static final int BORDER_THIN_THICK_THIN_LARGE
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_WAVY
public static final int BORDER_WAVY
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_DOUBLE_WAVY
public static final int BORDER_DOUBLE_WAVY
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_STRIPED
public static final int BORDER_STRIPED
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_EMBOSS
public static final int BORDER_EMBOSS
Deprecated.Table border line- See Also:
- Constant Field Values
-
BORDER_ENGRAVE
public static final int BORDER_ENGRAVE
Deprecated.Table border line- See Also:
- Constant Field Values
-
topBorderWidth
private float topBorderWidth
Deprecated.
-
leftBorderWidth
private float leftBorderWidth
Deprecated.
-
rightBorderWidth
private float rightBorderWidth
Deprecated.
-
bottomBorderWidth
private float bottomBorderWidth
Deprecated.
-
topBorderStyle
private int topBorderStyle
Deprecated.
-
leftBorderStyle
private int leftBorderStyle
Deprecated.
-
rightBorderStyle
private int rightBorderStyle
Deprecated.
-
bottomBorderStyle
private int bottomBorderStyle
Deprecated.
-
-
Constructor Detail
-
RtfTableCell
public RtfTableCell(boolean dummy)
Deprecated.Constructs an emptyCell(for internal use only).- Parameters:
dummy- a dummy value
-
RtfTableCell
public RtfTableCell(Element element) throws BadElementException
Deprecated.Constructs aCellwith a certainElement.if the element is a
ListItem,RoworCell, an exception will be thrown.- Parameters:
element- the element- Throws:
BadElementException- when the creator was called with aListItem,RoworCell
-
RtfTableCell
public RtfTableCell(java.lang.String content)
Deprecated.Constructs aCellwith a certain content.The
Stringwill be converted into aParagraph.- Parameters:
content- aString
-
-
Method Detail
-
setBorderWidth
public void setBorderWidth(float f)
Deprecated.Set all four borders tofwidth- Overrides:
setBorderWidthin classRectangle- Parameters:
f- the desired width
-
setTopBorderWidth
public void setTopBorderWidth(float f)
Deprecated.Set the top border tofwidth- Parameters:
f- the desired width
-
topBorderWidth
public float topBorderWidth()
Deprecated.Get the top border width- Returns:
- a width
-
setLeftBorderWidth
public void setLeftBorderWidth(float f)
Deprecated.Set the left border tofwidth- Parameters:
f- the desired width
-
leftBorderWidth
public float leftBorderWidth()
Deprecated.Get the left border width- Returns:
- a width
-
setRightBorderWidth
public void setRightBorderWidth(float f)
Deprecated.Set the right border tofwidth- Parameters:
f- the desired width
-
rightBorderWidth
public float rightBorderWidth()
Deprecated.Get the right border width- Returns:
- a width
-
setBottomBorderWidth
public void setBottomBorderWidth(float f)
Deprecated.Set the bottom border tofwidth- Parameters:
f- the desired width
-
bottomBorderWidth
public float bottomBorderWidth()
Deprecated.Get the bottom border width- Returns:
- a width
-
setBorderStyle
public void setBorderStyle(int style)
Deprecated.Set all four borders to style defined bystyle- Parameters:
style- the desired style
-
setTopBorderStyle
public void setTopBorderStyle(int style)
Deprecated.Set the top border to style defined bystyle- Parameters:
style- the desired style
-
topBorderStyle
public int topBorderStyle()
Deprecated.Get the top border style- Returns:
- a style value
-
setLeftBorderStyle
public void setLeftBorderStyle(int style)
Deprecated.Set the left border to style defined bystyle- Parameters:
style- the desired style
-
leftBorderStyle
public int leftBorderStyle()
Deprecated.Get the left border style- Returns:
- a style value
-
setRightBorderStyle
public void setRightBorderStyle(int style)
Deprecated.Set the right border to style defined bystyle- Parameters:
style- the desired style
-
rightBorderStyle
public int rightBorderStyle()
Deprecated.Get the right border style- Returns:
- a style value
-
setBottomBorderStyle
public void setBottomBorderStyle(int style)
Deprecated.Set the bottom border to style defined bystyle- Parameters:
style- the desired style
-
bottomBorderStyle
public int bottomBorderStyle()
Deprecated.Get the bottom border style- Returns:
- a style value
-
getStyleControlWord
protected static byte[] getStyleControlWord(int style)
Deprecated.Get the RTF control word forstyle- Parameters:
style- a style value- Returns:
- a byte array corresponding with a style control word
-
-