Commit Graph

54 Commits

Author SHA1 Message Date
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
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
388d2c80d1 Feature: Support for Extended and User-defined Workbook Properties in Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61018 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-15 21:55:37 +00:00
Mark Baker
c6a3679d77 Feature: Support for Extended Workbook Properties (Manager) in Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61010 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-15 19:15:35 +00:00
Mark Baker
b089979152 Bugfix: 14236 - problem with getting cell values from another worksheet... (if cell doesn't exist)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60961 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-14 13:50:36 +00:00
Mark Baker
e06932e0e4 Bugfix: Workitem 14226 - unassigned object variable in PHPExcel->removeCellXfByIndex
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60892 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-12 22:46:15 +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
f0f2d98146 Provided a setGenerateSheetNavigationBlock(false); option to suppress generation of the sheet navigation block when writing multiple worksheets to HTML
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60583 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-08 15:07:31 +00:00
Progi1984
b245b2842a Workitem 7895 - Excel5 : Formula : String constant containing double quotation mark
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60517 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 11:40:06 +00:00
Mark Baker
ccabf2b539 Feature: Work item 8769 - Implement Gnumeric File Format
Basic cell and font formatting


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60376 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-04 16:22:26 +00:00
Mark Baker
04764644f7 Bugfix: Workitem 14146 - Worksheet clone broken for CachedObjectStorage_Memory
Bugfix: Workitem 12998 - PHPExcel_Reader_Excel2007 fails when gradient fill without type is present in a file
Bugfix: Workitem 14176 - @ format for numeric strings in XLSX to CSV conversion

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60349 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-03 17:34:53 +00:00
Mark Baker
f897a2d808 Feature: Work item 8769 - Implement Gnumeric File Format
Initial work on Gnumeric Reader (Worksheet Data and basic Document Properties)

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60279 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-02 13:38:17 +00:00
Progi1984
ee74ef9254 Workitem 7895 - Excel5 : Formula : Percent
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60223 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-01 12:10:59 +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