FileDocCategorySizeDatePackage
TableProperties.javaAPI DocApache Poi 3.0.12904Mon Jan 01 18:55:30 GMT 2007org.apache.poi.hwpf.usermodel

TableProperties

public class TableProperties extends TAPAbstractType implements Cloneable

Fields Summary
Constructors Summary
public TableProperties()


  
public TableProperties(int columns)

    field_7_itcMac = (short)columns;
    field_10_rgshd = new ShadingDescriptor[columns];
    for (int x = 0; x < columns; x++)
    {
      field_10_rgshd[x] = new ShadingDescriptor();
    }
    field_11_brcBottom =  new BorderCode();
    field_12_brcTop = new BorderCode();
    field_13_brcLeft = new BorderCode();
    field_14_brcRight = new BorderCode();
    field_15_brcVertical = new BorderCode();
    field_16_brcHorizontal = new BorderCode();
    field_8_rgdxaCenter = new short[columns];
    field_9_rgtc = new TableCellDescriptor[columns];
    for (int x = 0; x < columns; x++)
    {
      field_9_rgtc[x] = new TableCellDescriptor();
    }
  
Methods Summary
public java.lang.Objectclone()

    TableProperties tap = (TableProperties)super.clone();
    tap.field_10_rgshd = new ShadingDescriptor[field_10_rgshd.length];
    for (int x = 0; x < field_10_rgshd.length; x++)
    {
      tap.field_10_rgshd[x] = (ShadingDescriptor)field_10_rgshd[x].clone();
    }
    tap.field_11_brcBottom = (BorderCode)field_11_brcBottom.clone();
    tap.field_12_brcTop = (BorderCode)field_12_brcTop.clone();
    tap.field_13_brcLeft = (BorderCode)field_13_brcLeft.clone();
    tap.field_14_brcRight = (BorderCode)field_14_brcRight.clone();
    tap.field_15_brcVertical = (BorderCode)field_15_brcVertical.clone();
    tap.field_16_brcHorizontal = (BorderCode)field_16_brcHorizontal.clone();
    tap.field_8_rgdxaCenter = (short[])field_8_rgdxaCenter.clone();
    tap.field_9_rgtc = new TableCellDescriptor[field_9_rgtc.length];
    for (int x = 0; x < field_9_rgtc.length; x++)
    {
      tap.field_9_rgtc[x] = (TableCellDescriptor)field_9_rgtc[x].clone();
    }
    return tap;