37bf44e9db
When reading an Xlsx file using a ReadFilter it is posible for `ColumnAndRowAttributes::load()` to (I think) erroneously skip loading of column or row attributes. This is because `isFilteredColumn` and `isFilteredRow` will return early with a true (ie the column or row should be considered filtered and their attrbutes discarded) at the first false returned from the ReadFilter. All rows for a column must past the filter for the loop to return false. I've also created the same test of column widths for row heights. * ColumnWidthTest.php Added test with a read filter. * RowHeightTest.php Mirrored column wdith tests for row height |
||
---|---|---|
.github | ||
bin | ||
docs | ||
samples | ||
src/PhpSpreadsheet | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.php_cs.dist | ||
.phpcs.xml.dist | ||
.scrutinizer.yml | ||
CHANGELOG.PHPExcel.md | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
composer.json | ||
composer.lock | ||
mkdocs.yml | ||
phpunit.xml.dist |
README.md
PhpSpreadsheet
PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc.
Documentation
Read more about it, including install instructions, in the official documentation. Or check out the API documentation.
Please ask your support questions on StackOverflow, or have a quick chat on Gitter.
PHPExcel vs PhpSpreadsheet ?
PhpSpreadsheet is the next version of PHPExcel. It breaks compatibility to dramatically improve the code base quality (namespaces, PSR compliance, use of latest PHP language features, etc.).
Because all efforts have shifted to PhpSpreadsheet, PHPExcel will no longer be maintained. All contributions for PHPExcel, patches and new features, should target PhpSpreadsheet master
branch.
Do you need to migrate? There is an automated tool for that.
License
PhpSpreadsheet is licensed under MIT.