PhpSpreadsheet/tests/PhpSpreadsheetTests
Timur 50a9bc83ab Sheet title can contain exclamation mark (in formulas)
When extracting sheet title from string reference (like `"Work!sheet1!A1"`), PHP function `explode()` divide this string into three parts: `['Work', 'sheet1', 'A1']`. And then these wrong values are used in formulas, ranges, etc.

This change fix that problem by using special function `Worksheet::extractSheetTitle()`. This function also has been changed to make sure that worksheet title can contain "!" character. So, that function search last position of "!" in reference string and divide it to 2 parts correctly: `['Work!sheet1', 'A1']`.

Fixes #325
Fixes #662
2018-10-03 12:52:51 +09:00
..
Calculation Add new Complex Number Functions introduced in MS Excel 2013 (#601) 2018-07-25 14:38:44 +01:00
Cell Throw exception for invalid range to prevent infinite loop 2018-06-10 13:34:10 +09:00
Chart Use line width for data series when rendering Xlsx 2018-01-22 11:50:53 +09:00
Collection Update to PHP-CS-Fixer 2.10 2018-01-28 15:59:38 +09:00
Custom Add new Complex Number Functions introduced in MS Excel 2013 (#601) 2018-07-25 14:38:44 +01:00
Functional Column dimensions are read by Reader\Xlsx 2018-08-06 10:33:27 +09:00
Helper Migrator only replaced "PHPExcel" 2018-08-05 23:03:04 +09:00
Reader Could not open CSV file containing HTML fragment 2018-06-25 11:12:27 +09:00
Shared Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#271) 2017-11-09 00:48:01 +09:00
Style Chained operations on cell ranges involving borders are now possible 2018-07-15 12:19:54 +09:00
Worksheet Sheet title can contain exclamation mark (in formulas) 2018-10-03 12:52:51 +09:00
Writer Fix spacing according to Scrutinizer 2018-05-12 22:02:46 +09:00
IOFactoryTest.php Update to PHP-CS-Fixer 2.10 2018-01-28 15:59:38 +09:00
ReferenceHelperTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#271) 2017-11-09 00:48:01 +09:00
SettingsTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#271) 2017-11-09 00:48:01 +09:00