Commit Graph

34 Commits

Author SHA1 Message Date
MarkBaker 9940b262c4 Remove spurious worksheet created when instantiating the PHPExcel object, and only create sheets defined in the Excel2003XML file 2014-11-26 22:40:49 +00:00
MarkBaker 903f737a39 Bugfix: (bobwitlox) Work Item GH-467 - Bug in Excel2003XML reader, parsing merged cells 2014-11-26 22:24:53 +00:00
Yves Maerschalck 0787e56d41 XML External Entity (XXE) Processing
https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing

change simplexml_load_file to
simplexml_load_string(file_get_contents()) because load_file doesn't
work when
http://php.net/manual/en/function.libxml-disable-entity-loader.php is
true
2014-07-16 09:28:33 +02: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 60c9bf391c Excel compatibility mode for CSV Writer 2013-08-15 18:10:29 +01: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 fd2a3773d8 Refactoring of canRead function in Readers, and minor fixes to Examples and documentation updates 2013-05-06 23:39:49 +01:00
Mark Baker c660492446 Docblocks 2013-04-27 18:07:12 +01: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 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 24a9eb285c Use of empty() rather than count() to test if arrays are empty or not - simple performance tweak... empty() is over twice as fast as count()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85344 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-16 12:34:22 +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 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 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 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 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 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 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
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 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 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 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 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
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