PhpSpreadsheet/tests/PhpSpreadsheetTests/Style
oleibman 9cf526a920
Reading Xlsx With Supplied Palette (#2595)
Fix #2499, which see for details of an obscure problem affecting both PhpSpreadsheet and Excel. Add support for palette contained in workbook styles. This seems to be a very rare occurrence, so allow it only when the palette contains exactly 64 entries. If there are other possibilities, we'll presumably have a new workbook to guide us how to handle them. Also add some tests for specification of indexed color without palette, another rarity (no in-range examples amongst our current files). Also change one private static array, initialized once at run-time and never changed, to a constant.
2022-02-23 22:09:22 -08:00
..
ConditionalFormatting Read conditional styling for cell (#2491) 2022-01-22 19:18:26 +01:00
AlignmentTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
BorderRangeTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
BorderTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
ColorIndexTest.php Reading Xlsx With Supplied Palette (#2595) 2022-02-23 22:09:22 -08:00
ColorTest.php Namespacing Phase 2 - Styles (#2471) 2022-02-11 06:42:04 -08:00
ConditionalTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
ExportArrayTest.php Fill Pattern Start and End Colors (#2444) 2021-12-18 08:53:23 -08:00
FillTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
FontTest.php fix: Set font size to 10 when given 0 2021-05-29 11:17:25 +02:00
NumberFormatBuiltinTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
NumberFormatRoundTest.php Rounding in NumberFormatter (#2399) 2021-11-26 09:05:35 -08:00
NumberFormatTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
StyleTest.php Optimize applyFromArray by caching existing styles (#1785) 2021-10-31 00:55:00 +09:00