Commit Graph

28 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 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 2cfd980499 Trim whitespace in Worksheet 2016-06-16 13:22:23 +09:00
Alexey Kopytko 2ec40810e8 Removed trailing ?> 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 85e4049be9 Reverted the bulk of recently itroduced breaking changes
This reverts commits 631bbb5f72, 3d299d9938, b3be543ba3.
2016-06-16 13:22:23 +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
LaserBears e731e235b2 Fixed UTF-16 surrogate pairs triggering "unreadable content" error
Fixed a bug in the Spreadsheet_Excel_Writer_Worksheet::writeStringBIFF8() method where the length of Unicode strings was being calculated based on the number of characters, and if the string contained any UTF-16 surrogate pairs then a "found unreadable content" error would occur when opening the worksheet in Excel (it apparently expects Unicode string lengths to be the number of 16-bit code points, not the number of characters).
2013-04-16 11:37:00 -07:00
Daniel O'Connor 4d7752cb49 Bug #19273 Call-time pass-by-reference has been deprecated 2012-02-06 22:49:01 +10:30
Daniel O'Connor eb93449a80 Bug #14515 writeUrl only uses writeString, never writeNumber
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@322731 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-25 13:33:15 +00:00
Daniel O'Connor faa3f541a6 Request #13486 Set the worksheet direction to right-to-left (RTL)
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@322730 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-25 13:31:36 +00:00
Daniel O'Connor dadc38fdd6 Bug #16025 MERGEDCELLS record split by CONTINUE record
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@320823 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-10 02:08:08 +00:00
Daniel O'Connor 6f5b44cd6b Bug #17572 Temporary files are not removed
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@320822 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-10 02:05:53 +00:00
Daniel O'Connor c04bf67cd2 Bug #16938 open_basedir check is wrong in Spreadsheet_Excel_Writer_Worksheet::_initialize - seanch
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@317455 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-29 07:51:45 +00:00
Daniel O'Connor 065e9c7c50 WARNING: Function 'split' is deprecated, please use 'explode' or 'preg_split' instead in file ./Spreadsheet_Excel_Writer/Spreadsheet/Excel/Writer/Worksheet.php line 1365
(though I doubt split('', ...) ever worked)

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@302963 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-01 02:33:10 +00:00
Carsten Schmitz f8695a74b6 Fixed issue #9564: Worksheet::setColumn() can only be called once per range - patch by Dan Lynn
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291408 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-29 02:02:47 +00:00
Carsten Schmitz 8aa0850d74 dev Wrapping up for release 0.9.2 beta - again
dev Fixing Worksheet object now safe-failing to memory storage if open_basedir restriction is in effect

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291368 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-28 00:27:36 +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 bcb70905c5 Apply patch for bug #2261: Excel 2002 crashes when use write() with @ as first value of the text in behalf of progi1984
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@286925 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-08 07:02:20 +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
Helgi Þormar Þorbjörnsson c810d23f97 Bug #9511 Shared /tmp dir assumed
# Added setTmpDir for people that have openbase_dir.
# If people try to use the class with out setting a tmp dir
# but do have open_basedir on then the class fails silently at the moment


git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@241286 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-15 23:54:59 +00:00
Helgi Þormar Þorbjörnsson fa302dd9c5 Bug #608 Column guts always hidden, i.e. always displayed with zero height
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@241279 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-15 23:03:45 +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