Commit Graph

67 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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
Mark Baker 7a792cd566 Bugfix: Work item 14898 - PHP Warning: preg_match(): Compilation failed: PCRE does not support \\L, \\l, \\N, \\P, \\p, \\U, \\u, or \\X
Bugfix:	Work item 14901 - VLOOKUP choking on parameters in PHPExcel.1.7.5/PHPExcel_Writer_Excel2007

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65692 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-23 21:18:23 +00:00
Mark Baker ad3d9dc853 Bugfix: Work item 14888 - Simple =IF() formula disappears
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65353 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-15 10:07:21 +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
Maarten Balliauw 5168f49b36 Preparations for PHPExcel 1.7.5
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65096 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-10 07:53:41 +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 1238c6086d Bugfix: Work item 14831 - Style : applyFromArray() for 'allborders' not working
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64875 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-06 12:45:41 +00:00
Mark Baker 9cacc2fda7 Feature: (MBaker) Fix to toFormattedString() method in PHPExcel_Style_NumberFormat to handle fractions with a # code for the integer part
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64874 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-06 12:42:16 +00:00
Mark Baker d57128a095 git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64727 2327b42d-5241-43d6-9e2a-de5ac946f064 2010-12-02 23:32:58 +00:00
Mark Baker 6c9a41879b Feature: Added strictNullComparison argument to the worksheet fromArray() method
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64270 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-24 15:28:15 +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 ad8b80bae9 Bugfix: Workitem 14679 - Formula evaluation fails with Japanese sheet refs
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63672 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-12 23:53:31 +00:00
Mark Baker b16083246e General: Improved performance for the Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63537 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-09 13:02:55 +00:00
Mark Baker d7583efe44 Improved performance specifically for the Excel5 Writer, but also some general improvement for all Writers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63425 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-07 16:14:24 +00:00
Mark Baker 0a826fe9a6 General: Applied patch 6609 - Removes a unnecessary loop through each cell when applying conditional formatting to a range.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62766 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-25 09:42:34 +00:00
Mark Baker 568d3fa933 General: Applied patch 7169 - Removed spurious PHP end tags (?>)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62765 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-25 09:33:01 +00:00
Mark Baker e1c316fc58 Implementation of the contiguous flag for the CSV reader, for use with a Read Filter
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62698 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-23 22:49:18 +00:00
Mark Baker af3300e387 Bugfix: Workitem 14425 - Wrong exception message while deleting column
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62433 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-19 12:24:39 +00:00
Mark Baker 2ec5a8b3bb Bugfix: Workitem 14374 - BUG : Excel5 and setReadFilter ?
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61896 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-05 22:20:49 +00:00
Mark Baker 6364b7a58a Feature: Configure PDF Writer margins based on Excel Worksheet Margin Settings values
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61664 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-29 14:41:43 +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 79f92b2063 Bugfix: Added autoloader to DefaultValueBinder and AdvancedValueBinder
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61608 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-27 23:22:05 +00:00
Mark Baker 32b8b1c7ab Feature: Work item 14301 - PHPExcel_Worksheet->toArray() is returning truncated values
I've made some modifications so that it is possible to pass a number of additional arguments to the method to determine exactly how the data is returned:

@param mixed $nullValue Value returned in the array entry if a cell doesn't exist
@param boolean $calculateFormulas Should formulas be calculated?
@param boolean $formatData Should formatting be applied to cell values?
@param boolean $returnColumnRef False - Return columns indexed by number (0..x); True - Return columns indexed by column ID (A..x)


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61373 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-23 16:52:57 +00:00
Mark Baker 06535cc296 Bugfix: Workitem 14086 - Named range with sheet name that contains the $ throws exception when getting the cell
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61241 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-20 14:47:57 +00:00
Mark Baker 6925afdb91 Bugfix: Workitem 14256 - Worksheet title exception when duplicate worksheet is being renamed but exceeds the 31 character limit
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61118 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-18 12:45:22 +00:00
Mark Baker 31196f0a14 Feature: Advanced Value Binder now recognises TRUE/FALSE strings (locale-specific) and converts to boolean
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61103 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-17 22:41:31 +00:00