PhpSpreadsheet/tests/PhpSpreadsheetTests/Worksheet
aswinkumar863 92a50d134f
Format as Table for Xlsx
Initial implementation of Excel's tables feature (i.e. Select Home >
Format as Table in Excel App).

Tables are similar to AutoFilter but tables have other advantages like
named ranges, easy formatting, totals row and header row with filter.
Tables can also be converted to charts and pivot tables easily.

Usage:
$table = new Table();
$table->setName('Sales_Data');
$table->setRange('A1:D17');
$spreadsheet->getActiveSheet()->addTable($table);

In this Commit:
- Added Table API with initial support for header and totals row.
- Added complete styling options for Table.
- Added Xlsx Writer for Table.
- Added samples.
- Covered with unit tests.

To be done:
- Filter expressions similar to AutoFilter.
- Precalucate formulas for totals row (Check sample 2).
- Table named ranges in formulas and calculation.
2022-03-10 19:54:45 +05:30
..
AutoFilter Null Passed to AutoFilter SetRange (#2454) 2021-12-25 08:45:10 -08:00
Table Format as Table for Xlsx 2022-03-10 19:54:45 +05:30
ColumnCellIterator2Test.php Let's see what Scrutinizer makes of these changes (#1859) 2021-02-18 12:39:24 +01:00
ColumnCellIteratorTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
ColumnDimensionTest.php Html import dimension conversions (#2152) 2021-06-11 17:29:49 +02:00
ColumnIteratorTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
ColumnTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
ConditionalStyleTest.php Allow single-cell checks on conditional styles, even when the style is configured for a range of cells (#2483) 2022-01-05 13:39:50 +01:00
DefaultPaperSizeTest.php Improve PDF Support for Page Size and Orientation (#2410) 2021-12-01 23:00:02 -08:00
DrawingTest.php Phpstan Differences from Php7 to Php8 (#2631) 2022-03-01 01:53:12 -08:00
IteratorTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
PageMarginsTest.php Stricter visibility 2020-07-19 12:30:31 +09:00
ProtectionTest.php Password and hash are exclusive 2020-05-31 22:36:37 +09:00
RemoveTest.php Recalibrate Row/Column Dimensions After removeRow/Col (#2486) 2022-01-13 19:06:22 -08:00
RowCellIterator2Test.php Let's see what Scrutinizer makes of these changes (#1859) 2021-02-18 12:39:24 +01:00
RowCellIteratorTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
RowDimensionTest.php Html import dimension conversions (#2152) 2021-06-11 17:29:49 +02:00
RowIteratorTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
RowTest.php Eliminate Mocking from Row/Column/Cell Iterator Tests (#2352) 2021-11-01 13:50:42 +09:00
WorksheetNamedRangesTest.php Now That SettingsTest Is Well-Behaved 2021-06-30 13:15:20 -07:00
WorksheetTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00