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?
When RowDimension exists but its style is null, prefer column style to row style.
What is the current behavior?
When RowDimension exists, its style prefer column style, even if the style is null.
What are the steps to reproduce?
Apply background color to entire Column A:A in Excel (Create columnDimension(A) and apply style)
Changes the height of row 1:1 in Excel (Create rowDimension(1))
Execute the following code to change value of cell A1 and save it
In the saved xlsx file, the background color of cell A1 is cleared
FixPHPOffice#3534. For new cells, style is set to Row Dimension Style when Row Dimension exists (even if Row Dimension Style does not exist), else Column Dimension Style when Column Dimension exists. However it should be set to Row Dimension Style when Row Dimension exists *and* Row Dimension Style exists, else ...
* Use Column Style When Row Dimension Exists Without Style
Fix#3534. For new cells, style is set to Row Dimension Style when Row Dimension exists (even if Row Dimension Style does not exist), else Column Dimension Style when Column Dimension exists. However it should be set to Row Dimension Style when Row Dimension exists *and* Row Dimension Style exists, else ...
* Address Issue 3533
If cell is defined in xml, it uses neither row nor column style. If style is omitted in cell definition, default style is used.
* Update CHANGELOG.md
This is:
What is the expected behavior?
When RowDimension exists but its style is null, prefer column style to row style.
What is the current behavior?
When RowDimension exists, its style prefer column style, even if the style is null.
What are the steps to reproduce?
input.xlsx
output.xlsx
What features do you think are causing the issue
Does an issue affect all spreadsheet file formats? If not, which formats are affected?
XLSX (as far as I know)
Which versions of PhpSpreadsheet and PHP are affected?
php 8.2.2
phpoffice/phpspreadsheet 1.28.0 and master(e9cf273)
The text was updated successfully, but these errors were encountered: