From fd95065240cbb6988a9dbc353fe2bcd0e0642e83 Mon Sep 17 00:00:00 2001 From: Maarten Balliauw Date: Mon, 3 Jan 2011 10:26:43 +0000 Subject: [PATCH] Work item 11583 - Need method for removing autoFilter git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66340 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Worksheet.php | 11 +++++++++++ changelog.txt | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Classes/PHPExcel/Worksheet.php b/Classes/PHPExcel/Worksheet.php index 7442dd20..3ba25e4a 100644 --- a/Classes/PHPExcel/Worksheet.php +++ b/Classes/PHPExcel/Worksheet.php @@ -1661,6 +1661,17 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2 ); } + + /** + * Remove autofilter + * + * @return PHPExcel_Worksheet + */ + public function removeAutoFilter() + { + $this->_autoFilter = ''; + return $this; + } /** * Get Freeze Pane diff --git a/changelog.txt b/changelog.txt index bee56a71..98e2a6f9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -32,7 +32,7 @@ Fixed in SVN: - Bugfix: (MBaker) Work item 14901 - VLOOKUP choking on parameters in PHPExcel.1.7.5/PHPExcel_Writer_Excel2007 - Bugfix: (MBaker) Work item 14973 - PHPExcel_Cell::isInRange() incorrect results - offset by one column - Bugfix: (MBaker) Treat CodePage of 0 as CP1251 (for .xls files written by applications that don't set the CodePage correctly, such as Apple Numbers) - +- Bugfix: (MB) Work item 11583 - Need method for removing autoFilter 2010-12-10 (v1.7.5): @@ -77,8 +77,8 @@ Fixed in SVN: 2010-08-26 (v1.7.4): -- Bugfix: (Progi1984) Workitem 7895 - Excel5 : Formula : Power -- Bugfix: (Progi1984) Workitem 7895 - Excel5 : Formula : Unary plus +- Bugfix: (Progi1984) Work item 7895 - Excel5 : Formula : Power +- Bugfix: (Progi1984) Work item 7895 - Excel5 : Formula : Unary plus - Bugfix: (Progi1984) Excel5 : Just write the Escher stream if necessary in Worksheet - Bugfix: (MBaker) Work item 13433 - Syntax errors in memcache.php 1.7.3c - Bugfix: (MBaker) Work item 13450 - Standard Deviation functions returning DIV/0 Error when Standard Deviation is zero