Hi,
I want to insert normal text and subscript/superscript (eg. CO2) in one
excel cell. Here is my code which set only subscript:

XSSFCellStyle style = workbook.createCellStyle();
XSSFFont font = workbook.createFont();
font.setTypeOffset(Font.SS_SUB);
style.setFont(font);

My problem is that I can assign only one XSSFCellStyle instance for cell. Is
there any possibility to mix SS_SUB and SS_NONE 



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/How-to-write-normal-and-subscript-text-in-one-excel-cell-tp5723194.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to