PhpSpreadsheet/tests/PhpSpreadsheetTests/Writer/Xlsx
oleibman 4f22b39b89
Add Support to Chart/Axis and Gridlines for Shadow (#2872)
* Add Support to Chart/Axis and Gridlines for Shadow

Continuing the work from #2865. Support is added for Shadow properties for Axis and Gridlines, and Glow and SoftEdges are extended to Gridlines. Tests are added. Some chart tests are moved from Reader/Xlsx and Writer/Xlsx so that most chart tests are under a single directory.

This is a minor breaking change. Since the support for these properties was just added, it can't really affect much in userland. Some properties had been stored in the form which the XML requires them rather than as the user would enter them to Excel. So, for example, setting the Glow size to 10 points would have caused it to be stored internally as 127,000. This change will store the size internally as 10, obviously making the appropriate conversion when reading from or writing to XML. This makes unit tests much simpler, and I think this is also what a user would expect, especially considering the difficulties in keeping track of the trailing zeros.

* More Tests

Confirm value change between internal and xml.

* Still More Tests

Add a little more coverage, and use a neat trick suggested by @MarkBaker in the discussion of PR #2724 to greatly simplify MultiplierTest.
2022-06-09 18:08:56 -07:00
..
ConditionalTest.php Read conditional styling for cell (#2491) 2022-01-22 19:18:26 +01:00
DrawingsTest.php Assertion updates 2022-05-11 16:06:44 +02: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 Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00
UnparsedDataTest.php Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08: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 Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00