[]
用作 IRange.specialCells(SpecialCellType,SpecialCellsValue) 的第二个参数;当单元格类型为 SpecialCellType.Constants 或 SpecialCellType.Formulas 时,可按值类型(数字、文本、逻辑值或错误)进一步筛选单元格。
worksheet.getRange("A1").setValue("Text");
worksheet.getRange("B1").setValue(100);
worksheet.getRange("C1").setValue(true);
// Find cells containing numeric constants
IRange numberCells = worksheet.getCells().specialCells(SpecialCellType.Constants, SpecialCellsValue.Numbers);
// Find cells containing text constants
IRange textCells = worksheet.getCells().specialCells(SpecialCellType.Constants, SpecialCellsValue.TextValues);
static final SpecialCellsValuestatic final SpecialCellsValuestatic final SpecialCellsValuestatic final SpecialCellsValue