Commit Graph

135 Commits

Author SHA1 Message Date
MarkBaker 280620a753 Implement Excel VALUE() function, locale-warts and all 2014-08-30 00:12:31 +01:00
Adrien Crivelli a0da3e32ec Double quote support for SUMIF() condition
SUMIF() condition can have double quote, such as '=SUMIF(A2:A4,">""",B2:B4)'.
This formula purpose is to compare the character double quote (").

In our previous patch (commit f1a1f525) we wrongly assumed that
PHPExcel_Calculation_MathTrig::SUMIF() expected the condition to escaped ('>""'),
but this is actually not the case in real use of PHPExcel, so the unit tests were
modified accordingly to use non-escaped condition ('>"').
2014-01-17 21:01:57 +09:00
Mark Baker 992aee683a Update to copyright year in file headers 2013-12-31 18:36:33 +00:00
Adrien Crivelli f2e24ecdd4 Comparison operators on strings are usually case insensitive
Excel, Gnumeric and Google Spreadsheet are case insensitive, so the
default behavior of PHPExcel is modified accordingly.

However OpenOffice is case sensitive and is also supported via the
compatibility mode of PHPExcel.

Fixes #31
2013-11-21 16:04:59 +09:00
Adrien Crivelli f1a1f525ea Double quote support for SUMIF()
SUMIF() should handle double quotes properly in both criteria and
cells values. This is especially useful when we need to compare string
containing themselve double quote(s).
2013-08-08 12:17:00 +09:00
Maarten Balliauw 5818a79e67 Update bootstrap.php 2013-07-10 11:18:43 +02:00
Mark Baker a0859fd7d0 Fix to number format masking for scientific notation 2013-06-16 15:13:05 +01:00
Mark Baker 4d92e77d00 Eliminate need for use of money_format() function; various fixes to HLOOKUP, VLOOKUP and DOLLAR functions + unit tests 2013-06-15 12:15:03 +01:00
Mark Baker dfc74f8b95 Feature: (amerov) - Implementation of the Excel HLOOKUP() function 2013-06-14 23:57:50 +01:00
Mark Baker c17a4a62a3 Improvements to formatting numbers with more complex masks 2013-05-21 18:00:57 +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 7f7b520652 Some refactoring of insert/delete row/column reference methods 2013-04-25 17:53:29 +01:00
Mark Baker db75c5981a Fixes to Advanced Value Binder for cell restructuring 2013-02-21 11:29:32 +00:00
Maarten Balliauw 642a9e1255 Filtering classpaths in PHPunit config 2012-12-19 12:44:43 +01:00
Mark Baker bf2587546e Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop 2012-11-29 23:57:57 +00:00
Mark Baker 487f4b79ec Bugfix: (manual merge from a pull request from amironov) Work item GH-82 - PHPExcel_Worksheet::getCellCollection() may not return last cached cell 2012-11-29 23:57:12 +00:00
Mark Baker 26c9235a53 Merge pull request #95 from Slamdunk/hotfix/remove-sys-tests
Remove system specific tests
2012-11-28 23:30:54 -08:00
Mark Baker d8debd0966 Minor tweaks and bugfixes 2012-11-25 17:56:27 +00:00
Mark Baker 7854955cff Bugfix: Work item 18963 - getSheetNames() fails on numeric (floating point style) names with trailing zeroes 2012-11-25 12:26:48 +00:00
Filippo Tessarotto 4f4a516add Tests: set locale to en_US.utf8 2012-11-25 10:33:54 +01:00
Filippo Tessarotto adae5a54ef Removed system specific tests 2012-11-25 09:40:04 +01:00
Mark Baker c759e5ab35 Merge pull request #89 from Slamdunk/ci/no-cc
CodeCoverage only when needed
2012-11-24 15:07:26 -08:00
Mark Baker 6bc4199675 Various tweaks and fixes 2012-11-24 22:48:44 +00:00
Filippo Tessarotto 06293c784a __DIR__ -> dirname(__FILE__) 2012-11-24 09:44:56 +01:00
Filippo Tessarotto aaf5ca234c Get str_getcsv working on PHP 5.2 2012-11-24 09:43:16 +01:00
Filippo Tessarotto 022f019cb8 Without xdebug overload, no need to check memory_limit 2012-11-24 08:36:18 +01:00
Filippo Tessarotto e6e2be2d88 CodeCoverage only when needed 2012-11-24 08:33:24 +01:00
Filippo Tessarotto 5aa7f3436c Added Travis to the project 2012-11-23 11:51:34 +01:00
Mark Baker 91de8c54e4 Modified applyFromArray() method of PHPExcel_Style to use PHPExcel::cellXfExists() call instead of expensive hash test. 2012-11-20 23:55:18 +00:00
Mark Baker 0ad1c8b585 Factor timezone methods to a separate helper class 2012-11-03 21:52:55 +00:00
Mark Baker 53a32ce7f7 Providing support for timezone adjustments in date/time conversion methods 2012-11-02 23:07:01 +00:00
Manuel Kea Baldassarri d1f172d8d6 Improved AdvancedValueBinder for currency. 2012-10-25 12:44:47 +02:00
Mark Baker b00f6d4c4c AutoFilter unit tests 2012-08-19 23:17:12 +01:00
unknown c9daa12245 Initial work on AutoFilter selections reading from Excel2007 (with
diagnostics, remember to remove before any merging to develop)
2012-08-08 22:11:26 +01:00
Mark Baker 938ce8d51f Bugfix: Work item 18325 - v-type texts for series labels now recognised and parsed correctly 2012-08-06 22:40:24 +01:00
Mark Baker 8ba160ed28 Modify Test examples to echo nicely from both CLI and in a web browser 2012-08-05 18:54:20 +01:00
Mark Baker cdf9dfdcbe Unit tests, plus a couple of minor validation bugfixes 2012-08-03 21:21:32 +01:00
Mark Baker f12189b29d Reorganised unit test directories 2012-07-31 21:56:11 +01:00
Mark Baker 83c083392a GH18 - Modify extractAllCellReferencesInRange() behaviour for , and space
range separators
2012-07-31 13:00:09 +01:00
Mark Baker 5c32ecee0a Fixes to unit test data 2012-07-29 23:38:41 +01:00
Mark Baker 6a14bdce4c Unit tests for Cell static methods and creation of PHPExcel_Exception
rather than use of standard Exception
2012-07-29 20:56:35 +01:00
Mark Baker 8f3dc270a6 Bugfix: Work Item 18415- mb_stripos empty delimiter 2012-07-27 22:06:28 +01:00
Mark Baker b7dfeb9bb7 Unit Tests for Date helper functions 2012-07-24 13:21:31 +01:00
Mark Baker 59932b0cac Bugfix: Work item 18370 - Error loading xlsx file with column breaks
Deprecated the getCalculatedValue(), setCalculatedValue(), setFormulaAttributes() and getFormulaAttributes() methods in PHPExcel_Cell.
Documentation changes and unit tests.
2012-07-18 12:29:33 +01:00
Mark Baker 1535b4d9e7 Feature: Modified ERF and ERFC Engineering functions to accept Excel 2010's modified acceptance of negative arguments 2012-07-14 14:20:17 +01:00
Mark Baker e6ebb0facf Unit tests for shared classes 2012-06-24 22:33:33 +01:00
Mark Baker 6285555c52 Minor tweaks to charts, unit testing for charts, and pdf examples 2012-06-24 13:34:57 +01:00
Mark Baker ad0e299cf7 Unit tests for Shared components,
and unit test adjustment for TextData locale formatting
2012-06-18 21:35:21 +01:00
Mark Baker f6af776b13 Adjust blacklist to prevent code coverage problems now that PDF library has been removed from PHPExcel class structure
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91578 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-10 22:10:32 +00:00
Mark Baker 7d173abeb2 Additional unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91577 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-10 22:09:12 +00:00
Mark Baker 64fe139503 Additional unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91576 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-10 22:08:42 +00:00
Mark Baker b1b4c77893 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89039 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-09 21:17:34 +00:00
Mark Baker 97a7f80f68 Unit test data
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89038 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-09 21:17:07 +00:00
Mark Baker a807cc14ca Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89020 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-09 11:27:21 +00:00
Mark Baker 954208b56d Unit test data
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89019 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-09 11:26:35 +00:00
Mark Baker 0867a7e86d Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88998 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-08 20:41:49 +00:00
Mark Baker e4a859c5e3 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88997 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-08 20:40:50 +00:00
Mark Baker efb2f4143a Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88961 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-07 20:53:36 +00:00
Mark Baker d481003b50 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88960 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-07 20:53:08 +00:00
Mark Baker a2560b45f7 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88404 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-25 22:27:51 +00:00
Mark Baker ea29a69553 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88403 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-25 22:26:31 +00:00
Mark Baker c9787e1224 Minor rework of Complex Assertions for unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88321 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-24 23:12:51 +00:00
Mark Baker c98eaf18f7 Unit tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88320 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-24 23:11:57 +00:00
Mark Baker 30fb3fba20 Unit test data
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88319 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-24 23:11:14 +00:00
Mark Baker cbad0cbb14 Unit test data
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88244 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-23 18:04:58 +00:00
Mark Baker 86b256dbdf Unit Test scripts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86201 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-08 21:41:16 +00:00
Mark Baker c1f957adbf Data files for Unit Tests
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86200 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-08 21:40:05 +00:00
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 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 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 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 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 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 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