poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61060] New: DataFormatter should honor conditional formatting rule formats
Date Tue, 02 May 2017 00:48:46 GMT
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: dev@poi.apache.org
          Reporter: gwoolsey@apache.org
  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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message