PhpSpreadsheet/tests/PhpSpreadsheetTests/Writer/Xlsx
Mark Baker 4a04499bff
Read conditional styling for cell (#2491)
* Allow single-cell checks on conditional styles, even when the style is configured for a range of cells
* Work on the CellMatcher logic to evaluate Conditionals for a cell based on its value, and identify which conditional styles should be applied
* Refactor style merging and cell matching for conditional formatting into separate classes; this should make it easier to test, and easier to extend for other CF expressions subsequently
* Added support for containsErrors and notContainsErrors
* Initial work on a wizard to help simplify created Conditional Formatting rules, to ensure that the correct expressions are set
* Further work on extending the Conditional Formatting rules to cover more of the options that are available in MS Excel
* Prevent phpcs-fixer from removing class @method annotations, used to identify the signature for magic methods used in Wizard classes
* Implement `fromConditional()`` method to allow the creation of a CF Wizard from an existing Conditional
* Ensure that xlsx Reader picks up the timePeriod attribute for DatesOccurring CF Rules
* Allow Duplicates/Uniques CF Rules to be recognised in the Xlsx Reader
* Basic Xlsx reading of CF Rules/Styles from <extLst><ext><ConditinalFormattings> element, and not just the <ConditinalFormatting> element of the worksheet

* Add some validation for operands passed to the CF Wizards
 - remove any leading ``=` from formulae, because they'll be embedded into other formulae
 - unwrap any string literals from quotes, because that's also handled internally

Handle cross-worksheet cell references in cellReferences and Formulae/Expressions

* re-baseline phpstan

* Update Change Log with details of the CF Improvements
2022-01-22 19:18:26 +01:00
..
ConditionalTest.php Read conditional styling for cell (#2491) 2022-01-22 19:18:26 +01:00
DrawingsTest.php Xlsx image background in comments #1547 (#2422) 2021-12-17 06:10:59 -08:00
FloatsRetainedTest.php Now That SettingsTest Is Well-Behaved 2021-06-30 13:15:20 -07:00
Issue589Test.php Don't corrupt file when using chart with fill color 2021-11-23 23:34:48 +09:00
Issue2082Test.php Xlsx Writer Formula with Bool Result of False 2021-05-11 13:48:38 +02:00
Issue2266Test.php Deleting Sheet with Local Defined Name (#2284) 2021-09-15 12:14:13 -07:00
Issue2368Test.php Support Data Validations in More Versions of Excel (#2377) 2021-11-14 10:06:46 -08:00
LocaleFloatsTest.php New Looming Problems with PHP8.1 (#2231) 2021-08-03 21:37:53 -07:00
StartsWithHashTest.php Now That SettingsTest Is Well-Behaved 2021-06-30 13:15:20 -07:00
Unparsed2396Test.php Name Clashes Between Parsed and Unparsed Drawings (#2423) 2021-12-09 23:37:15 -08:00
UnparsedDataCloneTest.php Now That SettingsTest Is Well-Behaved 2021-06-30 13:15:20 -07:00
UnparsedDataTest.php Lock our deps with our minimum PHP 7.2, instead of PHP 7.3 2021-10-30 12:54:26 +09:00
VisibilityTest.php Unit testing for row/column/worksheet visibility for Xls and Xlsx files (#2059) 2021-05-03 23:46:40 +02:00
WmfTest.php Xlsx Writer Support for WMF Files (#2339) 2021-11-01 13:28:51 +09:00