Commit Graph

1231 Commits

Author SHA1 Message Date
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
Mark Baker
f93fde9b38 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@61245 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-20 15:05:54 +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
5f5e793c05 Added Quadratic Equation Solver examples of calculation engine usage
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61104 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-17 22:46:31 +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
25526aa3ea git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60651 2327b42d-5241-43d6-9e2a-de5ac946f064 2010-09-09 13:03:29 +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
Mark Baker
2718e40b3a 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@60582 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-08 15:05:26 +00:00