| Method from com.lowagie.text.rtf.RtfTableCell Detail: |
public int bottomBorderStyle() {
return bottomBorderStyle;
}
Get the bottom border style |
public float bottomBorderWidth() {
return bottomBorderWidth;
}
Get the bottom border width |
protected static byte[] getStyleControlWord(int style) {
switch(style)
{
case BORDER_UNDEFINED : return "brdrs".getBytes();
case BORDER_SINGLE : return "brdrs".getBytes();
case BORDER_DOUBLE_THICK : return "brdrth".getBytes();
case BORDER_SHADOWED : return "brdrsh".getBytes();
case BORDER_DOTTED : return "brdrdot".getBytes();
case BORDER_DASHED : return "brdrdash".getBytes();
case BORDER_HAIRLINE : return "brdrhair".getBytes();
case BORDER_DOUBLE : return "brdrdb".getBytes();
case BORDER_DOT_DASH : return "brdrdashd".getBytes();
case BORDER_DOT_DOT_DASH : return "brdrdashdd".getBytes();
case BORDER_TRIPLE : return "brdrtriple".getBytes();
case BORDER_THICK_THIN : return "brdrtnthsg".getBytes();
case BORDER_THIN_THICK : return "brdrthtnsg".getBytes();
case BORDER_THIN_THICK_THIN : return "brdrtnthtnsg".getBytes();
case BORDER_THICK_THIN_MED : return "brdrtnthmg".getBytes();
case BORDER_THIN_THICK_MED : return "brdrthtnmg".getBytes();
case BORDER_THIN_THICK_THIN_MED : return "brdrtnthtnmg".getBytes();
case BORDER_THICK_THIN_LARGE : return "brdrtnthlg".getBytes();
case BORDER_THIN_THICK_LARGE : return "brdrthtnlg".getBytes();
case BORDER_THIN_THICK_THIN_LARGE : return "brdrtnthtnlg".getBytes();
case BORDER_WAVY : return "brdrwavy".getBytes();
case BORDER_DOUBLE_WAVY : return "brdrwavydb".getBytes();
case BORDER_STRIPED : return "brdrdashdotstr".getBytes();
case BORDER_EMBOSS : return "brdremboss".getBytes();
case BORDER_ENGRAVE : return "brdrengrave".getBytes();
}
return "brdrs".getBytes();
}
Get the RTF control word for style |
public int leftBorderStyle() {
return leftBorderStyle;
}
Get the left border style |
public float leftBorderWidth() {
return leftBorderWidth;
}
Get the left border width |
public int rightBorderStyle() {
return rightBorderStyle;
}
Get the right border style |
public float rightBorderWidth() {
return rightBorderWidth;
}
Get the right border width |
public void setBorderStyle(int style) {
topBorderStyle = style;
leftBorderStyle = style;
rightBorderStyle = style;
bottomBorderStyle = style;
}
Set all four borders to style defined by style |
public void setBorderWidth(float f) {
super.setBorderWidth(f);
topBorderWidth = f;
leftBorderWidth = f;
rightBorderWidth = f;
bottomBorderWidth = f;
}
Set all four borders to f width |
public void setBottomBorderStyle(int style) {
bottomBorderStyle = style;
}
Set the bottom border to style defined by style |
public void setBottomBorderWidth(float f) {
bottomBorderWidth = f;
}
Set the bottom border to f width |
public void setLeftBorderStyle(int style) {
leftBorderStyle = style;
}
Set the left border to style defined by style |
public void setLeftBorderWidth(float f) {
leftBorderWidth = f;
}
Set the left border to f width |
public void setRightBorderStyle(int style) {
rightBorderStyle = style;
}
Set the right border to style defined by style |
public void setRightBorderWidth(float f) {
rightBorderWidth = f;
}
Set the right border to f width |
public void setTopBorderStyle(int style) {
topBorderStyle = style;
}
Set the top border to style defined by style |
public void setTopBorderWidth(float f) {
topBorderWidth = f;
}
Set the top border to f width |
public int topBorderStyle() {
return topBorderStyle;
}
|
public float topBorderWidth() {
return topBorderWidth;
}
|