Commit Graph

248 Commits

Author SHA1 Message Date
Mark Baker
24bd9b5e8a Feature: Additional row iterator options: allow a start row to be defined in the constructor; seek(), and prev() methods added.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@84512 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-29 22:59:24 +00:00
Mark Baker
b235c531a7 Experimental - Added getHighestDataColumn(), getHighestDataRow(), getHighestRowAndColumn() and calculateWorksheetDataDimension() methods for the worksheet that return the highest row and column that have cell records
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83932 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-16 16:01:21 +00:00
Mark Baker
0924d0a4ca Bugfix: (fauvel) Work item 16958 - Cell::getFormattedValue returns RichText object instead of string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83890 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-14 23:00:45 +00:00
Mark Baker
7fce476f0c General: (atz) Work item 17024 - Unknown codepage: 10007
Additional Mac codepages

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83889 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-14 22:48:09 +00:00
Mark Baker
5cf4740204 Fix to cache factory getInstance() if initialize() has been called explicitly by a user call
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83748 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-09 14:55:47 +00:00
Mark Baker
fc62320de8 modify cell cache getInstance() method to validate response from initialize() if it hasn't been called explicitly by a user call
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83743 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-09 12:19:54 +00:00
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
93e8a05780 Feature - initial version of Igbinary (serialized) cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83657 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-05 23:42:39 +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
bbc73039e6 General: Ensure use of system temp directory for all temporary work files, unless explicitly specified
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83403 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-28 14:44:28 +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
ff4daef39c General: Fix to build to ensure that Examples are included with the documentation
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72195 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-23 21:12:20 +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