Commit Graph

59 Commits

Author SHA1 Message Date
Mark Baker 5451b63cdc Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into calcEngine
Conflicts:
	Classes/PHPExcel.php
	Classes/PHPExcel/Worksheet.php
2013-02-13 09:09:28 +00:00
Mark Baker 245a1dc832 __destroy methods for Excel and Worksheet objects 2013-02-13 09:01:36 +00:00
Mark Baker b589fab56b Selective calculation cache clearance and adjustment for unsetting or renaming worksheets 2013-02-12 12:44:31 +00:00
Dominik Bonsch caced1a5be PSR-2 2013-02-09 12:15:01 +01:00
Mark Baker 3c3e910d74 Performance tweaks and modification to style checking for hh:mm or mm:ss time formats to differentiate correctly from mm months 2013-02-01 12:45:21 +00:00
nicoder ff6643f627 fix typo in phpdoc 2013-01-30 10:55:16 +01:00
Mark Baker 092fc7b5f7 General: (dbonsch) Work item GH-78 - Restructuring of PHPExcel Exceptions 2013-01-15 21:42:28 +00:00
Mark Baker b98f27f4a7 Performance and memory improvements to Excel5 OLE Reader
Temporary fix to XML flush until I get it working correctly
Use of PHPExcel_Exception
2012-11-26 18:01:15 +00:00
Andrey Mironov db2a7cbabf Search style by identity in PHPExcel_Worksheet::duplicateStyle() 2012-11-20 01:28:00 +06:00
Progi1984 9f04d888a1 IMPROVED : PHPDoc 2012-11-13 22:58:33 +01:00
Mark Baker 1f601e0ecf Bugfix: Work item 18844 - cache_in_memory_gzip "eats" last worksheet line, cache_in_memory doesn't 2012-11-09 01:24:44 +00:00
Mark Baker 63c5cbc98e Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop 2012-10-31 22:01:09 +00:00
Mark Baker 531803a919 Change Writer exceptions to PHPExcel_Writer_Exception 2012-10-31 22:00:40 +00:00
Mark Baker f4e949e3a1 Merge pull request #63 from alexgann/patch-1
Fix to cellExists for non-existent namedRanges. Thanks for the catch
2012-10-30 14:17:01 -07:00
Mark Baker 8f3640e44c Change reader exceptions to PHPExcel_Reader_Exception 2012-10-29 23:48:29 +00:00
alexgann 4748b88d9c Fix to cellExists for non-existent namedRanges
Found an issue where cellExists was failing on a non-existent namedRange
as it was flowing down to the coordinateFromString (1217) call.  Proposed
change trusts the REGEXP check and if $namedRange == NULL after all
then simply return false (ie the cell does not exist).
2012-10-19 13:38:26 -03:00
Marcus Bointon 037c2748f3 Change use of is_a() to use instanceof
While is_a() is no longer deprecated, there are bound to be some people using PHP versions that still have it marked as deprecated.
This is the only occurrence of is_a in the whole of PHPExcel; everywhere else it's using instanceof, so I figured it would be sensible to make it consistent.
2012-10-18 17:11:45 +03:00
Mark Baker 13f227c4f2 Additional chart creation examples 2012-09-02 12:06:48 +01:00
Mark Baker 2f4620c3f9 Improve cloning of worksheet to handle autoFilter area cleanly 2012-08-29 00:24:13 +01:00
unknown c9daa12245 Initial work on AutoFilter selections reading from Excel2007 (with
diagnostics, remember to remove before any merging to develop)
2012-08-08 22:11:26 +01:00
Mark Baker b694241de6 Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into autofilter 2012-08-07 10:16:03 +01:00
Mark Baker b871674f18 Ensure that chart worksheet is correctly set when adding chart to a
worksheet
2012-07-26 20:04:52 +01:00
Mark Baker 8e41c70d41 General: Work item 18404 - setCellValueExplicitByColumnAndRow() do not return PHPExcel_Worksheet 2012-07-25 23:54:53 +01:00
Mark Baker 5e44fa2517 Issue #5 - Refactor autoFilter range into an autofilter class in
preparation for adding support for autofilter expressions
2012-07-18 21:12:02 +01:00
Mark Baker 5f301a72c1 Additional validation on Worksheet name when adding/creating a new worksheet
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@90941 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-05-25 06:45:01 +00:00
Mark Baker 540aebe68b Fix to use of $updateFormulaCellReferences flag in setTitle() method for worksheets
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89095 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-11 19:46:29 +00:00
Mark Baker 891981928d Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87638 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-11 17:58:38 +00:00
Mark Baker b3cb86ccff Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87532 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-09 23:55:17 +00:00
Mark Baker c275bf7a8d Change copyright 2011 -> 2012
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87249 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 21:29:01 +00:00
Mark Baker 6f91dd9f59 Bugfix: Work item 17403 - duplicateStyle() method doesn't duplicate conditional formats
Added an equivalent duplicateConditionalStyle() method for duplicating conditional styles

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86383 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-12 18:04:22 +00:00
Mark Baker 9c2ceed08d Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85743 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 23:07:22 +00:00
Mark Baker 2cce9b754d Minor performance tweaks and adjustments to Excel functions to handle a few envelope test cases
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85742 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 22:07:35 +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 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 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 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 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 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 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 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 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 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
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 1fad8bd2dd General performance improvements, and specific improvements in the CSV Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65064 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-09 12:07:50 +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 951c332cda Minor performance tweaks to the HTML Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63950 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-19 14:09:53 +00:00