Commit Graph

22 Commits

Author SHA1 Message Date
Colin Guthrie 37e697b73f Fix overzealous cleanup of temporary files.
By cleaning up the temporary files on close() we can no longer
call getData() which breaks pretty much everything except when
not using temporary files at all.

This was introduced in 6f5b44cd6b
2019-01-23 13:25:41 +00:00
Alexey Kopytko 2fc22c490b
Updated CI config for Travis, preload OLE (#16)
* Test only on supported PHP versions on Travis CI.

* Preload OLE.php as contains important constants.
Were getting: Use of undefined constant OLE_PPS_TYPE_FILE - assumed 'OLE_PPS_TYPE_FILE' (this will throw an Error in a future version of PHP) in OLE/PPS/File.php:60

* Forbid installing on PHP 7.3 for time being.
pear/OLE does not really work on PHP 7.3, so this package is also unusable there.
2018-10-23 10:53:35 +09:00
Alexey Kopytko f1195b4a21 Correct class names in @var 2016-06-16 13:22:23 +09:00
Alexey Kopytko 779a081aa0 Remove references except where they're actually used 2016-06-16 13:22:23 +09:00
Alexey Kopytko 0da21c8611 Renamed old-style constructors 2016-06-16 13:22:23 +09:00
Alexey Kopytko 3e8a35b81f Make sure traditional include-path-style class loading does not interfere with a working class autoloader 2016-06-16 13:22:23 +09:00
Alexey Kopytko 012389ee13 Replace var with public, prefix function definitions with public or protected 2016-06-16 13:22:23 +09:00
Alexey Kopytko 22c7e1705f New timestamp field should respect existing style for variable names 2016-06-16 13:22:23 +09:00
Alexey Kopytko 85e4049be9 Reverted the bulk of recently itroduced breaking changes
This reverts commits 631bbb5f72, 3d299d9938, b3be543ba3.
2016-06-16 13:22:23 +09:00
Alexey Kopytko 923008d208 Added ability to test with fixtures
- Now we can specify exact timestamp
- Current fixture example.xls is readable
2016-06-16 13:22:18 +09:00
stevleibelt 631bbb5f72 made all protected or private properties public again 2016-01-20 22:19:52 +01:00
stevleibelt 3d299d9938 started unit test fixed error for Spreadsheet_Excel_Writer_Workbook::setVersion() 2016-01-17 21:24:28 +01:00
stevleibelt b3be543ba3 updated require_once status, replaced var with either public or protected visibility. also prefixed functions with eher public or protected (if method name starts with _ it will be protected). also updated composer.json 2016-01-07 23:01:38 +01:00
Daniel O'Connor ad79fa75f3 Bug #16678 In PHP 5.3 get errors on lines 186, 195
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@320821 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-10 02:03:17 +00:00
LEFEVRE Franck 7803f30184 Fixed issue #12362: named worksheets & utf-8 - patch by cfhay
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@297578 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 09:48:58 +00:00
LEFEVRE Franck b148992d6a Fixed issue #9062: Euro does not appear correctly in formula styles - patch by fvielle
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@297215 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-31 10:28:04 +00:00
Alan Knowles 366794efd7 fix bug#1572 and bug#2942 - Problems with files with over 200 row / or 30kb of filesize - patch originally by michal dot fapso at goldenboat dot net - tested and reviewed
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@289242 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-06 05:57:28 +00:00
Christian Weiske f935c52a11 Fix Bug #14587: tmpfile() used despite setTempDir() [sberg]
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@287055 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-10 19:47:52 +00:00
Christian Weiske e95501071c Fix Bug #14932: The name of the Workbook stream MUST be "Workbook", not "Book" [progi1984]
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@287053 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-10 19:34:56 +00:00
Arnaud Limbourg 580e7e25cc proper codepage for BIFF8
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@250059 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-07 10:36:37 +00:00
Helgi Þormar Þorbjörnsson c903d67a50 Moving setTempDir to the BIFFWriter for now since Workbook and Worksheet both extend from that class
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@241288 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-16 00:42:22 +00:00
Christian Weiske c7be04a550 - Move files into proper directory structure
- Fixed Bug #10399: Fatal error when closing workbook with no worksheets.
- package.xml v2


git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@232751 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-27 15:04:19 +00:00