https://issues.apache.org/bugzilla/show_bug.cgi?id=51262
Bug #: 51262
Summary: Wrong font pointed by formatting run
Product: POI
Version: 3.7
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: minor
Priority: P2
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27056
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27056
example of the bug
In the attached file, there are two cells containing the same text "abcxyz",
seemingly formatted the same way: "abc" takes the default font (MS P Gothic)
but in bold and "xyz" is normal (not bold) but bigger (11pt).
The first cell is copied from an actual work document, I have been working
with. It contains the problem.
The second cell is a reproduction of the format made directly in this XLS file
with Excel 2007.
While they show the same way in Excel, POI reads something different in both
cells. The formatting run (corresponding to "xyz") of the first cell references
the wrong font (font index 0). Everything is fine in the second cell (the
formatting run points to font 29, which is different from the cell font).
Might be that it comes from some BIFF8 archaism, unsupported by POI (I don't
know the whole history of the original file but it could be an old one, copied
again and again).
Also reproduced with 3.8-beta2-20110408.
--
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]