Local clone of [PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet/)
Go to file
Owen Leibman fb379385e0
Fix active cell when freeze pane is used
When freeze pane is in use on a worksheet, PhpSpreadsheet saves to Xlsx in such
a way that the active cell is always set to the top left cell below the freeze
pane. I find it difficult to understand why:

  1. You have given users the setSelectedCells function, but then choose to
     ignore it.
  2. Excel itself does not act in this manner.
  3. PHPExcel did not act in this manner.
  4. PhpSpreadsheet when writing to Xls does not act in this manner.
     This is especially emphasized because the one test in FreezePaneTest which
     would expose the difference is the only test in that member which is
     not made for both Xls and Xlsx.
  5. It is *really* useful to be able to open a spreadsheet anywhere, even when
     it has header rows.

Closes #1323
2020-03-02 18:11:37 +07:00
.github Prefer https:// URLs when available in docs & comments 2018-10-28 13:55:00 +11:00
bin Make global usage of `use` instead of FQCN 2017-05-18 00:10:16 +02:00
docs Allow Html Reader to write into existing spreadsheet 2019-11-17 21:17:56 +01:00
samples Drop PHP 5.6 and 7.0 2019-07-24 23:12:45 -07:00
src Fix active cell when freeze pane is used 2020-03-02 18:11:37 +07:00
tests Fix active cell when freeze pane is used 2020-03-02 18:11:37 +07:00
.gitattributes Do not export .github folder (#1211) 2019-10-19 13:18:28 +02:00
.gitignore Move PHP-CS-Fixer cache file out of the project to avoid IDE annoyance 2018-10-21 15:34:33 +11:00
.php_cs.dist Take advantage of PHP 7.1 syntax 2019-07-24 23:43:28 -07:00
.sami.php Publish API documentation via Travis and Sami 2018-06-04 13:18:39 +09:00
.scrutinizer.yml Revert "Accept no change of coverage" 2017-12-23 20:59:18 +09:00
.travis.yml Use latest available Ubuntu 2019-12-19 11:44:12 +01:00
CHANGELOG.PHPExcel.md Prefer https:// URLs when available in docs & comments 2018-10-28 13:55:00 +11:00
CHANGELOG.md Fix active cell when freeze pane is used 2020-03-02 18:11:37 +07:00
CONTRIBUTING.md `master` is the new default branch 2019-01-02 15:28:38 +11:00
LICENSE Change license from LGPL 2.1 to MIT 2019-11-17 18:08:34 +01:00
README.md Change license from LGPL 2.1 to MIT 2019-11-17 18:08:34 +01:00
composer.json Change license from LGPL 2.1 to MIT 2019-11-17 18:08:34 +01:00
composer.lock PHP 7.4 compatibility 2019-11-30 00:12:46 +01:00
mkdocs.yml `master` is the new default branch 2019-01-02 15:28:38 +11:00
phpunit.xml.dist Upgrade to phpunit 7.5 2019-07-24 23:45:43 -07:00

README.md

PhpSpreadsheet

Build Status Code Quality Code Coverage Total Downloads Latest Stable Version License Join the chat at https://gitter.im/PHPOffice/PhpSpreadsheet

PhpSpreadsheet is a library written in pure PHP and providing a set of classes that allow you to read from and to write to different spreadsheet file formats, like 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.

License

PhpSpreadsheet is licensed under MIT.