Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xlsx Better Support Needed for Scheme/Theme Colors #3477

Closed
2 of 8 tasks
oleibman opened this issue Mar 22, 2023 · 0 comments · Fixed by #3476
Closed
2 of 8 tasks

Xlsx Better Support Needed for Scheme/Theme Colors #3477

oleibman opened this issue Mar 22, 2023 · 0 comments · Fixed by #3476
Assignees

Comments

@oleibman
Copy link
Collaborator

This is:

- [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?

Theme/scheme colors should be read as part of Xlsx Reader, and reproduced by Xlsx Writer.

What is the current behavior?

Reader appears to ignore scheme colors. Writer appears to write theme file with hard-coded colors. As a result, the input and output files may differ in their coloring when scheme colors are used. This is especially noticeable in some charts (see PR #3476); I suspect, but am not certain, that other situations might also be affected.

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:

After the PR identified above is merged, this behavior is demonstrated by sample 32readwriteLineChart6.

What features do you think are causing the issue

  • Reader
  • Writer
  • Styles
  • Data Validations
  • Formula Calculations
  • Charts
  • AutoFilter
  • Form Elements

Does an issue affect all spreadsheet file formats? If not, which formats are affected?

This is probably just a problem for Xlsx.

Which versions of PhpSpreadsheet and PHP are affected?

All.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant