Commit Graph

29 Commits

Author SHA1 Message Date
Mark Baker 631834b4d6 Minor performance improvement to date conversion routines
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@71598 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-09 18:16:08 +00:00
Mark Baker 9704feec19 Bugfix: Work item 15518 - PCLZip library issue
References to ZipArchive Constants when ZipArchive class isn't available

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@70307 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-14 13:52:49 +00:00
Mark Baker a8517724dc Bugfix: Work item 15379 - Named ranges with dot don't get parsed properly
Bugfix:	Work item 15096 - insertNewRowBefore fails to consistently update references
Bugfix:	"i" is not a valid character for Excel date format masks (in isDateTimeFormatCode() method)


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69064 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-21 12:21:20 +00:00
Mark Baker 7bb65068cd Oops... missing semi-colon (now fixed)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68483 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 23:12:39 +00:00
Mark Baker 5a7e7bb93f Bugfix: Work item 15308 - Writing to Variable No Longer Works. $_tmp_dir Missing in PHPExcel\PHPExcel\Shared\OLE\PPS\Root.php
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68481 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 22:44:05 +00:00
Mark Baker 8218d04b0f Bugfix: Reduced false positives from isDateTimeFormatCode() method by suppressing testing within quoted strings (thanks to John Machin, author of xlrd, and the maintainer of xlwt for reading/writing Excel files in Python)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68308 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-10 12:26:50 +00:00
Mark Baker 8c0663486b Feature: Improved toFormattedString() handling for Currency and Accounting format masks to render currency symbols
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67614 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-31 17:18:10 +00:00
Mark Baker 956cc7a2cf Bugfix: Work item 11576 - AdvancedValueBinder.php: String sometimes becomes a date when it shouldn't. Improved with a preg_match trap to reject unlikely formats for dates before passing value to PHPExcel_Shared_Date::stringToExcel() for final validation
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67536 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-29 17:05:02 +00:00
Maarten Balliauw ccbb28167b Updated headers to reflect the new year. Happy new year 2011!
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66338 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-03 09:20:10 +00:00
Mark Baker 6ed30f559a git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66316 2327b42d-5241-43d6-9e2a-de5ac946f064 2011-01-02 12:14:18 +00:00
Mark Baker aa213fe236 Provide option to use PCLZip as an alternative to ZipArchive.
This allows the writing of Excel2007 files, even without ZipArchive enabled (it does require zlib), or when php_zip is one of the buggy PHP 5.2.6 or 5.2.8 versions.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65260 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-13 23:56:51 +00:00
Mark Baker 1def6cae75 Reworked OLE Reader logic to provide a single stream reader for all streams (Workbook, Properties and Document Properties) rather than duplicating code with separate stream readers for each
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65086 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-10 00:28:18 +00:00
Mark Baker c5ea92442d Performance improvements for the Excel5 Reader and Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64968 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-07 17:34:47 +00:00
Mark Baker f1e413bcc1 Performance improvements to the CSV Reader and Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64769 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-03 17:48:10 +00:00
Mark Baker 5917b8c9b0 Fix call to DATEVALUE() and TIMEVALUE() methods for new function classes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64766 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-03 14:28:57 +00:00
Mark Baker 787dae6334 Performance tweaks to the Calculation Engine to reduce memory usage. Splitting the functions.php into several smaller classes based on function category, so that only those category files actually used by functions in formulae will be included by the autoloader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64719 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-02 17:56:33 +00:00
Mark Baker b25ced63cc Bugfix: Work item 13559 - PHPExcel_Writer_PDF does not handle cell borders correctly
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64268 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-24 14:12:12 +00:00
Mark Baker 9641c16df0 Memory and Performance Improvements
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64204 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-23 17:24:29 +00:00
Mark Baker 606f43a086 Performance tweaks, particularly using standard binary operations rather than matrix operations when working with single cell operands
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64078 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-20 23:36:20 +00:00
Mark Baker c0ae3911b6 Minor performance tweaks: changing PHPExcel_Shared_XMLWriter to extend the XMLWriter class rather than providing a wrapper for an instance of XMLWriter, with slight modifications to the writeRaw() method
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63534 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-09 12:31:59 +00:00
Mark Baker 42b1e0ad76 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62808 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-26 12:29:44 +00:00
Mark Baker ad9e4e2f0f Fix for a single character string in a call to PHPExcel_Shared_Date::stringToExcel() being treated as a valid date
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62207 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-13 13:16:02 +00:00
Mark Baker f0131c0282 Bugfix: Modified PHPExcel_Shared_Date::isDateTimeFormatCode() to return false if format code begins with "_" or with "0 " to prevent false positives
These leading characters are most commonly associated with number, currency or accounting (or occasionally fraction) formats

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61632 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-28 15:53:49 +00:00
Mark Baker a3a0aa73e7 Bugfix: Workitems 14260 & 14233 - Setting cell values to one char strings & Trouble reading one character string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61062 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-16 17:04:11 +00:00
Mark Baker 3f807a1c01 Bugfix: Workitem 14223 - Advanced Value Binder Not Working?
Fixed AdvancedValueBinder date handling (with support for a wider range of date formats), and added support for strings containing numeric values in scientific format (e.g. "-1.234e+5")

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60740 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-10 14:57:07 +00:00
Mark Baker dc43e7a811 Feature: Support for Extended Workbook Properties in Excel5 Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60542 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 20:54:58 +00:00
Maarten Balliauw 67ff44d97c Work item 14143 - NA() doesn't propagate in matrix calc - quick fix in JAMA/Matrix.php
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60085 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-30 11:58:47 +00:00
Mark Baker 492cc4fb27 Feature: Support for Extended Workbook Properties in Excel2007, Excel5 and OOCalc Readers;
Feature: Support for User-defined Workbook Properties in Excel2007 and OOCalc Readers

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60080 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-30 09:09:12 +00:00
Maarten Balliauw 509f27e5c6 Migration from off-site Subversion repository (part 1).
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59884 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-26 19:14:53 +00:00