Hi,
I have a file with superscript in the same cell as a normal text.
File: Superscript.zip (19.6 KB)
I am using this code:
Worksheet sheet = book.getWorksheets().get(“Sheet1”);
Cells cells = sheet.getCells();
Cell a1 = cells.get(“A1”);
System.out.println(a1.getStyle().getFont().isSuperscript());
the output is:
false.
Can you please help?