poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "janek.schroeder" <free...@gmail.com>
Subject How to write normal and subscript text in one excel cell?
Date Thu, 02 Jun 2016 14:29:49 GMT
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();

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: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

View raw message