https://issues.apache.org/bugzilla/show_bug.cgi?id=55730
Bug ID: 55730
Summary: Fix org.apache.poi.ss.usermodel.BuiltinFormats.java
for 0x29-0x2c
Product: POI
Version: 3.10-dev
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
Assignee: [email protected]
Reporter: [email protected]
Created attachment 30987
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30987&action=edit
Fix org.apache.poi.ss.usermodel.BuiltinFormats.java for 0x29-0x2c
The documentation is both correct and wrong. "*" is a special character to
indicate a repeating character to fit a cell:
http://office.microsoft.com/en-us/excel-help/number-format-codes-HP005198679.aspx
At some point in time the documentation removed the <space> character in the
*<space> format strings, but it also swapped the 0x2b with the 0x2c format
strings in the implementation (Such as an Accounting format)
The org.apache.poi.ss.usermodel.DataFormatter is still bugged when supporting
the correct 0x2b, but this at least should get fixed.
I tried using the patch guidelines at: http://poi.apache.org/guidelines.html
but the ant command didn't work, and since I checked everything out with git,
that didn't work either - so resulted in just using SourceTree to generate a
patch file. Either way the patch isn't too complicated and could be easily
applied.
--
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]