1.HSSFSimpleShape
表示一个简单的形状:线,矩形,椭圆...
public class HSSFSimpleShape extends HSSFShape implements SimpleShape{
}
2.常量
// 已注释表示没有被测试或不支持
// shape类型:线
public final static short OBJECT_TYPE_LINE = HSSFShapeTypes.Line;
// shape类型:矩形
public final static short OBJECT_TYPE_RECTANGLE = HSSFShapeTypes.Rectangle;
// shape类型:椭圆
public final static short OBJECT_TYPE_OVAL = HSSFShapeTypes.Ellipse;
// shape类型:弧形
public final static short OBJECT_TYPE_ARC = HSSFShapeTypes.Arc;
// public final static short OBJECT_TYPE_CHART = 5;
// public final static short OBJECT_TYPE_TEXT = 6;
// public final static short OBJECT_TYPE_BUTTON = 7;
// shape类型:图片
public final static short OBJECT_TYPE_PICTURE = HSSFShapeTypes.PictureFrame;
// public final static short OBJECT_TYPE_POLYGON = 9;
// public final static short OBJECT_TYPE_CHECKBOX = 11;
// public final static short OBJECT_TYPE_OPTION_BUTTON = 12;
// public final static short OBJECT_TYPE_EDIT_BOX = 13;
// public final static short OBJECT_TYPE_LABEL = 14;
// public final static short OBJECT_TYPE_DIALOG_BOX = 15;
// public final static short OBJECT_TYPE_SPINNER = 16;
// public final static short OBJECT_TYPE_SCROLL_BAR = 17;
// public final static short OBJECT_TYPE_LIST_BOX = 18;
// public final static short OBJECT_TYPE_GROUP_BOX = 19;
// shape类型:组合框
public final static short OBJECT_TYPE_COMBO_BOX = HSSFShapeTypes.HostControl;
// shape类型:文本框
public final static short OBJECT_TYPE_COMMENT = HSSFShapeTypes.TextBox;
public final static short OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING = 30;
// 用于方法setWrapText()
public final static int WRAP_SQUARE = 0;
public final static int WRAP_BY_POINTS = 1;
public final static int WRAP_NONE = 2;
3.方法