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?
It should be possible to read an Xlsx Spreadsheet with row/column/range conditional rules, and write it to Xls without issue.
What is the current behavior?
Rules are invalid if the loaded rules exceed the row/column limits of Xls
Need to adjust row/column ranges for CF Rules in the Xls Writer, because the range is maintained as a cell range that exceeds Xls row/column limits
It's also potentially a problem that having both a row and a column CF range rule in the same worksheet isn't supported for Xls files; so that also needs checking, and need to decide which range to drop if it occurs
This is:
What is the expected behavior?
It should be possible to read an Xlsx Spreadsheet with row/column/range conditional rules, and write it to Xls without issue.
What is the current behavior?
Rules are invalid if the loaded rules exceed the row/column limits of Xls
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:
See attached file for example.
What features do you think are causing the issue
Does an issue affect all spreadsheet file formats? If not, which formats are affected?
Xls
Which versions of PhpSpreadsheet and PHP are affected?
All
ConditionalFormat_Ranges.xlsx
The text was updated successfully, but these errors were encountered: