PhpSpreadsheet
PhpSpreadsheet copied to clipboard
Issue saving PDF file from Excel
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?
Save a pdf file from an xlsx
What is the current behavior?
The excel is created and saved but the pdf is saved with 0kb and cant open it.
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:
I am using this block of code. It used to work with mpdf but it stoped and I tried all 3 and they dont work for some reason I can not understand. I also have tried every way in the documentation.
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?
Which versions of PhpSpreadsheet and PHP are affected?
php 8.2 spreadsheets 1.29
Can you upload the spreadsheet that you are unable to write to Pdf?
No update in 6 months, unable to debug. Closing.