Archive for the 'excel' Category

06
Jan
10

detecting struckout text in a cell using jexcelapi


Here’s how I detected struckout text in a cell using JExcelApi:


Cell cc = sheet.getCell("B30");
CellFormat format = cc.getCellFormat();
System.out.println(format.getFont().isStruckout());

The thing is CellFormat was marked as deprecated, but I couldn’t find any other way. Other suggestions?




Blog Stats

  • 223,848 hits