Commit Graph

186 Commits

Author SHA1 Message Date
Mark Baker cce77bad0e Cleanup of refactored writers 2012-11-05 23:34:02 +00:00
Mark Baker 59a938c4dd Refactor common writer settings/methods into an abstract writer class 2012-11-05 22:42:58 +00:00
Mark Baker f7268cdd65 Initial (as yet untested) code to include Excel charts in HTML and PDF output 2012-11-05 00:50:21 +00:00
Mark Baker 016ee6e4d8 Some refactoring of PDF renderer wrappers and PDF Writer 2012-11-03 23:44:10 +00:00
Mark Baker 531803a919 Change Writer exceptions to PHPExcel_Writer_Exception 2012-10-31 22:00:40 +00:00
Mark Baker 9be433af58 Minor charting fixes 2012-10-27 00:02:38 +01: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
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 8900a49d4e Minor bugfixes 2012-10-04 21:48:27 +01:00
Mark Baker d7e4aaf80b Data labels for charts 2012-09-17 23:23:55 +01:00
Mark Baker 0dac1e1ab5 General: (Raghav1981) ZeroHeight for rows in sheet format 2012-09-09 11:38:32 +01: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
Mark Baker 13f227c4f2 Additional chart creation examples 2012-09-02 12:06:48 +01:00
Mark Baker e419b92765 Autofilter expressions - TopTen, and minor patches 2012-08-24 23:38:18 +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 2b91cb0c2c Suppress autofilter row show/hide while diagnostics still in code 2012-08-19 23:59:22 +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 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 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
Mark Baker b694241de6 Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into autofilter 2012-08-07 10:16:03 +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 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 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 e2a2fdb335 Bugfix: (seltzlab) Fix to excel2007 Chart Writer when a $plotSeriesValues is empty 2012-07-14 01:26:53 +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 d700807ed0 Convert string text to rich text for chart title and axis labels 2012-06-18 23:43:53 +01: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 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 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 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 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 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 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 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 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 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 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
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 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 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 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 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 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 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
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 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 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 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 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 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 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 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 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 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 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