Commit Graph

819 Commits

Author SHA1 Message Date
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
Mark Baker 63c5cbc98e Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop 2012-10-31 22:01:09 +00:00
Mark Baker 531803a919 Change Writer exceptions to PHPExcel_Writer_Exception 2012-10-31 22:00:40 +00:00
Mark Baker f4e949e3a1 Merge pull request #63 from alexgann/patch-1
Fix to cellExists for non-existent namedRanges. Thanks for the catch
2012-10-30 14:17:01 -07:00
Progi1984 4a76eeb5dd IMPROVED : Encoding UTF-8 for generating PHPDoc 2012-10-30 09:32:49 +01:00
Mark Baker e0529485b7 Change Reader exceptions to PHPExcel_Reader_Exception 2012-10-29 23:51:09 +00:00
Mark Baker 8f3640e44c Change reader exceptions to PHPExcel_Reader_Exception 2012-10-29 23:48:29 +00:00
Mark Baker d66f61bfbb Merge pull request #70 from techhead/fix_insertNewBefore
Fixed formula/formatting bug when removing rows
2012-10-28 13:57:51 -07:00
Mark Baker 12525c804b Merge pull request #69 from kea/AVB_currency
Improved AdvancedValueBinder for currency
2012-10-27 01:35:18 -07:00
Mark Baker 9be433af58 Minor charting fixes 2012-10-27 00:02:38 +01:00
Mark Baker a3303cd05e Ensure that signature of bindParent() in style class overrides matches the signature of bindParent() in the supervisor 2012-10-26 14:56:58 +01:00
Jonathan Hawkes f99fc61e0d Fixed formula/formatting bug when removing rows 2012-10-25 09:54:12 -04:00
Mark Baker 45f2829a33 Bugfix: Work item GH-66 - Wrong check for maximum number of rows in Excel5 Writer 2012-10-25 12:57:48 +01:00
Manuel Kea Baldassarri d1f172d8d6 Improved AdvancedValueBinder for currency. 2012-10-25 12:44:47 +02:00
Mark Baker 701ff5adf1 Upload missing style supervisor 2012-10-24 17:07:55 +01:00
Mark Baker 163a9ca5b9 Refactoring of style classes to use an abstract supervisor 2012-10-23 13:16:30 +01:00
alexgann 4748b88d9c Fix to cellExists for non-existent namedRanges
Found an issue where cellExists was failing on a non-existent namedRange
as it was flowing down to the coordinateFromString (1217) call.  Proposed
change trusts the REGEXP check and if $namedRange == NULL after all
then simply return false (ie the cell does not exist).
2012-10-19 13:38:26 -03:00
Marcus Bointon 037c2748f3 Change use of is_a() to use instanceof
While is_a() is no longer deprecated, there are bound to be some people using PHP versions that still have it marked as deprecated.
This is the only occurrence of is_a in the whole of PHPExcel; everywhere else it's using instanceof, so I figured it would be sensible to make it consistent.
2012-10-18 17:11:45 +03:00
Mark Baker b2a26349d4 Bugfix: Work item 18794 - CSV files without a file extension being identified as HTML 2012-10-16 13:39:59 +01:00
Mark Baker 7b8533a504 Minor bugfix to calculation engine formula validation (unbalanced braces) 2012-10-13 22:07:36 +01:00
Mark Baker e46513043e Fix to X-Axis labels when writing chart DataSeriesValues.php
Addition of an example for creating a radar chart
2012-10-13 17:24:11 +01:00
Mark Baker dfcd839e61 Suppress jpgraph rendered legend if not displayed in Excel; ensure that left or right legends display as single column for each entry 2012-10-10 13:03:14 +01:00
Mark Baker 364f581ee4 Fix to x-axis labels for chart rendering
Fix to page orientation for DomPDF renderer
2012-10-10 12:31:05 +01:00
Mark Baker 3f981d84d4 Move calculator token stack class into its own file 2012-10-07 11:31:08 +01:00
Mark Baker a62b133540 Fix to colour settings in jpgraph renderer and initial version of example code for rendering
charts as images
2012-10-07 10:30:15 +01:00
Mark Baker 8900a49d4e Minor bugfixes 2012-10-04 21:48:27 +01:00
Mark Baker 4c88a30abd Feature: Allow call to font setUnderline() for underline format to specify a simple boolean for UNDERLINE_NONE or UNDERLINE_SINGLE 2012-09-25 12:41:25 +01:00
Mark Baker f2bfda68e9 Fixed the OOCalc Reader that I broke a few days ago 2012-09-24 11:42:20 +01:00
Mark Baker 072dd6f23e Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop 2012-09-20 00:28:23 +01: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 9f042a8540 Feature: Added fraction tests to advanced value binder 2012-09-18 22:43:09 +01:00
Mark Baker d7e4aaf80b Data labels for charts 2012-09-17 23:23:55 +01:00
Mark Baker fb6ad92fd4 Minor bugfixes 2012-09-16 23:28:03 +01:00
Mark Baker 0f5b94daeb Row zeroHeight should default to false 2012-09-14 12:12:15 +01:00
Mark Baker 893086df31 Turkish language pack 2012-09-14 00:52:10 +01:00
Mark Baker 0dac1e1ab5 General: (Raghav1981) ZeroHeight for rows in sheet format 2012-09-09 11:38:32 +01:00
Mark Baker 23fe9937fe Bugfix: Work item 18598 - Cannot access private property PHPExcel_CachedObjectStorageFactory::$_cacheStorageMethod 2012-09-06 23:40:39 +01:00
Mark Baker f87ca1419d Use class_exists() with FALSE second argument 2012-09-06 22:56:56 +01:00
Mark Baker 9820b46649 Merge pull request #40 from qpautrat/fix-file-exist
Fix condition on existing file
2012-09-05 17:12:30 -07:00
Mark Baker 2d6ad66f0c Feature: Excel compatibility option added for writing CSV files
While Excel 2010 can read CSV files with a simple UTF-8 BOM, Excel2007 and earlier require UTF-16LE encoded tab-separated files.
The new setExcelCompatibility(TRUE) option for the CSV Writer will generate files with this formatting for easy import into Excel2007 and below.
2012-09-05 14:12:00 +01:00
qpautrat 5af0226a66 Fix condition on existing file 2012-09-05 13:12:51 +02:00
Mark Baker 13f227c4f2 Additional chart creation examples 2012-09-02 12:06:48 +01:00
Mark Baker 5ed20761c6 Handle custom blank autofilter rule in show/hide 2012-08-29 13:20:33 +01:00
Mark Baker 2f4620c3f9 Improve cloning of worksheet to handle autoFilter area cleanly 2012-08-29 00:24:13 +01:00
Mark Baker dbe64c5044 New chart examples, and column ordering in autofilter expressions 2012-08-25 14:40:25 +01:00
Mark Baker e419b92765 Autofilter expressions - TopTen, and minor patches 2012-08-24 23:38:18 +01:00
Mark Baker ef3ea158e4 Add a couple of test examples for autofilter expressions 2012-08-23 23:40:51 +01:00
Mark Baker 85eabc21aa Various bugfixes including Excel2007 Writer order of font style elements to conform with Excel2003 using compatibility pack 2012-08-23 00:16:40 +01:00
Mark Baker 8c688358ba Elimination of a potential XSS vulnerability in JAMA documentation
JAMA docs are no longer up-to-date anyway
2012-08-21 23:15:17 +01:00
Mark Baker ef2de9cc5e Github Issue #32 - Insert column VS autofilter 2012-08-21 22:32:16 +01:00
Mark Baker 2b91cb0c2c Suppress autofilter row show/hide while diagnostics still in code 2012-08-19 23:59:22 +01:00
Mark Baker 83b8e9dad3 Bugfix: (wolf5x) Work item 18492 - load file failed if the file has no extensionType 2012-08-19 23:57:16 +01:00
Mark Baker b00f6d4c4c AutoFilter unit tests 2012-08-19 23:17:12 +01:00
Mark Baker 61bc7c8e98 Autofilter show/hide for all dynamic types now complete (still with
debugs)
2012-08-19 11:14:34 +01:00
Mark Baker f9a1267697 Dynamic autofilter show/hide rows for this/next/last
week/month/quarter/year etc
2012-08-18 23:41:16 +01:00
Mark Baker 960f5a32a2 Range argument tests with default value in cell range methods, and further
AutoFilter expression evaluation for dynamic filters
2012-08-16 22:53:13 +01:00
Mark Baker bb0d413a67 Fix to dynamic autofilter expression in writer, preventing writing
blanks="1"
2012-08-16 00:29:07 +01:00
Mark Baker 83afa87bf3 Fixed broken build after recent autofilter changes 2012-08-15 13:20:34 +01:00
Mark Baker 18920d60c7 Merge pull request #25 from alexgann/patch-2
Add cell indent to html rendering
2012-08-13 05:09:42 -07:00
Mark Baker db1f8c98f0 The bulk of the autofilter expressions work for Excel2007, including
documentation
2012-08-13 00:14:51 +01:00
alexgann dae529615e Add cell indent to html rendering
Quick one-liner to render cell indents in html as padding. 9px seems to be what Excel uses internally
2012-08-10 21:34:39 -03:00
unknown 303a6443ed Initial Writer code for autofilter selections 2012-08-09 21:26:33 +01:00
unknown 1bd83a115e Merge branch 'develop' into autofilter 2012-08-09 12:41:46 +01:00
unknown 2251839f66 Support for AutoFilter active filters in the Excel2007 Reader 2012-08-09 12:38:11 +01:00
unknown 14686dbb42 Feature: (k1LoW) Support SheetView `view` attribute (Excel2007)
modified to add reader support, and refactored validation
2012-08-09 12:35:04 +01:00
k1LoW d24e640801 Support SheetView `view` param 2012-08-09 10:13:05 +09: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 c770117193 Validation fix to mathematical matrix functions 2012-08-07 23:44:35 +01:00
Mark Baker b694241de6 Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into autofilter 2012-08-07 10:16:03 +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 6c9a907027 Bugfix: Work item 18145 - Autoshape being identified in twoCellAnchor when includeCharts is TRUE triggering load error 2012-08-06 11:41:05 +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 b2b66ecfd4 Merge branch 'charts' into develop 2012-08-04 16:11:25 +01:00
Mark Baker 7d13b6de2e Bugfix: Work item 18377 - Chart Title compatibility on Excel 2007 2012-08-04 16:08:28 +01:00
Mark Baker cdf9dfdcbe Unit tests, plus a couple of minor validation bugfixes 2012-08-03 21:21:32 +01:00
Mark Baker 7fae37247b General: Magic __toString() method added to Cell object to return raw data value as a string 2012-08-01 21:41:00 +01:00
Mark Baker 0b60b61104 Bugfix: takaakik) Work Item 15455 - getNestingLevel() Error on Excel5 Read
Bugfix: ix to Excel5 Reader when cell annotations are defined before their referenced text objects
2012-08-01 17:25:10 +01:00
Mark Baker 83c083392a GH18 - Modify extractAllCellReferencesInRange() behaviour for , and space
range separators
2012-07-31 13:00:09 +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 8ab0200584 Further chart bugfixes, plus an example of changing chart data for use in
templates
2012-07-27 12:22:47 +01:00
Mark Baker b871674f18 Ensure that chart worksheet is correctly set when adding chart to a
worksheet
2012-07-26 20:04:52 +01:00
Mark Baker 8e41c70d41 General: Work item 18404 - setCellValueExplicitByColumnAndRow() do not return PHPExcel_Worksheet 2012-07-25 23:54:53 +01:00
Mark Baker 013c18b859 General - merged (with some localisation mods) from a pull request by alexgann - Add Currency detection to the Advanced Value Binder 2012-07-25 13:15:27 +01:00
Mark Baker dbe12c73a2 Formatting constant GENERAL should be FORMAT_GENERAL 2012-07-24 07:39:36 +01:00
Mark Baker 317f00b259 Bugfix to ensure that General format is not treated as a date format
despite containg e for epoch
OOCalc Reader modified to process number-rows-repeated
Modify OOCalc Reader to only read cells that containing data, or merged cells
(depending on setReadDataOnly setting)
2012-07-23 21:52:14 +01:00
Mark Baker 868d14a84d Fix to OOCalc Reader for percentage and currency datatypes 2012-07-23 12:29:15 +01:00
Mark Baker 19dfbfe418 Remove chart diagnostics from echoes 2012-07-21 11:57:02 +01:00
Mark Baker 679f95773e Chart Writing bugfix to refresh values 2012-07-21 11:52:20 +01:00
Mark Baker 8bcf795e16 Chart writing bugfixes 2012-07-20 23:53:16 +01:00
Mark Baker dd69a5a134 More chart bugfixing 2012-07-20 23:13:16 +01:00
Mark Baker 946ea73ddb Bugfixes to Chart Reader and Writer 2012-07-20 22:35:53 +01:00
Mark Baker 5e44fa2517 Issue #5 - Refactor autoFilter range into an autofilter class in
preparation for adding support for autofilter expressions
2012-07-18 21:12:02 +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 5925bc8a65 Extended IOFactory list of file extensions matched to Readers 2012-07-14 12:33:03 +01:00
Mark Baker 15ccc845da Improved canRead test for OOCalc files 2012-07-14 11:45:32 +01:00
Mark Baker 78b7019247 Set temporary directory for PCLZip wrapper 2012-07-14 10:32:36 +01:00
Mark Baker e2a2fdb335 Bugfix: (seltzlab) Fix to excel2007 Chart Writer when a $plotSeriesValues is empty 2012-07-14 01:26:53 +01:00
Mark Baker c20c5f6ac8 Bugfix: (wackonline) OOCalc Reader fix for NULL cells 2012-07-14 00:40:55 +01:00
Progi1984 e1104f1862 ADDED : Implement support for AutoFilter in PHPExcel_Writer_Excel5 2012-07-13 18:20:06 +02:00
Mark Baker b7acf2bbe4 Bugfix: Work items 15905 and 18183
Allow "no impact" to formats on Conditional Formatting
2012-07-02 22:38:24 +01:00
Mark Baker 6710c8a136 Bugfix: Work items 15799 and 18278
Background color cell is always black when editing cell
2012-06-26 21:08:11 +01:00
Mark Baker 57464cbf1a Bugfix: Support for "e" (epoch) date format mask
Rendered as a 4-digit CE year in non-Excel outputs
2012-06-26 20:55:27 +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 d700807ed0 Convert string text to rich text for chart title and axis labels 2012-06-18 23:43:53 +01:00
Mark Baker ccc562dea8 Setter methods for Title, Legend, X and y axis labels 2012-06-18 22:26:22 +01:00
Mark Baker 5193c6c35d Envelope case validation and fix return values
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91574 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-10 22:06:14 +00:00
Mark Baker 92461ae067 Set htmlspecialcharacters for text fields
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91573 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-10 22:05:40 +00:00
Mark Baker 1b642d4e7d Validate existence of PDF Renderer library before instantiating renderer class
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91572 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-10 22:05:00 +00:00
Mark Baker 3783c7e099 Feature: Initial version of HTML Reader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91447 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-07 19:43:19 +00:00
Mark Baker ec9256a12e Bugfix: Patch 12318 - OOCalc cells containing <text:span> inside the <text:p> tag
Bugfix: Fix to listWorksheetInfo() method for OOCalc Reader

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91446 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-07 19:42:45 +00:00
Mark Baker 2cd4c7e044 Validate Graph and PDF Renderer library directories
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91353 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-05 14:18:55 +00:00
Mark Baker 4fa6c2ceaf Removed spurious final blank page from PDF Writer output
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91328 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-04 21:34:16 +00:00
Mark Baker 6dc94c6e04 Refactor individual library PDF writers to use a common core class for all shared methods
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91320 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-04 16:20:43 +00:00
Mark Baker 2329e178aa Gridlines fix for tcPDF renderer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91319 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-04 15:48:05 +00:00
Mark Baker b9ca129e74 Case-sensitivity for PDF renderer library options
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91297 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-03 21:45:33 +00:00
Mark Baker dccaf0b676 Remove embedded tcPDF from repository - this is now an optional choice of PDF renderer, and must be installed separately if required
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91295 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-03 21:23:56 +00:00
Mark Baker 686f35e182 Initial refactoring of PDF Writer to work with user-selection of 3rd party PDF libraries
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@91294 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-06-03 21:20:05 +00:00
Mark Baker 5f301a72c1 Additional validation on Worksheet name when adding/creating a new worksheet
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@90941 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-05-25 06:45:01 +00:00
Mark Baker 762f12624b Bugfix: Work item 17471 - OOCalc cells contain same data bug?
Plus a couple of charting bugs


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@90420 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-05-13 18:15:09 +00:00
Mark Baker 540aebe68b Fix to use of $updateFormulaCellReferences flag in setTitle() method for worksheets
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89095 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-11 19:46:29 +00:00
Mark Baker 2093d9274f Additional argument validation
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89018 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-09 11:25:27 +00:00
Mark Baker c284eef55e Additional argument validation
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88996 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-08 20:39:24 +00:00
Mark Baker 193a766ab3 Fix to UOM Conversion where input UoM is the same as output UoM
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88979 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-08 14:52:27 +00:00
Mark Baker 64cc573a1e Fixed missing {
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88966 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-07 23:28:55 +00:00
Mark Baker 2917b44fe3 Fixed missing {
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88965 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-07 23:15:41 +00:00
Mark Baker e321a1666d Fixed missing }
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88964 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-07 23:12:47 +00:00
Mark Baker 9785cbea82 Minor fix to Financial RATE() function
Refresh method for charts

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88962 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-04-07 20:54:55 +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 f65dfa951e Fix when format is not defined for data series values, thanks to pnomolos
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88558 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-28 12:02:24 +00:00
Mark Baker 8309a14df5 Remove comment about Euro, correct currency is Zloty - thanks for confirming dkrysiak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88557 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-28 11:59:44 +00:00
Mark Baker 4347e0635a Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88405 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-25 23:58:02 +00:00
Mark Baker 6fcec48233 Enable DAVERAGE() Excel function
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88401 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-25 22:23:30 +00:00
Mark Baker 0735f2c61e Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88400 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-25 22:22:20 +00:00
Mark Baker fe91406bfc Doc Block changes, plus improvements to financial month start and month end test methods
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88322 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-24 23:14:35 +00:00
Mark Baker 699467cd0f Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88243 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-23 18:03:25 +00:00
Mark Baker 3d7153c7f4 Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88175 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-21 23:55:54 +00:00
Mark Baker ffdb1966b1 Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88003 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-19 00:25:29 +00:00
Mark Baker 8ade1b8a69 Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87976 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-18 16:26:03 +00:00
Mark Baker 4f76dfad97 Bugfix: (bnr) Work item 17501 - =sumproduct(A,B) <> =sumproduct(B,A) in xlsx
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87695 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-12 23:42:12 +00:00
Mark Baker 4bb4f5ebc8 Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87642 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-11 19:24:20 +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 953b1e82fb Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87578 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-10 23:29:09 +00:00
Mark Baker 15391c2074 Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87576 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-10 22:43:00 +00:00
Mark Baker 0de1f6324d Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87554 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-10 11:38:35 +00:00
Mark Baker 19403c43d8 Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87550 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-10 11:15:37 +00:00
Mark Baker eeac8e3b7f Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87549 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-10 11:14:05 +00:00
Mark Baker b3cb86ccff Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87532 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-09 23:55:17 +00:00
Mark Baker 4562c83ec8 Minor fix to varyColor
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87267 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-04 11:30:33 +00:00
Mark Baker 1600961140 Minor fix to chart dataseries for charts with only one series
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87266 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-04 11:15:46 +00:00
Mark Baker c275bf7a8d Change copyright 2011 -> 2012
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87249 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 21:29:01 +00:00
Mark Baker 2526492ca5 Change copyright 2011 -> 2012
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87248 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 21:16:09 +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 7bda2c3f3b Change copyright 2011 -> 2012
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87246 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 21:08:29 +00:00
Mark Baker 22404188a0 Work Item 17516 - Issue #1 fix bad cut-and-paste
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87244 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 20:22:13 +00:00
Mark Baker 69671d2dc7 Additional work on stock charts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87128 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-29 22:01:45 +00:00
Progi1984 41199626d8 FIXED : Work item 8916 - Support for Rich-Text in PHPExcel_Writer_Excel5
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87070 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-27 22:05:21 +00:00
Mark Baker e0751201b8 Radar fills
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87008 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-26 16:27:05 +00:00
Mark Baker b95a61b6d5 Scatter chart basics, prevent problems with other chart types
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87002 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-26 13:42:36 +00:00
Mark Baker ed6d71cb92 Scatter chart basics
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87000 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-26 12:31:03 +00:00
Mark Baker 938dcd9d5f Minor refactoring
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86972 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-25 18:46:39 +00:00
Mark Baker e60920e7f7 Minor refactoring
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86968 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-25 18:22:39 +00:00
Mark Baker 8bbb468122 Radars and some fixes to bubbles
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86922 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-24 23:58:02 +00:00
Mark Baker 49e485e010 Can't give you exploding penguins.... so here's the next best thing: exploding pies and donuts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86908 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-24 17:08:13 +00:00
Mark Baker 778ec9e7af Fix for stacked and percentage grouping son bar and column charts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86904 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-24 13:30:22 +00:00
Mark Baker fdd1b20830 Tweak to varyColors element
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86902 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-24 13:13:38 +00:00
Mark Baker e624bb7c9e Holes in doughnuts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86882 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-24 07:45:08 +00:00
Mark Baker 2a8dc8f7f5 Fixes to Pie and Donut charts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86871 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-23 23:49:45 +00:00
Mark Baker fac2858b1d Fixes to rich text in charts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86842 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-23 17:20:25 +00:00
Mark Baker 3392f46985 Minor tweak to fix colours from the pallette index
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86741 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-21 17:28:37 +00:00
Mark Baker 9b462e941d Reset Theme.php charset to UTF-8 without BOM as fix for far-eastern fonts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86736 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-21 14:17:35 +00:00
Mark Baker 3543ea45ef Bugfix: Work item 17186 - setSelectedCellByColumnAndRow is not working
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86732 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-21 10:44:10 +00:00
Mark Baker 4e6807578e Initial chart writer code (still annoyingly buggy)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86726 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-20 22:47:06 +00:00
Mark Baker 6ba19b8241 Initial chart writer code (still annoyingly buggy)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86721 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-20 20:49:25 +00:00
Mark Baker 29fcbd0c97 Fix point count in multi-level dataseries
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86522 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-15 23:28:46 +00:00
Mark Baker 3b47bd0852 Rich text should be inline rather than string... still needs testing for readers/writers of all file formats
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86490 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-14 23:30:00 +00:00
Mark Baker 18a5e7d2a4 Initial merge of Chart reader code
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86489 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-14 23:28:41 +00:00
Mark Baker 337af28233 Prevent stack overflow problem when formula in a cell contains a named range without a worksheet reference... this doesn't fix the formula, but does avoid the exception and allows the workbook to be written with the problematic cell as a blank
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86488 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-14 23:27:50 +00:00
Mark Baker b18939b29d Minor fixes for strict standards
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86471 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-14 13:48:09 +00:00
Mark Baker ffb8ccc362 Bugfix: Work item 15459 - Invalid cell coordinate in Autofilter for Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86455 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-14 01:03:40 +00:00
Mark Baker 6f91dd9f59 Bugfix: Work item 17403 - duplicateStyle() method doesn't duplicate conditional formats
Added an equivalent duplicateConditionalStyle() method for duplicating conditional styles

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86383 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-12 18:04:22 +00:00
Mark Baker df29d7d985 Chart reader code, still detached from the workbook reader until I'm ready to commit that
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86206 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-08 22:44:00 +00:00
Mark Baker b41407743e Whoopsee... managed to introduce a bug when changing is_null() to === NULL for performance reasons, and reversed the logic of the test..... this is the fix
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86204 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-02-08 22:33:31 +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 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 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 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 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 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 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 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
Mark Baker 86d2a5291f Feature - initial version of Igbinary (serialized) cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83656 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-05 23:41:49 +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 c345c0e8ca Exception handling for SQLite3 cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83592 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 20:16:57 +00:00
Mark Baker 91f74c5893 Exception handling for SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83587 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 18:49:27 +00:00
Mark Baker bde593557d Minor performance optimisation: use $x+=3 instead of $x=$x+3
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83576 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 10:02:24 +00:00
Mark Baker 11c87c19ad Feature - initial version of SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83558 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 00:32:01 +00:00
Mark Baker 07e56b5a60 Feature - initial version of SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83557 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 00:24:44 +00:00
Mark Baker ee028c165d General: Work item 16028 - Fix for projects that still use old autoloaders
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83541 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-02 14:16:23 +00:00
Mark Baker 969c409ba1 Bugfix: Work item 16266 - PHPExcel_Style::applyFromArray() returns null rather than style object in advanced mode
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83539 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-02 13:59:57 +00:00
Mark Baker 207f6f5818 General: Work item 16359 - [Patch] faster stringFromColumnIndex()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83538 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-02 13:40:40 +00:00
Mark Baker a083de817e Use PHPExcel_Shared_File::sys_get_temp_dir() for temporary files directory where not explicitly specified
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83402 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-28 14:41:17 +00:00
Mark Baker 135c0185f5 Use PHPExcel_Shared_File::sys_get_temp_dir() for temporary zip file directory rather than ./
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83400 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-28 14:13:08 +00:00
Mark Baker 87c735a212 Bugfix: Work item 16956 - External links in Excel2010 files cause Fatal error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83265 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 15:45:34 +00:00
Mark Baker 68a0930f67 Bugfix: Work item 16960 - Previous calculation engine error conditions trigger cyclic reference errors
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83263 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 14:37:47 +00:00
Mark Baker 6e7b84ef97 Bugfix: Work item 16956 - External links in Excel2010 files cause Fatal error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83262 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 14:30:02 +00:00
Mark Baker f2076cde3f Bugfix: Work item 16956 - External links in Excel2010 files cause Fatal error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83261 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-11-25 13:34:08 +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 77cd4ac9aa Bugfix: Work item 16643 - Bug In Cache System (cell reference when throwing caching errors)
General: Work item 16643 - Add file directory as a cache option for cache_to_discISAM

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@82024 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-10-26 16:16:43 +00:00
Mark Baker efc066c233 Bugfix: Work item 16212 - $arguments improperly used in CachedObjectStorage/PHPTemp.php
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@82008 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-10-25 19:31:57 +00:00
Maarten Balliauw d68efe81d7 Fixed a reference error
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@81990 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-10-25 06:02:36 +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 bb34668146 Modify underlying PHP_OLE to support multiple streams
This is preparatory to providing support for workbook properties (and extended properties) in the Excel5 Writer, because properties are stored in the SummaryInformation and DocumentSummaryInformation streams, and not in the workbook stream.
Previously, PHP_OLE could only save a single stream, so this had to be the workbook stream; so document property information was discarded by the Excel5 Writer.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@77804 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-08-05 14:04:07 +00:00
Mark Baker 94e3dc3fd2 Improved speed and memory usage in Excel5 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74786 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-06-01 23:09:12 +00:00
Mark Baker 3cbbcd87d5 Update to phpdoc comments
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74698 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:26:55 +00:00
Mark Baker cdb94cfb1e Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74697 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:25:04 +00:00
Mark Baker c7539c3d4c Performance improvements to Excel5 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74696 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:22:49 +00:00
Mark Baker f041495fb8 Call dataTypeForValue() method in self rather than PHPExcel_Cell_Datatype
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74695 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:20:13 +00:00
Mark Baker dd7674a36a Fixed charset code for CHARSET_ANSI_THAI
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74692 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-30 22:16:45 +00:00
Mark Baker c792f053b5 Performance improvements by removing tests against BIFF version... especially as we only save as BIFF8 now, BIFF5 having been discarded some releases ago
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@74466 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-26 20:17:48 +00:00
Mark Baker 48b2fb8e99 Bugfix: Locale-specific fix to text functions when passing a boolean argument instead of a string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@73499 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-15 22:58:20 +00:00
Mark Baker 85ff71fd18 General: Improved memory usage in CSV Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@73146 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-05-11 22:36:47 +00:00
Mark Baker adacb26028 Additional PHPDocumentor tagging
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72465 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-29 14:23:57 +00:00
Mark Baker dd7b0610e9 Bugfix: Work item 15762 - INDIRECT() function doesn't work with named ranges
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72460 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-29 13:44:27 +00:00
Mark Baker 5979a4ec13 Bugfix: Work item 15786 - RangeToArray strange array keys
and Minor performance tweak to the workbook setActiveSheetIndexByName() method


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72435 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-28 20:42:50 +00:00
Mark Baker 5672f25ebf General: Reduce cell caching overhead using dirty flag to ensure that cells are only rewritten to the cache if they have actually been changed
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72227 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-25 14:25:53 +00:00
Mark Baker c7f99d0d98 Bugfix: Work item 15707 - ini_set() call in Calculation class destructor
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72060 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-19 21:40:35 +00:00
Mark Baker 631834b4d6 Minor performance improvement to date conversion routines
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@71598 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-09 18:16:08 +00:00
Mark Baker 70f773f0ca Bugfix: Support for Excel functions whose return can be used as either a value or as a cell reference depending on its context within a formula
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@71420 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-05 21:57:59 +00:00
Mark Baker 2d362092ba Added document properties to HTML output as meta tags
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@70829 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-23 16:34:31 +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 9704feec19 Bugfix: Work item 15518 - PCLZip library issue
References to ZipArchive Constants when ZipArchive class isn't available

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@70307 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-14 13:52:49 +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 f08f16c8ca General: Work item 15461 - Locale file paths not fit for windows
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69731 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-04 14:22:08 +00:00
Mark Baker 09df4fd647 Bugfix: Work item 15459 - Invalid cell coordinate in Autofilter for Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69709 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-03-03 23:01:31 +00:00
Mark Baker cfaa5209f7 General: Work item 15405 - Two easy to fix Issues concerning PHPExcel_Token_Stack (l10n/UC)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69508 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-28 00:32:55 +00:00
Mark Baker aedff36d4e Bugfix: Work item 15409 - Full column/row references in named ranges not supported by updateCellReference()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69495 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-27 22:33:42 +00:00
Mark Baker 45fb4d84c1 Bugfix: Work item 15421 - PHPExcel_ReferenceHelper::insertNewBefore() is missing an 'Update worksheet: comments' section
Solution, courtesy of MKunert

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69421 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-25 22:57:22 +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 a07dd58fc7 Added listAllFunctionNames() method to the Calculation Engine, and modified the listFunctionNames() method to return only implemented functions
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69154 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-22 13:57:15 +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 a8517724dc Bugfix: Work item 15379 - Named ranges with dot don't get parsed properly
Bugfix:	Work item 15096 - insertNewRowBefore fails to consistently update references
Bugfix:	"i" is not a valid character for Excel date format masks (in isDateTimeFormatCode() method)


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@69064 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-21 12:21:20 +00:00
Mark Baker 2dcead065d Fixed bug in translation functions of the calculation engine
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68887 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-18 17:39:58 +00:00
Mark Baker 7425aa8460 Feature: Work Item 2346 - Implement more Excel calculation functions
Implemented the DGET() Database function

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68576 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-13 17:19:00 +00:00
Mark Baker c5c816a9c6 Feature: Work Item 2346 - Implement more Excel calculation functions
Implemented the DAVERAGE(), DCOUNT(), DCOUNTA(), DMAX(), DMIN(), DPRODUCT(), DSTDEV(), DSTDEVP(), DSUM(), DVAR() and DVARP() Database functions

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68574 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-13 17:08:00 +00:00
Mark Baker 7bb65068cd Oops... missing semi-colon (now fixed)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68483 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 23:12:39 +00:00
Mark Baker 8a00ef61e8 Added debug log echo option to Calculation Engine (for PHPExcel development team debugging use only)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68482 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 22:45:17 +00:00
Mark Baker 5a7e7bb93f Bugfix: Work item 15308 - Writing to Variable No Longer Works. $_tmp_dir Missing in PHPExcel\PHPExcel\Shared\OLE\PPS\Root.php
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68481 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 22:44:05 +00:00
Mark Baker eb5dadcd4c Bugfix: Work item 15312 - Caching and tmp partition exhaustion
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68479 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 22:26:51 +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 8218d04b0f Bugfix: Reduced false positives from isDateTimeFormatCode() method by suppressing testing within quoted strings (thanks to John Machin, author of xlrd, and the maintainer of xlwt for reading/writing Excel files in Python)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68308 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-10 12:26:50 +00:00
Mark Baker 8a83e847cd Bugfix: Work item 15121 - Column reference rather than cell reference in Print Area definition
Fixed Excel2007 Writer to handle print areas that are defined as row or column ranges rather than just as cell ranges... added a static absoluteReference() method to PHPExcel_Cell that will return an absolute row, column or cell reference, and modified the _writeDefinedNameForPrintArea() method of the Excel2007 Workbook Writer to call that rather than absoluteCoordinate()

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68176 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-08 12:55:45 +00:00
Mark Baker 919df79991 Bugfix: The freezePaneByColumnAndRow() method row argument should default to 1 rather than 0. Default row argument for all __ByColumnAndRow() methods should be 1
General: Enhanced SheetViews element structures in the Excel2007 Writer for frozen panes.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68124 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-07 11:19:07 +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 8c0663486b Feature: Improved toFormattedString() handling for Currency and Accounting format masks to render currency symbols
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67614 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-31 17:18:10 +00:00
Mark Baker 1bf40dadf9 Bugfix: Fix Excel5 Writer so that it only writes column dimensions for columns that are actually used rather than the full range (A to IV)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67582 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-30 23:22:12 +00:00
Mark Baker 956cc7a2cf Bugfix: Work item 11576 - AdvancedValueBinder.php: String sometimes becomes a date when it shouldn't. Improved with a preg_match trap to reject unlikely formats for dates before passing value to PHPExcel_Shared_Date::stringToExcel() for final validation
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67536 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-29 17:05:02 +00:00
Mark Baker 5e27d037bc Bugfix: Work item 14980 - Images not getting copyied with the ->clone function
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67525 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-28 23:09:02 +00:00
Mark Baker c1fe7016ab Feature: Added support for superscript/subscript in HTML/PDF Writers
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67512 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-28 16:02:33 +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 545c2a0f19 Bugfix: Work item 15172 - rangeToarray function modified for non-existent cells
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67475 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-27 16:09:37 +00:00
Mark Baker a7d2134271 Fix to a problem that I introduced with last night's changes to precision in the calculation engine
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67429 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-26 09:40:40 +00:00
Mark Baker 59e85a379d Added flushInstance() method to clear the calculation cache, but only if the calculation engine has been instantiated.
Moved precision setting from functions.php to the calculation engine constructor, with a reset when the calculation engine instance is unset... will be of value when I switch the code to support a calculation engine/cache with each instantiated PHPExcel object.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67403 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-25 23:11:32 +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 5a2830c499 Bugfix: Work item 15129 - Worksheet fromArray() only working with 2-D arrays
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67182 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-21 10:47:20 +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 9f252c9e80 Bugfix: Work item 15089 - PHPExcel_Worksheet->toArray() index problem
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66807 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-12 16:48:54 +00:00
Mark Baker 1643bb9613 Feature: Added new rangeToArray() and namedRangeToArray() methods to the PHPExcel_Worksheet object.
Functionally, these are identical to the toArray() method, except that they take an additional first parameter of a Range (e.g. 'B2:C3') or a Named Range name.
Modified the toArray() method so that it actually uses rangeToArray().

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66799 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-12 15:20: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 1ec263ee94 General: Improved performance (speed), for building the Shared Strings table in the Excel2007 Writer.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66590 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-07 14:52:28 +00:00
Mark Baker 1c6fa7b5ab Bugfix: Work item 15046 - 1.7.5 fails cell->getCalculatedValue()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66479 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-05 17:53:17 +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
Mark Baker 59b831c4f1 Speed boost and memory reduction in the Worksheet toArray() method.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66403 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-04 13:52:05 +00:00
Mark Baker b321f33fed Bugfix: Work item 15029 - coordinateFromString throws exception for rows greater than 99,999
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66366 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-03 22:39:51 +00:00
Maarten Balliauw fd95065240 Work item 11583 - Need method for removing autoFilter
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66340 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-03 10:26:43 +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 6ed30f559a git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66316 2327b42d-5241-43d6-9e2a-de5ac946f064 2011-01-02 12:14:18 +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 457f826fa6 Bugfix: Work item 14973 - PHPExcel_Cell::isInRange() incorrect results - offset by one column
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65968 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-27 22:43:11 +00:00
Mark Baker d027a3d0a7 Bugfix: Calc engine needs to use Ungreedy regexp in parser
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65727 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-24 12:08:31 +00:00
Mark Baker 7a792cd566 Bugfix: Work item 14898 - PHP Warning: preg_match(): Compilation failed: PCRE does not support \\L, \\l, \\N, \\P, \\p, \\U, \\u, or \\X
Bugfix:	Work item 14901 - VLOOKUP choking on parameters in PHPExcel.1.7.5/PHPExcel_Writer_Excel2007

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65692 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-23 21:18:23 +00:00
Mark Baker f71aeebd30 Minor performance/memory tweaks to the Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65356 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-15 17:19:30 +00:00
Mark Baker ad3d9dc853 Bugfix: Work item 14888 - Simple =IF() formula disappears
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65353 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-15 10:07:21 +00:00
Mark Baker 20eec570ff Minor performance/memory tweaks to the Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65288 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-14 17:57:15 +00:00
Mark Baker aa213fe236 Provide option to use PCLZip as an alternative to ZipArchive.
This allows the writing of Excel2007 files, even without ZipArchive enabled (it does require zlib), or when php_zip is one of the buggy PHP 5.2.6 or 5.2.8 versions.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65260 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-13 23:56:51 +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 5a5e920444 Allow cell value type attribute of "str" in Excel2007 xlsx files as a synonym for type of "s"
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65165 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-11 22:00:16 +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 2e86645775 Prevent warnings if worksheeet dimensions are empty
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65026 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-08 17:19:31 +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 1238c6086d Bugfix: Work item 14831 - Style : applyFromArray() for 'allborders' not working
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64875 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-06 12:45:41 +00:00
Mark Baker 9cacc2fda7 Feature: (MBaker) Fix to toFormattedString() method in PHPExcel_Style_NumberFormat to handle fractions with a # code for the integer part
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64874 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-06 12:42:16 +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 5917b8c9b0 Fix call to DATEVALUE() and TIMEVALUE() methods for new function classes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64766 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-03 14:28:57 +00:00
Mark Baker a5fceae060 Performance tweaks to the Calculation Engine to reduce memory usage. Splitting the functions.php into several smaller classes based on function category, so that only those category files actually used by functions in formulae will be included by the autoloader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64720 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-02 17:58:26 +00:00
Mark Baker 787dae6334 Performance tweaks to the Calculation Engine to reduce memory usage. Splitting the functions.php into several smaller classes based on function category, so that only those category files actually used by functions in formulae will be included by the autoloader
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64719 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-12-02 17:56:33 +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 df98faa375 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64399 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-26 17:22:22 +00:00
Mark Baker 506eabdbf7 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64389 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-26 13:31:51 +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 6c9a41879b Feature: Added strictNullComparison argument to the worksheet fromArray() method
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64270 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-24 15:28:15 +00:00
Mark Baker b25ced63cc Bugfix: Work item 13559 - PHPExcel_Writer_PDF does not handle cell borders correctly
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64268 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-24 14:12:12 +00:00
Mark Baker 1f188d3f92 Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64214 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-23 22:43:43 +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 4da85678d4 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64175 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-23 00:05:20 +00:00
Mark Baker 29c4b1db5f Some general performance tweaks, and some specific to the Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64159 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-22 18:00:22 +00:00
Mark Baker 606f43a086 Performance tweaks, particularly using standard binary operations rather than matrix operations when working with single cell operands
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64078 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-20 23:36:20 +00:00
Mark Baker 951c332cda Minor performance tweaks to the HTML Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63950 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-19 14:09:53 +00:00
Mark Baker dbcd7fb1af Minor performance tweaks to the HTML Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63829 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-17 18:04:55 +00:00
Mark Baker 06bfeaaea0 Fixed compilation error in modified HTML writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63809 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-17 09:15:54 +00:00
Mark Baker bd46652fb1 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63786 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-16 16:44:32 +00:00
Mark Baker 012348ac4a Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63742 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-15 13:38:48 +00:00
Mark Baker 9c9657a2e2 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63709 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-14 17:56:00 +00:00
Mark Baker 270ea1df05 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63697 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-14 00:17:32 +00:00
Mark Baker 51dc3403ff Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63695 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-13 23:33:20 +00:00
Mark Baker cb382e89f3 Bugfix: Workitem 14679 - Formula evaluation fails with Japanese sheet refs
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63673 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-13 00:06:30 +00:00
Mark Baker ad8b80bae9 Bugfix: Workitem 14679 - Formula evaluation fails with Japanese sheet refs
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63672 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-12 23:53:31 +00:00
Mark Baker 3bd1ef536d Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63609 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-11 12:30:23 +00:00
Mark Baker c0ae3911b6 Minor performance tweaks: changing PHPExcel_Shared_XMLWriter to extend the XMLWriter class rather than providing a wrapper for an instance of XMLWriter, with slight modifications to the writeRaw() method
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63534 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-09 12:31:59 +00:00
Mark Baker b818187d3c Fix to date properties when set as a formatted string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63424 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-07 16:08:27 +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 8c3ce4f938 Minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62922 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-28 16:50:52 +00:00
Mark Baker bd82adc1f3 Minor performance tweak... simple improvement to sorting the cell cache array
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62861 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-27 10:39:53 +00:00
Mark Baker e3b15694c0 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62816 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-26 15:40:55 +00:00
Mark Baker 66f0fb12d8 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62813 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-26 14:22:31 +00:00
Mark Baker 42b1e0ad76 Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62808 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-26 12:29:44 +00:00
Mark Baker 0a826fe9a6 General: Applied patch 6609 - Removes a unnecessary loop through each cell when applying conditional formatting to a range.
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62766 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-25 09:42:34 +00:00
Mark Baker 568d3fa933 General: Applied patch 7169 - Removed spurious PHP end tags (?>)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62765 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-25 09:33:01 +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 af3300e387 Bugfix: Workitem 14425 - Wrong exception message while deleting column
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62433 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-19 12:24:39 +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 ad9e4e2f0f Fix for a single character string in a call to PHPExcel_Shared_Date::stringToExcel() being treated as a valid date
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62207 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-13 13:16:02 +00:00
Mark Baker 10634822fe Minor fix to toArray() method for row indexing when the $returnCellRef argument is false
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62185 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-12 21:34:04 +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 45ac4eae14 Oops rectification
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61914 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-06 13:02:47 +00:00
Mark Baker 9946aa1595 Bugfix: Workitem 14374 - BUG : Excel5 and setReadFilter ?
Modifications to Worksheet's to_array() method to handle worksheets partially loaded with a readFilter by switching to iterators

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61913 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-06 12:57:54 +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 6364b7a58a Feature: Configure PDF Writer margins based on Excel Worksheet Margin Settings values
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61664 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-29 14:41:43 +00:00
Mark Baker f0131c0282 Bugfix: Modified PHPExcel_Shared_Date::isDateTimeFormatCode() to return false if format code begins with "_" or with "0 " to prevent false positives
These leading characters are most commonly associated with number, currency or accounting (or occasionally fraction) formats

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61632 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-28 15:53:49 +00:00
Mark Baker 79f92b2063 Bugfix: Added autoloader to DefaultValueBinder and AdvancedValueBinder
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61608 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-27 23:22:05 +00:00
Mark Baker 32b8b1c7ab Feature: Work item 14301 - PHPExcel_Worksheet->toArray() is returning truncated values
I've made some modifications so that it is possible to pass a number of additional arguments to the method to determine exactly how the data is returned:

@param mixed $nullValue Value returned in the array entry if a cell doesn't exist
@param boolean $calculateFormulas Should formulas be calculated?
@param boolean $formatData Should formatting be applied to cell values?
@param boolean $returnColumnRef False - Return columns indexed by number (0..x); True - Return columns indexed by column ID (A..x)


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61373 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-23 16:52:57 +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 6925afdb91 Bugfix: Workitem 14256 - Worksheet title exception when duplicate worksheet is being renamed but exceeds the 31 character limit
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61118 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-18 12:45:22 +00:00
Mark Baker 31196f0a14 Feature: Advanced Value Binder now recognises TRUE/FALSE strings (locale-specific) and converts to boolean
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61103 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-17 22:41:31 +00:00
Mark Baker a3a0aa73e7 Bugfix: Workitems 14260 & 14233 - Setting cell values to one char strings & Trouble reading one character string
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61062 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-16 17:04:11 +00:00
Mark Baker 388d2c80d1 Feature: Support for Extended and User-defined Workbook Properties in Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61018 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-15 21:55:37 +00:00
Mark Baker c6a3679d77 Feature: Support for Extended Workbook Properties (Manager) in Excel2007 Writer
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@61010 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-15 19:15:35 +00:00
Mark Baker b089979152 Bugfix: 14236 - problem with getting cell values from another worksheet... (if cell doesn't exist)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60961 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-14 13:50:36 +00:00
Mark Baker 3f807a1c01 Bugfix: Workitem 14223 - Advanced Value Binder Not Working?
Fixed AdvancedValueBinder date handling (with support for a wider range of date formats), and added support for strings containing numeric values in scientific format (e.g. "-1.234e+5")

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60740 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-10 14:57:07 +00:00
Mark Baker 2718e40b3a Provided a setGenerateSheetNavigationBlock(false); option to suppress generation of the sheet navigation block when writing multiple worksheets to HTML
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60582 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-08 15:05:26 +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
Progi1984 b245b2842a Workitem 7895 - Excel5 : Formula : String constant containing double quotation mark
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60517 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 11:40:06 +00:00
Mark Baker e2d16bb98a Document Properties modified to support extended and custom properties
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60510 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-07 08:01:29 +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
Progi1984 ee74ef9254 Workitem 7895 - Excel5 : Formula : Percent
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60223 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-01 12:10:59 +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
Maarten Balliauw 67ff44d97c Work item 14143 - NA() doesn't propagate in matrix calc - quick fix in JAMA/Matrix.php
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60085 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-30 11:58:47 +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
Progi1984 4e8a57e369 Workitem 7895 - Excel5 : Formula : Error Constant
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59926 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-27 13:37:26 +00:00
Progi1984 ab9d03069d Workitem 7895 - Excel5 : Formula : Concatenation operator
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59912 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-27 07:27:24 +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