Closed xonu closed 1 year ago
The reported problem is fixed by PR #3659, which has just been merged. I am leaving the issue open because loading and saving the spreadsheet isn't quite perfect, in particular some dropdowns are lost.
Interesting case. Data Validations and Conditional Styles can each be supplied in the Xml in either "external" or "internal" formats. The code for each to handle "external" assumes that each is the only "external" item on the worksheet in the Xml, but some of the worksheets in the sample spreadsheet provide both as "external" on some sheets. I will work on a solution.
This is:
What is the expected behavior?
The file.xlsx saved successfully.
What is the current behavior?
Saving file does not work:
What are the steps to reproduce?
Nothing very special, just load the file and save it (without even changing anything) like that:
If this is an issue with reading and writing a specific spreadsheet file: Amazon CPF empty.xlsx
What features do you think are causing the issue
[ ] Reader
[x ] Writer
[ ] Styles
[ ] Data Validations
[ ] Formula Calculations
[ ] Charts
[ ] AutoFilter
[ ] Form Elements
Does an issue affect all spreadsheet file formats? If not, which formats are affected?
XLSX
IOFactory::WRITER_XLSX
Which versions of PhpSpreadsheet and PHP are affected?
1.29.0 (currently latest)