Michal Čihař a écrit :
Hi
Dne Tue, 02 Aug 2011 09:13:18 -0400 Marc Delisle marc@infomarc.info napsal(a):
The change in license exists in the downloaded version of PHPExcel 1.7.6; this was not done by the phpMyAdmin team.
The idea is that we want to remove the problematic files.
For exporting in Excel 2007, my quick test worked (after removing PHPExcel/Shared/OLE directory, OLE.php and OLERead.php).
For exporting in Excel 97-2003, it does not work, we would have to remove the calling of class PHPExcel_Shared_OLE_PPS_FILE from Writer/Excel5.php and maybe some other tweaking.
I suggest dropping support for "Excel 97-2003". An alternative for these versions is our "CSV for MS Excel" export.
I still wonder if native support for Excel 2007 is worth including 3 MiB of code.
Where I work, a user faced a situation where simple CSV exporting was not enough but I don't remember the specifics. Maybe Dieter can add his comments about native support's advantages.
How about shipping just wrapper files (export and import plugins), which would work only if PHPExcel is installed in PHP search path?
This might be more difficult to set up for user in hosting environments.
This way we could include support for both, but user would have to download PHPExcel on his own.