How to check a cell text is strikethrough or not in .xlsx file using apache poi
问题 I need to check the text format of a cell in .xlsx file (Microsoft Excel file) is strike through or not using Apache POI libraries. Look following Image Please Check this image ! I need to check whether B3 Cell text is strike through or not. 回答1: Finally I found a way to do this, code as follow //Using workbook XSSFWorkbook workbook = new XSSFWorkbook(new FileInputStream(new File("abc.xlsx"))); //Getting first sheet XSSFSheet sheet = workbook.getSheetAt(0); //Checking A1 cell that