Just to be clear on what you are asking for, there is no existing way to just get the superscripted text alone. You will have to get the contents of the cell and sift out the superscripted text sadly.
It should be possible to create such a sieve but I think - with regard to HSSF - it means getting the contents of the cell and then iterating through each character then checking the font applied to it. I should have the time to play with some more code - focussing just on HSSF - today and will let you know if I manage to make any progress. It should be possible to create a method that returns an ArrayList whose elements each encapsulate a sub-string and some indication of whether or not that text is superscript. Yours Mark B -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Reading-superscript-from-data-cell-tp3414964p3424968.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]
