Commit Graph

1095 Commits

Author SHA1 Message Date
Mark Baker 29c4b1db5f Some general performance tweaks, and some specific to the Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64159 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-22 18:00:22 +00:00
Mark Baker 606f43a086 Performance tweaks, particularly using standard binary operations rather than matrix operations when working with single cell operands
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64078 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-20 23:36:20 +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
Mark Baker dbcd7fb1af Minor performance tweaks to the HTML Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63829 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-17 18:04:55 +00:00
Mark Baker 06bfeaaea0 Fixed compilation error in modified HTML writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63809 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-17 09:15:54 +00:00
Mark Baker bd46652fb1 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63786 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-16 16:44:32 +00:00
Mark Baker 012348ac4a Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63742 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-15 13:38:48 +00:00
Mark Baker 9c9657a2e2 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63709 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-14 17:56:00 +00:00
Mark Baker 270ea1df05 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63697 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-14 00:17:32 +00:00
Mark Baker 51dc3403ff Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63695 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-13 23:33:20 +00:00
Mark Baker cb382e89f3 Bugfix: Workitem 14679 - Formula evaluation fails with Japanese sheet refs
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63673 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-13 00:06:30 +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 3bd1ef536d Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63609 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-11 12:30:23 +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 c0ae3911b6 Minor performance tweaks: changing PHPExcel_Shared_XMLWriter to extend the XMLWriter class rather than providing a wrapper for an instance of XMLWriter, with slight modifications to the writeRaw() method
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63534 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-09 12:31:59 +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 b818187d3c Fix to date properties when set as a formatted string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63424 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-07 16:08:27 +00:00
Mark Baker 98e7fa5a6a Documentation
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63321 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-05 22:14:59 +00:00
Mark Baker 3aa1142b5f Performance tweaks (particularly affecting the Excel5 Writer)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63320 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-05 22:13:41 +00:00
Mark Baker 8c3ce4f938 Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62922 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-28 16:50:52 +00:00
Mark Baker bd82adc1f3 Minor performance tweak... simple improvement to sorting the cell cache array
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62861 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-27 10:39:53 +00:00
Mark Baker e3b15694c0 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62816 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-26 15:40:55 +00:00
Mark Baker 66f0fb12d8 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62813 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-26 14:22:31 +00:00
Mark Baker 42b1e0ad76 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62808 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-26 12:29:44 +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 c481e81fb4 User documentation for Spreadsheet Readers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62699 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-23 22:50:06 +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 c448f2ed7a 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@62697 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-23 22:25:48 +00:00
Mark Baker 22f704e4b1 New examples of Reading Workbooks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62680 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-23 13:31:14 +00:00
Mark Baker 14dbe6ec72 Examples of accessing Workbook Properties
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62544 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-20 21:55:40 +00:00
Mark Baker 46d83f9757 git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62490 2327b42d-5241-43d6-9e2a-de5ac946f064 2010-10-20 12:57:51 +00:00
Mark Baker 5af4355b78 New examples, including reading a larger workbook in chunks to give improved memory usage
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62489 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-20 11:30:09 +00:00
Mark Baker 45109e0533 Reader exception handling example
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62434 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-19 12:40:52 +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 a73633f130 Bugfix: Workitem 14374 - BUG : Excel5 and setReadFilter ?
Prevent creation of Merged cells unless the read filter permits one or more cells within the range

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62384 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-18 16:55:55 +00:00
Mark Baker 58a600b3e3 New examples of Reading Workbooks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62221 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-13 19:37:19 +00:00
Mark Baker ad9e4e2f0f Fix for a single character string in a call to PHPExcel_Shared_Date::stringToExcel() being treated as a valid date
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62207 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-13 13:16:02 +00:00
Mark Baker 10634822fe Minor fix to toArray() method for row indexing when the $returnCellRef argument is false
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62185 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-12 21:34:04 +00:00
Mark Baker 6b54d5a103 New examples of Reading Workbooks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62184 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-12 21:32:17 +00:00
Mark Baker b0fd47beee Remove some spurious methods and attributes from the SYLK Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62017 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-08 14:47:11 +00:00
Mark Baker f04feb78f8 Improved file identification by adding a magic signature test (0x1F,0x8B as the first two characters of the file)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61956 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-07 10:11:37 +00:00
Mark Baker 45ac4eae14 Oops rectification
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61914 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-06 13:02:47 +00:00
Mark Baker 9946aa1595 Bugfix: Workitem 14374 - BUG : Excel5 and setReadFilter ?
Modifications to Worksheet's to_array() method to handle worksheets partially loaded with a readFilter by switching to iterators

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61913 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-06 12:57:54 +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 678b40bb24 Added 30template.php test
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61678 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-29 22:26:10 +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