You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/02/09 22:57:29 UTC
DO NOT REPLY [Bug 52635] New: Mixed Font Styles in one Cell
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: dev@poi.apache.org
ReportedBy: bscartine@yahoo.com
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 52635] Mixed Font Styles in one Cell
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52635
Nick Burch <ni...@alfresco.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Nick Burch <ni...@alfresco.com> 2012-02-09 22:47:48 UTC ---
Please ask usage questions on the user mailing list
<http://poi.apache.org/mailinglists.html>, bugzilla is for bugs
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org