Commit Graph

575 Commits

Author SHA1 Message Date
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
4da85678d4 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64175 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-23 00:05:20 +00:00
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
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
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
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
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
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
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
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
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
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
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
Mark Baker
e7d6547e56 Applied ReadFilter option to OOCalc and Excel2003XML Readers, plus additional tests in the /Tests directory
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60573 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-08 13:49:08 +00:00
Mark Baker
324fbd6ce8 Handle variations in Gnumeric XML dependent on the version
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60560 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-08 12:06:08 +00:00
Mark Baker
9c9e1edb76 Feature: Additional support for Workbook Properties in OOCalc Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60544 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 21:58:23 +00:00
Mark Baker
dc43e7a811 Feature: Support for Extended Workbook Properties in Excel5 Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60542 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 20:54:58 +00:00
Mark Baker
77de693c9f Minor fixes to reading standard/extended properties, and reading custom properties for the Excel2003XML Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60519 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 12:04:00 +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
e2d16bb98a Document Properties modified to support extended and custom properties
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60510 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 08:01:29 +00:00
Mark Baker
1586444ba9 Feature: Work item 8769 - Implement Gnumeric File Format
Print margins


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60426 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-05 21:13:03 +00:00
Mark Baker
84c449b74a Feature: Work item 8769 - Implement Gnumeric File Format
Cell border formatting (diagonals)


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60405 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-05 14:02:26 +00:00
Mark Baker
119cd7035a Feature: Work item 8769 - Implement Gnumeric File Format
Cell border formatting (not diagonals yet)


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60402 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-05 13:32:29 +00:00
Mark Baker
964681528b Feature: Work item 8769 - Implement Gnumeric File Format
Additional cell fill formatting and hidden rows/columns


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60385 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-04 21:43:26 +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
9c8bb5b29e AddedFeature: Work item 8769 - Implement Gnumeric File Format
Basic cell and font formatting


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60350 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-03 17:37:31 +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
da8bcea5b9 AddedFeature: Work item 8769 - Implement Gnumeric File Format
Added Named Range handling to Gnumeric Reader


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60300 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-02 23:01:12 +00:00
Mark Baker
b0c5c19ed3 AddedFeature: Work item 8769 - Implement Gnumeric File Format
Added ReadFilter and Merged Cell handling to Gnumeric Reader


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60298 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-02 21:41:41 +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
Mark Baker
dfa6533b10 Fix to PHPDocumentor comments
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60243 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-01 17:11:11 +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
Mark Baker
d37e89f613 Feature: Support for Extended Workbook Properties in Excel5 Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60109 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-30 21:58:49 +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
Mark Baker
492cc4fb27 Feature: Support for Extended Workbook Properties in Excel2007, Excel5 and OOCalc Readers;
Feature: Support for User-defined Workbook Properties in Excel2007 and OOCalc Readers

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60080 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-30 09:09:12 +00:00
Progi1984
4e8a57e369 Workitem 7895 - Excel5 : Formula : Error Constant
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59926 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-27 13:37:26 +00:00
Progi1984
ab9d03069d Workitem 7895 - Excel5 : Formula : Concatenation operator
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59912 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-27 07:27:24 +00:00
Maarten Balliauw
509f27e5c6 Migration from off-site Subversion repository (part 1).
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59884 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-26 19:14:53 +00:00