You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [X] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
What is the expected behavior?
Both readers should have the same behaviour: getPrintArea() should report expected values regardless of previous call to setLoadSheetsOnly().
What is the current behavior?
Using setLoadSheetsOnly() for the Xlsx reader makes getPrintArea() return print areas of unloaded sheets.
Dfred
changed the title
ReaderXlsx
Reader\Xlsx::setLoadSheetsOnly() have an impact on getPrintArea()
Feb 12, 2018
Dfred
changed the title
Reader\Xlsx::setLoadSheetsOnly() have an impact on getPrintArea()
Reader\Xlsx::setLoadSheetsOnly() has an impact on getPrintArea()
Feb 12, 2018
This is:
What is the expected behavior?
Both readers should have the same behaviour: getPrintArea() should report expected values regardless of previous call to setLoadSheetsOnly().
What is the current behavior?
Using setLoadSheetsOnly() for the Xlsx reader makes getPrintArea() return print areas of unloaded sheets.
What are the steps to reproduce?
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
Which versions of PhpSpreadsheet and PHP are affected?
branch develop, PHP 5.6
The text was updated successfully, but these errors were encountered: