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

Issue saving PDF file from Excel #4130

Open
7 tasks
ALGAzevedo opened this issue Aug 7, 2024 · 0 comments
Open
7 tasks

Issue saving PDF file from Excel #4130

ALGAzevedo opened this issue Aug 7, 2024 · 0 comments

Comments

@ALGAzevedo
Copy link

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.

image

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?

pdf

Which versions of PhpSpreadsheet and PHP are affected?

php 8.2
spreadsheets 1.29

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

No branches or pull requests

1 participant