Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » rtf » [javadoc | source]
com.lowagie.text.rtf
public class: RtfTableCell [javadoc | source]
java.lang.Object
   com.lowagie.text.Rectangle
      com.lowagie.text.Cell
         com.lowagie.text.rtf.RtfTableCell

All Implemented Interfaces:
    TextElementArray, Element

A Cell with extended style attributes ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
Field Summary
public static final  int BORDER_UNDEFINED    Table border solid 
public static final  int BORDER_SINGLE    Table border solid 
public static final  int BORDER_DOUBLE_THICK    Table border double thickness 
public static final  int BORDER_SHADOWED    Table border shadowed 
public static final  int BORDER_DOTTED    Table border dotted 
public static final  int BORDER_DASHED    Table border dashed 
public static final  int BORDER_HAIRLINE    Table border hairline 
public static final  int BORDER_DOUBLE    Table border double line 
public static final  int BORDER_DOT_DASH    Table border dot dash line 
public static final  int BORDER_DOT_DOT_DASH    Table border dot dot dash line 
public static final  int BORDER_TRIPLE    Table border triple line 
public static final  int BORDER_THICK_THIN    Table border line 
public static final  int BORDER_THIN_THICK    Table border line 
public static final  int BORDER_THIN_THICK_THIN    Table border line 
public static final  int BORDER_THICK_THIN_MED    Table border line 
public static final  int BORDER_THIN_THICK_MED    Table border line 
public static final  int BORDER_THIN_THICK_THIN_MED    Table border line 
public static final  int BORDER_THICK_THIN_LARGE    Table border line 
public static final  int BORDER_THIN_THICK_LARGE    Table border line 
public static final  int BORDER_THIN_THICK_THIN_LARGE    Table border line 
public static final  int BORDER_WAVY    Table border line 
public static final  int BORDER_DOUBLE_WAVY    Table border line 
public static final  int BORDER_STRIPED    Table border line 
public static final  int BORDER_EMBOSS    Table border line 
public static final  int BORDER_ENGRAVE    Table border line 
Fields inherited from com.lowagie.text.Cell:
arrayList,  horizontalAlignment,  verticalAlignment,  width,  percentage,  colspan,  rowspan,  leading,  header,  maxLines,  showTruncation,  useAscender,  useDescender,  useBorderPadding,  groupChange
Fields inherited from com.lowagie.text.Rectangle:
UNDEFINED,  TOP,  BOTTOM,  LEFT,  RIGHT,  NO_BORDER,  BOX,  llx,  lly,  urx,  ury,  rotation,  border,  borderWidth,  borderColor,  backgroundColor,  useVariableBorders,  borderWidthLeft,  borderWidthRight,  borderWidthTop,  borderWidthBottom,  borderColorLeft,  borderColorRight,  borderColorTop,  borderColorBottom
Constructor:
 public RtfTableCell(boolean dummy) 
 public RtfTableCell(Element element) throws BadElementException 
    Constructs a 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
 public RtfTableCell(String content) 
    Constructs a Cell with a certain content.

    The String will be converted into a Paragraph.

    Parameters:
    content - a String
 public RtfTableCell(Properties attributes) 
    Returns a Cell that has been constructed taking in account the value of some attributes.
    Parameters:
    attributes - Some attributes
Method from com.lowagie.text.rtf.RtfTableCell Summary:
bottomBorderStyle,   bottomBorderWidth,   getStyleControlWord,   leftBorderStyle,   leftBorderWidth,   rightBorderStyle,   rightBorderWidth,   setBorderStyle,   setBorderWidth,   setBottomBorderStyle,   setBottomBorderWidth,   setLeftBorderStyle,   setLeftBorderWidth,   setRightBorderStyle,   setRightBorderWidth,   setTopBorderStyle,   setTopBorderWidth,   topBorderStyle,   topBorderWidth
Methods from com.lowagie.text.Cell:
add,   addElement,   bottom,   clear,   createPdfPCell,   fill,   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 from com.lowagie.text.Rectangle:
cloneNonPositionParameters,   disableBorderSide,   enableBorderSide,   getBackgroundColor,   getBorder,   getBorderColor,   getBorderColorBottom,   getBorderColorLeft,   getBorderColorRight,   getBorderColorTop,   getBorderWidth,   getBorderWidthBottom,   getBorderWidthLeft,   getBorderWidthRight,   getBorderWidthTop,   getBottom,   getBottom,   getChunks,   getGrayFill,   getHeight,   getLeft,   getLeft,   getRight,   getRight,   getRotation,   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,   type
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.rtf.RtfTableCell Detail:
 public int bottomBorderStyle() 
    Get the bottom border style
 public float bottomBorderWidth() 
    Get the bottom border width
 protected static byte[] getStyleControlWord(int style) 
    Get the RTF control word for style
 public int leftBorderStyle() 
    Get the left border style
 public float leftBorderWidth() 
    Get the left border width
 public int rightBorderStyle() 
    Get the right border style
 public float rightBorderWidth() 
    Get the right border width
 public  void setBorderStyle(int style) 
    Set all four borders to style defined by style
 public  void setBorderWidth(float f) 
    Set all four borders to f width
 public  void setBottomBorderStyle(int style) 
    Set the bottom border to style defined by style
 public  void setBottomBorderWidth(float f) 
    Set the bottom border to f width
 public  void setLeftBorderStyle(int style) 
    Set the left border to style defined by style
 public  void setLeftBorderWidth(float f) 
    Set the left border to f width
 public  void setRightBorderStyle(int style) 
    Set the right border to style defined by style
 public  void setRightBorderWidth(float f) 
    Set the right border to f width
 public  void setTopBorderStyle(int style) 
    Set the top border to style defined by style
 public  void setTopBorderWidth(float f) 
    Set the top border to f width
 public int topBorderStyle() 
    Get the top border style
 public float topBorderWidth() 
    Get the top border width