[]
Serializable, Comparable<CellAttribute>, Constable此枚举与 HtmlSaveOptions.getCellAttributeOptions() 一起使用,用于配置在导出的 HTML 中添加到单元格元素的属性。
workbook.getActiveSheet().getRange("B2").setValue("North");
HtmlSaveOptions options = new HtmlSaveOptions();
options.getCellAttributeOptions().put(CellAttribute.Address, "address");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
workbook.save(outputStream, options);
Enum.EnumDesc<E extends Enum<E>>static CellAttributestatic CellAttribute[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null