diff options
author | Patrik Lindström <99639133+thevaadinman@users.noreply.github.com> | 2025-08-04 18:19:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-04 16:19:45 +0100 |
commit | d81592022dc186d20290c74da92b671113e780e8 (patch) | |
tree | b4c20fe56ed0a0bab0cf978d699cc88154b595c6 /test-data/publisher | |
parent | bf4ee6a3b9021879bc428af0d8eb3a7d6181182d (diff) | |
download | poi-trunk.tar.gz poi-trunk.zip |
* feat: Full color support in cellformat expressions
This change adds full support for named and indexed color in cell format expressions by adding in the standard color palette to CellFormatPart, from where the formatting information is free to propagate down the stack.
For strict format compatibility, only the 8 basic named colors and 56 indexed colors should be allowed, but this change retains the assumed intended feature of the original code to also support the full set of colors specified in HSSFColor.HSSFColorPredefined. If this is undesirable, the dependency on HSSFColor should be dropped entirely.
This change is required in order to properly support named and indexed colors as part of cell format expressions in products using POI.
* Add some sanity tests
* Rename testNamedColorsExist to testNamedColors
* fix rebase corruption in CellFormatPart
* fix indentation in TestCellFormat
..by converting tabs to four spaces
* fix: replace .length() == 0 with .isEmpty for color name string
* fix Javadoc name parameter in CellFormatPart.getColor()
* chore: Tidy up CellFormatPart
Diffstat (limited to 'test-data/publisher')
0 files changed, 0 insertions, 0 deletions