Commit Graph

691 Commits

Author SHA1 Message Date
Mark Baker
897d8843c4 More sophisticated parser... in time, I'll factor complex functions out from the engineering functions class, and use this as the basis for that rework
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86199 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-08 21:39:02 +00:00
Mark Baker
73f013c68f Initial addition of chart classes, though not yet including the reader/writer code for loading the classes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86197 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-08 21:17:39 +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
Progi1984
097a30b6d8 IMPROVED : Changelog
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85954 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-02 09:57:20 +00:00
Progi1984
44b3fa2c94 ADDED : Documents Properties Writing in Excel5Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85916 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-31 23:53:21 +00:00
Mark Baker
42fa6f10a1 Minor tweaks to Excel functions to handle envelope cases
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85866 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-30 00:41:52 +00:00
Mark Baker
695edbf677 Minor tweaks to Excel functions to handle envelope cases
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85852 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-29 14:25:25 +00:00
Mark Baker
c92f4560e6 Switch to using str_getcsv rather than explode to handle test data strings containing commas
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85851 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-29 14:24:43 +00:00
Mark Baker
b2624a2ad1 Unit Test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85850 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-29 14:23:48 +00:00
Mark Baker
5da448bbad Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85849 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-29 14:23:06 +00:00
Mark Baker
b9c88ffae4 Unit Test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85795 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 22:40:23 +00:00
Mark Baker
3bbce88324 Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85794 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 22:40:02 +00:00
Mark Baker
9f2addc893 Minor tweaks to Excel functions to handle envelope cases
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85793 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 22:39:21 +00:00
Mark Baker
4338c32461 Unit Test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85786 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 20:09:08 +00:00
Mark Baker
cbc1e24cb4 Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85785 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 20:08:27 +00:00
Mark Baker
97ea12ef6d Allow array definitions in test data files
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85784 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 20:07:17 +00:00
Mark Baker
f0959c9ef3 Minor tweaks to Excel functions to handle envelope cases
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85783 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 20:06:35 +00:00
Mark Baker
897da40d97 Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85752 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 01:42:43 +00:00
Mark Baker
d5ce069cfc minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85749 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 00:53:20 +00:00
Mark Baker
7b8f646880 Tests for PHP date/time stamp and DateTime object returns
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85748 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 00:50:24 +00:00
Mark Baker
bed8ef21b4 Removal of redundant code: break after return in case statements
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85747 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-26 00:49:34 +00:00
Mark Baker
9c2ceed08d Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85743 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 23:07:22 +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
a77c44d4e6 Unit Test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85741 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 22:05:38 +00:00
Mark Baker
f3ceef434c Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85740 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 22:04:53 +00:00
Mark Baker
7429a98174 PHPUnit Extensions (custom assert for Complex numbers)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85691 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-23 23:42:32 +00:00
Mark Baker
166311bf69 Unit Test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85690 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-23 23:41:37 +00:00
Mark Baker
7ac3ddd7f9 Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85689 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-23 23:40:50 +00:00
Mark Baker
54a6125d76 Unit Test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85688 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-23 23:38:58 +00:00
Mark Baker
f9e719dc52 Minor tweaks to Excel functions to handle envelope cases
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85631 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-22 19:00:42 +00:00
Mark Baker
508be392e7 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85527 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-19 22:36:22 +00:00
Mark Baker
34f3e8b706 Initial phpunit unit test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85526 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-19 22:32:58 +00:00
Mark Baker
9bec4af001 Fix to inappropriate replacement of count() with empty().... there may be others I've not spotted yet.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85438 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-18 17:55:51 +00:00
Mark Baker
414209c03d Fix to inappropriate replacement of count() with empty().... there may be others I've not spotted yet.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85437 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-18 17:51:53 +00:00
Mark Baker
21cce674c8 Fix to inappropriate replacement of count() with empty().... there may be others I've not spotted yet.
Improved debuglog in calculation engine.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85403 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-17 21:57:06 +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
ac37b8ae8d Bugfix: Work item 17262 - Named Range definition in .xls when sheet reeference is quote wrapped
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85313 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-15 12:06:04 +00:00
Mark Baker
a22e46f328 Bugfix: Work item 17199 - Indexed colors should be consistent with Excel and start from 1 (current indexing of the default palette array starts at 0)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85260 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-14 10:51:29 +00:00
Mark Baker
0b515ff07d Configuration options for Chart and PDF rendering, in preparation for chart handling and making the PDF writer confugrable via a choice of 3rd party external libraries
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85115 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-11 11:30:33 +00:00
Mark Baker
438bc9da60 Bugfix: Work item 17166 - Indexed colors do not refer to Excel's indexed colors?
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@84644 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-02 00:12:09 +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
6ea0ff9bfd Performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@84523 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-30 01:08:05 +00:00
Mark Baker
86db0b8535 General: Change iterators to implement Iterator rather than extend CachingIterator, as a fix for PHP 5.4. changes in SPL
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@84516 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-30 00:04:06 +00:00
Mark Baker
24bd9b5e8a Feature: Additional row iterator options: allow a start row to be defined in the constructor; seek(), and prev() methods added.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@84512 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-29 22:59:24 +00:00
Mark Baker
b235c531a7 Experimental - Added getHighestDataColumn(), getHighestDataRow(), getHighestRowAndColumn() and calculateWorksheetDataDimension() methods for the worksheet that return the highest row and column that have cell records
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83932 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-16 16:01:21 +00:00
Mark Baker
0924d0a4ca Bugfix: (fauvel) Work item 16958 - Cell::getFormattedValue returns RichText object instead of string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83890 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-14 23:00:45 +00:00
Mark Baker
7fce476f0c General: (atz) Work item 17024 - Unknown codepage: 10007
Additional Mac codepages

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83889 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-14 22:48:09 +00:00
Mark Baker
5cf4740204 Fix to cache factory getInstance() if initialize() has been called explicitly by a user call
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83748 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-09 14:55:47 +00:00
Mark Baker
fc62320de8 modify cell cache getInstance() method to validate response from initialize() if it hasn't been called explicitly by a user call
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83743 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-09 12:19:54 +00:00
Mark Baker
cd7f0a1c51 Added a cacheMethodIsAvailable() method to all cell cache classes, making it easier to identify if all the necessary classes/functions are available for each caching option.
Renamed the factory getCacheStorageMethods() method to getAllCacheStorageMethods(), returning all cache options in the library.
Wrote a new factory getCacheStorageMethods() method to return an array of those cache methods that are available with the current build of PHP (extensions tested, etc).
Refactored factory initialize() method to use the cacheMethodIsAvailable(), so factoring the logic for testing methods out of the factory.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83741 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-09 12:10:46 +00:00