Detecting struckout text in a cell using JExcelApi
Posted
by Geo
on Stack Overflow
See other posts from Stack Overflow
or by Geo
Published on 2010-01-06T13:13:23Z
Indexed on
2010/06/02
3:23 UTC
Read the original article
Hit count: 258
I need to detect whether the text within a cell is struck out or not. I'm using this:
Cell cc = sheet.getCell("B1");
CellFormat format = cc.getCellFormat();
System.out.println(format.getFont().isStruckout());
but I remember I read somewhere that CellFormat
is deprecated and CellFeatures
should be used instead. How could one find out whether a text is struck out using CellFeatures?
© Stack Overflow or respective owner