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?

Advertisements

0 Responses to “detecting struckout text in a cell using jexcelapi”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Blog Stats

  • 228,134 hits

%d bloggers like this: