Open rahmatullo-1892 opened 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue for you, please try to help by debugging it further and sharing your results. Thank you for your contributions.
Anything new about the issue?
Did anyone solve this issue..
Probably not. It looks like the issue here is that Html Reader processes inline styles, but omits most styles from Css classes. So, if your original Html file was generated by PhpSpreadsheet using $writer->setUseInlineCss(true);
, the styles will be preserved, but not otherwise. It looks like it might be difficult to get Html Reader to process the classes.
Reopening, but don't look for a solution any time soon.
This is:
What is the expected behavior?
I have a html view in Laravel. In view i use classes for style. All styles included in view.. I want to export it just as it is to Excel
What is the current behavior?
HTML exporting but css not apply
What are the steps to reproduce?
\PhpOffice\PhpSpreadsheet\Reader\Html()->load()
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: