-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Use openspout
for Excel exports
#381
base: master
Are you sure you want to change the base?
Conversation
+ use openspout for excel and CSV exports, rather than PHPSpreadsheet
+ various minor fixes
+ changelog
+ support more style options in OpenspoutHelper::createStyleFromPhpSpreadsheetOptions
+ autoWidth for export
+ adjusted autoWidth for export
@kartik-v maybe instead of overriding the export type most of these we can hack solutions for (I already got a hacky autoSize to work and the box border styling should be doable too, albeit with some pain :D), but particularly with Having What do you think? |
Yes I did mention in my comment on the other similar PR... that there must be an option to activate openspout selectively like a class property
|
I don't think it should throw an exception if |
+ add useOpenspout option + add support for ODS exports o rename _objExcel* objects to _objOpenspout* for clarity ! checks to prevent non-Excel openspout exports from crashing o refactor out mergeCells function
+ add default options for ods export ! fix various minor issues + add empty i18n for openoffice
! fix ods export crashing if a cell has no border style o minor improvements for ods export
+ complete i18n
+ add box styles for openspout export
+ add header styles back, refactor out outline/inside border logic
o last row check fix
o cleanup
The good news: This is mostly working now and I think I've added all the functionality openspout supports to the openspout export. The bad news: I don't think this actually performs better than PHPSpreadsheet? Maybe this is an implementation issue, I'll try and find out, but as of now the openspout export runs into memory issues at about the same point PHPSpreadsheet did in my testing :/ |
o fix german i18n ! fix bug with batching
Nevermind the part about the performance not keeping up, i still had This should be ready to review/merge now, I think |
openspout
for Excel exportsopenspout
for Excel exports
! better last row check
+ AutoFilter for openspout
Scope
This pull request includes a
Changes
The following changes were made (this change is also documented in the change log):
openspout/openspout
rather thanPHPSpreadsheet
for XLSX and CSV exportsExportWriterPdf::createExternalWriterInstance
declaration to be compatible withPHPSpreadsheet
version 2Related Issues
If this is related to an existing ticket, include a link to it as well.
This is mainly about #357 , I also fixed #378 in the process.