Commit Graph

167 Commits

Author SHA1 Message Date
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 cdbeceba47 Bugfix: Work item 16895 - PHP Invalid index notice on writing excel file when active sheet has been deleted
General: Work item 16923 - Datatype.php & constant TYPE_NULL

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83260 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 12:16:01 +00:00
Mark Baker f2310e05d0 Bugfix: Work item 16246 - reader/CSV fails on this file
auto_detect_line_endings now set in CSV reader

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@77805 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-08-05 14:37:30 +00:00
Mark Baker a0ac293ec6 Bugfix: Work item 15537 - Excel2007 Reader canRead function bug
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@70501 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-17 11:29:14 +00:00
Mark Baker 34c4aa18ee Additional work on the Excel2003XML Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69733 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-04 14:39:00 +00:00
Mark Baker 901d20e6f9 Add further description to PHPDoc blocks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69404 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-25 16:52:43 +00:00
Mark Baker 5b71914eea Minor work on Excel2003XML Reader (not yet complete)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69208 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-23 01:05:05 +00:00
Mark Baker bba779bfc3 Not sure why array_item() was being called with a $key of true, but it was resulting in a "method call on a non-object" error with gradient fills.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69199 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-22 23:01:44 +00:00
Mark Baker f27b3d7815 Fix to prevent non-comment objects from throwing errors when retrieving the set of comment objects from the XML
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69155 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-22 14:02:27 +00:00
Mark Baker 46e1c4eaff General: Removed Serialized Reader/Writer as these no longer work.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69147 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-22 10:21:38 +00:00
Mark Baker 0fd77aa397 Minor performance tweaks when working with alternating blocks in a string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68309 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-10 12:39:34 +00:00
Mark Baker 3757a0e6ff Remove debug code reference to hexdump()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67638 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-31 22:01:08 +00:00
Mark Baker c6d58661e1 Feature: Support for cell comments in the Excel5 Reader... fixed some problems with the comments in BIFF8 comments
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67501 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-28 12:56:38 +00:00
Mark Baker db2fb8158a Feature: Added initial support for cell comments in the Excel5 Reader for BIFF8
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67346 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-24 12:26:06 +00:00
Mark Baker 5404406884 Feature: Added some support for cell annotations in the Excel5 Reader... now handles annotation blocks beyond the 2,048 character limit for any individual annotation block.
(for BIFF5-7 only at present... BIFF8 support is still outstanding)

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67192 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 17:58:35 +00:00
Mark Baker 2368c7fbd0 Feature: Added some support for cell annotations in the Excel5 Reader (for BIFF5-7 only at present... BIFF8 support is still outstanding, as annotations were change to a drawing object with this release)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67190 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 16:41:02 +00:00
Mark Baker 9cc2f8d50b Feature: Added basic support for cell comments in the OOCalc Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67188 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 14:36:28 +00:00
Mark Baker 2b4c15b92f Feature: Added support for cell comments in the Gnumeric and Excel2003XML Readers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67186 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 13:11:28 +00:00
Mark Baker dd4f5252ea Added BAHTTEXT to reader/writer list of Excel functions, though not supported in the calculation engine yet
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66898 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-14 18:01:41 +00:00
Mark Baker d154e853b2 Bugfix: Work item 15094 - Merge cells 'un-merge' when using an existing spreadsheet (Excel5 Reader)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66848 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-13 16:01:29 +00:00
Mark Baker 56d7506cf5 Bugfix: Minor patchfix for Excel2003XML Reader when XML is defined with a charset attribute
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66707 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-10 17:51:55 +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
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 6da04eb1d2 Performance improvements to the Excel2003XML Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66091 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-28 22:38:20 +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 ba4b73c536 Removed _sheetIndex property (and related getter/setter methods) from Readers that don't use it
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65199 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-12 11:57:59 +00:00
Mark Baker 1def6cae75 Reworked OLE Reader logic to provide a single stream reader for all streams (Workbook, Properties and Document Properties) rather than duplicating code with separate stream readers for each
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65086 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-10 00:28:18 +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 500a8e763e First steps toward reading cell comments
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65027 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-08 17:20:03 +00:00
Mark Baker 0ea41c7996 Removed diagnostic hexDump() function from file. Not much use here anyway with the autoloader, if trying to hex dump anything other than read Excel5 files. Will move it to my debugging code, where it should be anyway.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65024 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-08 15:08:09 +00:00
Mark Baker ac13feadec Fix references to private PHPExcel_Reader_Excel5 methods in PHPExcel_Reader_Excel5_Escher
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65003 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-07 22:54:29 +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 756e587bc9 Fixes for CSV Reader read contiguous row numbering
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64772 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-03 23:07:13 +00:00
Mark Baker f1e413bcc1 Performance improvements to the CSV Reader and Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64769 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-03 17:48:10 +00:00
Mark Baker c672fa5980 Minor performance tweaks to Excel2007 and Excel5 Readers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64512 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-29 12:45:59 +00:00
Mark Baker fcf2643609 Additional validation check in the canLoad() method of Excel2007 Reader to return false for OpenXML documents that aren't workbooks (eg. pptx, docx)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64373 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-26 00:36:01 +00:00
Mark Baker f2bed9ca37 Memory and Performance Improvements for Excel5 Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64357 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-25 17:43:23 +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 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 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 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 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 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 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 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
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
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
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
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