https://bz.apache.org/bugzilla/show_bug.cgi?id=61060
Bug ID: 61060
Summary: DataFormatter should honor conditional formatting rule
formats
Product: POI
Version: 3.17-dev
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: SS Common
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Now that POI 3.16 supports evaluation of conditional formatting rules,
DataFormatter should be extended to support formatting a cell based not only on
it's style format, but the style format of the conditional formatting rule that
applies, if there is one.
That is, prefer a conditional format rule cell format string over a cell style
format string.
I think for compatibility and transparency this should be a distinct set of API
calls, new methods on DataFormatter that take a ConditionalFormattingEvaluator
and FormulaEvaluator, in addition to the current methods that take a
FormulaEvaluator.
JavaDoc will note the two should be based on the same evaluation context for
consistency and cache performance.
DataFormatter will need some refactoring to abstract out retrieving the
applicable format objects, to centralize logic about which one applies in what
cases.
--
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]