https://issues.apache.org/bugzilla/show_bug.cgi?id=52635
Bug #: 52635
Summary: Mixed Font Styles in one Cell
Product: POI
Version: 3.8-dev
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: enhancement
Priority: P2
Component: POI Overall
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Is there a way to determine font style and other text formatting at the
character level within a given Cell?
For example, in the Excel data I am parsing, some footnotes are indicated with
the footnote symbol in superscript at the end of the cell content, however the
getTypeOffSet() method returns a value of 0.
This is how I get the Font for a Cell:
short fontIndex = cellStyle.getFontIndex();
Font font = workbook.getFontAt(fontIndex);
I do find that if the first character in the cell is superscript, then the
method Font.getTypeOffset() return value = 1.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]