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 2017/05/03 23:07:11 UTC

[Bug 61060] DataFormatter should honor conditional formatting rule formats

https://bz.apache.org/bugzilla/show_bug.cgi?id=61060

--- Comment #1 from Greg Woolsey <gw...@apache.org> ---
Worth noting this is easy to find for XSSFConditionalFormattingRule, via the
DXF entry's NumFmt element, however I do not see any way to find the number
format pattern for HSSF conditional rules, even though when I save a file as
XLS in Excel, and open it, the rule number formats are still there.

For now, HSSF rules will return null for the number format, the same as XSSF
will when the dxf element doesn't have a NumFmt element set.  For these, the
cell style number format (and possibly a system/document default) will be used
as it is currently.

If anyone needs this for HSSF, they will have to dig into the binary format to
figure out where to find it.  The SS interface will have a placeholder
implementation for it.

-- 
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