Commit Graph

255 Commits

Author SHA1 Message Date
Mark Baker
cd7f0a1c51 Added a cacheMethodIsAvailable() method to all cell cache classes, making it easier to identify if all the necessary classes/functions are available for each caching option.
Renamed the factory getCacheStorageMethods() method to getAllCacheStorageMethods(), returning all cache options in the library.
Wrote a new factory getCacheStorageMethods() method to return an array of those cache methods that are available with the current build of PHP (extensions tested, etc).
Refactored factory initialize() method to use the cacheMethodIsAvailable(), so factoring the logic for testing methods out of the factory.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83741 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-09 12:10:46 +00:00
Mark Baker
86d2a5291f Feature - initial version of Igbinary (serialized) cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83656 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-05 23:41:49 +00:00
Mark Baker
5fb3ffceb0 Performance improvement for readers that reduces overheads when setting titles in multi-worksheet workbooks, by avoiding re-iterating through all worksheet/cells whenever a sheet title is set
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83603 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-04 11:24:59 +00:00
Mark Baker
c345c0e8ca Exception handling for SQLite3 cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83592 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 20:16:57 +00:00
Mark Baker
91f74c5893 Exception handling for SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83587 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 18:49:27 +00:00
Mark Baker
bde593557d Minor performance optimisation: use $x+=3 instead of $x=$x+3
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83576 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 10:02:24 +00:00
Mark Baker
11c87c19ad Feature - initial version of SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83558 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 00:32:01 +00:00
Mark Baker
07e56b5a60 Feature - initial version of SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83557 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 00:24:44 +00:00
Mark Baker
ee028c165d General: Work item 16028 - Fix for projects that still use old autoloaders
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83541 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-02 14:16:23 +00:00
Mark Baker
969c409ba1 Bugfix: Work item 16266 - PHPExcel_Style::applyFromArray() returns null rather than style object in advanced mode
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83539 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-02 13:59:57 +00:00
Mark Baker
207f6f5818 General: Work item 16359 - [Patch] faster stringFromColumnIndex()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83538 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-02 13:40:40 +00:00
Mark Baker
a083de817e Use PHPExcel_Shared_File::sys_get_temp_dir() for temporary files directory where not explicitly specified
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83402 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-28 14:41:17 +00:00
Mark Baker
135c0185f5 Use PHPExcel_Shared_File::sys_get_temp_dir() for temporary zip file directory rather than ./
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83400 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-28 14:13:08 +00:00
Mark Baker
87c735a212 Bugfix: Work item 16956 - External links in Excel2010 files cause Fatal error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83265 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 15:45:34 +00:00
Mark Baker
68a0930f67 Bugfix: Work item 16960 - Previous calculation engine error conditions trigger cyclic reference errors
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83263 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 14:37:47 +00:00
Mark Baker
6e7b84ef97 Bugfix: Work item 16956 - External links in Excel2010 files cause Fatal error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83262 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 14:30:02 +00:00
Mark Baker
f2076cde3f Bugfix: Work item 16956 - External links in Excel2010 files cause Fatal error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83261 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 13:34:08 +00:00
Mark Baker
cdbeceba47 Bugfix: Work item 16895 - PHP Invalid index notice on writing excel file when active sheet has been deleted
General: Work item 16923 - Datatype.php & constant TYPE_NULL

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83260 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 12:16:01 +00:00
Mark Baker
77cd4ac9aa Bugfix: Work item 16643 - Bug In Cache System (cell reference when throwing caching errors)
General: Work item 16643 - Add file directory as a cache option for cache_to_discISAM

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@82024 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-10-26 16:16:43 +00:00
Mark Baker
efc066c233 Bugfix: Work item 16212 - $arguments improperly used in CachedObjectStorage/PHPTemp.php
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@82008 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-10-25 19:31:57 +00:00
Maarten Balliauw
d68efe81d7 Fixed a reference error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@81990 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-10-25 06:02:36 +00:00
Mark Baker
f2310e05d0 Bugfix: Work item 16246 - reader/CSV fails on this file
auto_detect_line_endings now set in CSV reader

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@77805 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-08-05 14:37:30 +00:00
Mark Baker
bb34668146 Modify underlying PHP_OLE to support multiple streams
This is preparatory to providing support for workbook properties (and extended properties) in the Excel5 Writer, because properties are stored in the SummaryInformation and DocumentSummaryInformation streams, and not in the workbook stream.
Previously, PHP_OLE could only save a single stream, so this had to be the workbook stream; so document property information was discarded by the Excel5 Writer.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@77804 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-08-05 14:04:07 +00:00
Mark Baker
94e3dc3fd2 Improved speed and memory usage in Excel5 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74786 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-06-01 23:09:12 +00:00
Mark Baker
3cbbcd87d5 Update to phpdoc comments
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74698 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:26:55 +00:00
Mark Baker
cdb94cfb1e Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74697 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:25:04 +00:00
Mark Baker
c7539c3d4c Performance improvements to Excel5 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74696 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:22:49 +00:00
Mark Baker
f041495fb8 Call dataTypeForValue() method in self rather than PHPExcel_Cell_Datatype
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74695 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:20:13 +00:00
Mark Baker
dd7674a36a Fixed charset code for CHARSET_ANSI_THAI
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74692 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:16:45 +00:00
Mark Baker
c792f053b5 Performance improvements by removing tests against BIFF version... especially as we only save as BIFF8 now, BIFF5 having been discarded some releases ago
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74466 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-26 20:17:48 +00:00
Mark Baker
48b2fb8e99 Bugfix: Locale-specific fix to text functions when passing a boolean argument instead of a string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@73499 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-15 22:58:20 +00:00
Mark Baker
85ff71fd18 General: Improved memory usage in CSV Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@73146 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-11 22:36:47 +00:00
Mark Baker
adacb26028 Additional PHPDocumentor tagging
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72465 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-29 14:23:57 +00:00
Mark Baker
dd7b0610e9 Bugfix: Work item 15762 - INDIRECT() function doesn't work with named ranges
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72460 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-29 13:44:27 +00:00
Mark Baker
5979a4ec13 Bugfix: Work item 15786 - RangeToArray strange array keys
and Minor performance tweak to the workbook setActiveSheetIndexByName() method


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72435 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-28 20:42:50 +00:00
Mark Baker
5672f25ebf General: Reduce cell caching overhead using dirty flag to ensure that cells are only rewritten to the cache if they have actually been changed
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72227 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-25 14:25:53 +00:00
Mark Baker
c7f99d0d98 Bugfix: Work item 15707 - ini_set() call in Calculation class destructor
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72060 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-19 21:40:35 +00:00
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
70f773f0ca Bugfix: Support for Excel functions whose return can be used as either a value or as a cell reference depending on its context within a formula
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@71420 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-05 21:57:59 +00:00
Mark Baker
2d362092ba Added document properties to HTML output as meta tags
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@70829 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-23 16:34:31 +00:00
Mark Baker
a0ac293ec6 Bugfix: Work item 15537 - Excel2007 Reader canRead function bug
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@70501 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-17 11:29:14 +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
34c4aa18ee Additional work on the Excel2003XML Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69733 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-04 14:39:00 +00:00
Mark Baker
f08f16c8ca General: Work item 15461 - Locale file paths not fit for windows
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69731 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-04 14:22:08 +00:00
Mark Baker
09df4fd647 Bugfix: Work item 15459 - Invalid cell coordinate in Autofilter for Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69709 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-03 23:01:31 +00:00
Mark Baker
cfaa5209f7 General: Work item 15405 - Two easy to fix Issues concerning PHPExcel_Token_Stack (l10n/UC)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69508 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-28 00:32:55 +00:00
Mark Baker
aedff36d4e Bugfix: Work item 15409 - Full column/row references in named ranges not supported by updateCellReference()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69495 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-27 22:33:42 +00:00
Mark Baker
45fb4d84c1 Bugfix: Work item 15421 - PHPExcel_ReferenceHelper::insertNewBefore() is missing an 'Update worksheet: comments' section
Solution, courtesy of MKunert

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69421 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-25 22:57:22 +00:00
Mark Baker
901d20e6f9 Add further description to PHPDoc blocks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69404 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-25 16:52:43 +00:00
Mark Baker
5b71914eea Minor work on Excel2003XML Reader (not yet complete)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69208 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-23 01:05:05 +00:00
Mark Baker
bba779bfc3 Not sure why array_item() was being called with a $key of true, but it was resulting in a "method call on a non-object" error with gradient fills.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69199 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-22 23:01:44 +00:00
Mark Baker
f27b3d7815 Fix to prevent non-comment objects from throwing errors when retrieving the set of comment objects from the XML
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69155 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-22 14:02:27 +00:00
Mark Baker
a07dd58fc7 Added listAllFunctionNames() method to the Calculation Engine, and modified the listFunctionNames() method to return only implemented functions
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69154 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-22 13:57:15 +00:00
Mark Baker
46e1c4eaff General: Removed Serialized Reader/Writer as these no longer work.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69147 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-22 10:21:38 +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
2dcead065d Fixed bug in translation functions of the calculation engine
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68887 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-18 17:39:58 +00:00
Mark Baker
7425aa8460 Feature: Work Item 2346 - Implement more Excel calculation functions
Implemented the DGET() Database function

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68576 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-13 17:19:00 +00:00
Mark Baker
c5c816a9c6 Feature: Work Item 2346 - Implement more Excel calculation functions
Implemented the DAVERAGE(), DCOUNT(), DCOUNTA(), DMAX(), DMIN(), DPRODUCT(), DSTDEV(), DSTDEVP(), DSUM(), DVAR() and DVARP() Database functions

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68574 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-13 17:08:00 +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
8a00ef61e8 Added debug log echo option to Calculation Engine (for PHPExcel development team debugging use only)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68482 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 22:45:17 +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
eb5dadcd4c Bugfix: Work item 15312 - Caching and tmp partition exhaustion
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68479 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 22:26:51 +00:00
Mark Baker
0fd77aa397 Minor performance tweaks when working with alternating blocks in a string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68309 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-10 12:39:34 +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
8a83e847cd Bugfix: Work item 15121 - Column reference rather than cell reference in Print Area definition
Fixed Excel2007 Writer to handle print areas that are defined as row or column ranges rather than just as cell ranges... added a static absoluteReference() method to PHPExcel_Cell that will return an absolute row, column or cell reference, and modified the _writeDefinedNameForPrintArea() method of the Excel2007 Workbook Writer to call that rather than absoluteCoordinate()

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68176 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-08 12:55:45 +00:00
Mark Baker
919df79991 Bugfix: The freezePaneByColumnAndRow() method row argument should default to 1 rather than 0. Default row argument for all __ByColumnAndRow() methods should be 1
General: Enhanced SheetViews element structures in the Excel2007 Writer for frozen panes.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68124 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-07 11:19:07 +00:00
Mark Baker
3757a0e6ff Remove debug code reference to hexdump()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67638 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-31 22:01:08 +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
1bf40dadf9 Bugfix: Fix Excel5 Writer so that it only writes column dimensions for columns that are actually used rather than the full range (A to IV)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67582 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-30 23:22:12 +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
Mark Baker
5e27d037bc Bugfix: Work item 14980 - Images not getting copyied with the ->clone function
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67525 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-28 23:09:02 +00:00
Mark Baker
c1fe7016ab Feature: Added support for superscript/subscript in HTML/PDF Writers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67512 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-28 16:02:33 +00:00
Mark Baker
c6d58661e1 Feature: Support for cell comments in the Excel5 Reader... fixed some problems with the comments in BIFF8 comments
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67501 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-28 12:56:38 +00:00
Mark Baker
545c2a0f19 Bugfix: Work item 15172 - rangeToarray function modified for non-existent cells
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67475 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-27 16:09:37 +00:00
Mark Baker
a7d2134271 Fix to a problem that I introduced with last night's changes to precision in the calculation engine
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67429 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-26 09:40:40 +00:00
Mark Baker
59e85a379d Added flushInstance() method to clear the calculation cache, but only if the calculation engine has been instantiated.
Moved precision setting from functions.php to the calculation engine constructor, with a reset when the calculation engine instance is unset... will be of value when I switch the code to support a calculation engine/cache with each instantiated PHPExcel object.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67403 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-25 23:11:32 +00:00
Mark Baker
db2fb8158a Feature: Added initial support for cell comments in the Excel5 Reader for BIFF8
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67346 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-24 12:26:06 +00:00
Mark Baker
5404406884 Feature: Added some support for cell annotations in the Excel5 Reader... now handles annotation blocks beyond the 2,048 character limit for any individual annotation block.
(for BIFF5-7 only at present... BIFF8 support is still outstanding)

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67192 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 17:58:35 +00:00
Mark Baker
2368c7fbd0 Feature: Added some support for cell annotations in the Excel5 Reader (for BIFF5-7 only at present... BIFF8 support is still outstanding, as annotations were change to a drawing object with this release)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67190 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 16:41:02 +00:00
Mark Baker
9cc2f8d50b Feature: Added basic support for cell comments in the OOCalc Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67188 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 14:36:28 +00:00
Mark Baker
2b4c15b92f Feature: Added support for cell comments in the Gnumeric and Excel2003XML Readers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67186 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 13:11:28 +00:00
Mark Baker
5a2830c499 Bugfix: Work item 15129 - Worksheet fromArray() only working with 2-D arrays
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67182 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 10:47:20 +00:00
Mark Baker
dd4f5252ea Added BAHTTEXT to reader/writer list of Excel functions, though not supported in the calculation engine yet
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66898 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-14 18:01:41 +00:00
Mark Baker
d154e853b2 Bugfix: Work item 15094 - Merge cells 'un-merge' when using an existing spreadsheet (Excel5 Reader)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66848 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-13 16:01:29 +00:00
Mark Baker
9f252c9e80 Bugfix: Work item 15089 - PHPExcel_Worksheet->toArray() index problem
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66807 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-12 16:48:54 +00:00
Mark Baker
1643bb9613 Feature: Added new rangeToArray() and namedRangeToArray() methods to the PHPExcel_Worksheet object.
Functionally, these are identical to the toArray() method, except that they take an additional first parameter of a Range (e.g. 'B2:C3') or a Named Range name.
Modified the toArray() method so that it actually uses rangeToArray().

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66799 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-12 15:20:29 +00:00
Mark Baker
56d7506cf5 Bugfix: Minor patchfix for Excel2003XML Reader when XML is defined with a charset attribute
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66707 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-10 17:51:55 +00:00
Mark Baker
1ec263ee94 General: Improved performance (speed), for building the Shared Strings table in the Excel2007 Writer.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66590 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-07 14:52:28 +00:00
Mark Baker
1c6fa7b5ab Bugfix: Work item 15046 - 1.7.5 fails cell->getCalculatedValue()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66479 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-05 17:53:17 +00:00
Mark Baker
74f299e5e5 Bugfix: Work item 14999 - PHPExcel Excel2007 Reader colour problems with solidfill
Bugfix:	Work item 13215 - Formatting get lost and edit a template XLSX file
Bugfix:	Work item 14029 - Excel 2007 Reader /writer lost fontcolor
Bugfix:	Work item 13374 - file that makes cells go black 


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66428 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-04 23:14:59 +00:00
Mark Baker
59b831c4f1 Speed boost and memory reduction in the Worksheet toArray() method.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66403 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-04 13:52:05 +00:00
Mark Baker
b321f33fed Bugfix: Work item 15029 - coordinateFromString throws exception for rows greater than 99,999
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66366 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-03 22:39:51 +00:00
Maarten Balliauw
fd95065240 Work item 11583 - Need method for removing autoFilter
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66340 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-03 10:26:43 +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
6da04eb1d2 Performance improvements to the Excel2003XML Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66091 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-28 22:38:20 +00:00
Mark Baker
c644f9816c Feature: Work item 14979 - Added listWorksheetNames() method to Excel2003XML Reader, and fixed a namespace bug
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66085 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-28 21:37:11 +00:00
Mark Baker
14cc952323 Feature: Work item 14979 - Added listWorksheetNames() method to OOCalc and Gnumeric Readers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66079 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-28 19:34:21 +00:00
Mark Baker
e3a01db2a9 Feature: Work item 14979 - Added listWorksheetNames() method to Excel2007 and Excel5 Readers, allowing a user to extract a list of worksheet names from a file without parsing/loading the whole file.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66063 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-28 18:46:23 +00:00
Mark Baker
457f826fa6 Bugfix: Work item 14973 - PHPExcel_Cell::isInRange() incorrect results - offset by one column
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65968 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-27 22:43:11 +00:00