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

Form Controls Within Drawing Xml #3735

Open
1 of 8 tasks
oleibman opened this issue Sep 14, 2023 · 0 comments
Open
1 of 8 tasks

Form Controls Within Drawing Xml #3735

oleibman opened this issue Sep 14, 2023 · 0 comments

Comments

@oleibman
Copy link
Collaborator

This is:

- [ ] a bug report
- [x] a feature request (difficult to decide between this and bug)
- [x] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

What is the expected behavior?

The test spreadsheet uploaded at #3423 (comment) contains textboxes in its xml Drawing file. PR #3720 solves most of the issue's problems, but did not address the missing textboxes. PR #3130 added limit support for form controls, but expected to find those in vml files, not in drawing xml. It remains to be seen if this can be done, but perhaps form controls included with drawing could be handled as extensions to the Drawing class, so that they might be able to be read, written, and queried by the application.

What is the current behavior?

Textboxes within Drawing xml are ignored by Xlsx Reader, and not written by Xlsx Writer. I do not know if other form controls can also appear within Drawing xml.

What are the steps to reproduce?

Loading and saving the test file demonstrates the problem. The textboxes are not found in the output file.

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?

Xlsx is affected. Xls, Ods, Xml, and Gnumeric are doubtless affected as well, but they don't have any Form Control support at all.

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
Development

No branches or pull requests

1 participant