Commit Graph

36 Commits

Author SHA1 Message Date
MarkBaker 0ab614fd95 Security: XML filescan in XML-based Readers to prevent XML Entity Expansion (XEE)
(see http://projects.webappsec.org/w/page/13247002/XML%20Entity%20Expansion for an explanation of XEE injection) attacks
2015-04-29 00:43:04 +01:00
Maarten Balliauw 1dad681142 Disabled libxml external entity loading by default.
If you want to allow loading external entity references in XML, call PHPExcel_Settings::setLibXmlLoaderOptions(0).
2014-02-21 09:23:55 +01:00
Mark Baker 992aee683a Update to copyright year in file headers 2013-12-31 18:36:33 +00:00
Mark Baker f5bd6dc0f2 Bugfix: (IndrekHaav) Work Item CP16208 - Fixed undefined variable error due to $styleArray being used before it's initialised 2013-11-18 14:28:22 +00:00
Mark Baker 6a4be7da3c Update to copyright year in file headers, and minor documentation updates 2013-05-14 12:20:28 +01:00
Mark Baker c660492446 Docblocks 2013-04-27 18:07:12 +01:00
Mark Baker 0ad3f67da6 Initial modifications for XML-based sheet readers to use XMLReader via streaming for large files in the listWorksheetNames() and listWorksheetInfo() methods... still needs some additional work for merged cells to work correctly, but gives a hell of a memory boost and executes more quickly - the same principles will be applied to the core data readers, but that still requires a lot more work. However, when completed, the effort should be worth it for both speed and memory usage, and the code should be a lot cleaner for the core data reader as well 2013-01-12 12:52:00 +00:00
Mark Baker d50e73f066 Refactor common reader settings/methods into an abstract reader class 2012-11-05 21:23:38 +00:00
Mark Baker 8f3640e44c Change reader exceptions to PHPExcel_Reader_Exception 2012-10-29 23:48:29 +00:00
Mark Baker 660e7e723b Example of creating Pie and Donut charts
Bugfix: Discard single cell merge ranges when reading (stupid that Excel allows them in the first place)
Bugfix: Discard hidden autoFilter named ranges
2012-09-20 00:26:49 +01:00
Mark Baker 63c411791e New Reader Feature: listWorksheetInfo() method added to Readers... courtesy of Christopher Mullins (schir1964)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88720 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-31 19:17:24 +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 b3fc8424f3 Change copyright 2011 -> 2012
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87247 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 21:09:50 +00:00
Mark Baker 0285c3e428 Inline documentation changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85955 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-02 10:27:14 +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 cb6839b24a Fix for cell or cell range styling, misinterpreting column reference
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@84608 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-31 16:19:50 +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 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 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 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
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 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 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 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 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 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 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 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 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