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
This commit is contained in:
parent
cfaa5209f7
commit
09df4fd647
|
@ -353,6 +353,11 @@ class PHPExcel_Writer_Excel2007_Workbook extends PHPExcel_Writer_Excel2007_Write
|
|||
// Create absolute coordinate and write as raw text
|
||||
$range = PHPExcel_Cell::splitRange($pSheet->getAutoFilter());
|
||||
$range = $range[0];
|
||||
// Strip any worksheet ref so we can make the cell ref absolute
|
||||
if (strpos($range[0],'!') !== false) {
|
||||
list($ws,$range[0]) = explode('!',$range[0]);
|
||||
}
|
||||
|
||||
$range[0] = PHPExcel_Cell::absoluteCoordinate($range[0]);
|
||||
$range[1] = PHPExcel_Cell::absoluteCoordinate($range[1]);
|
||||
$range = implode(':', $range);
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
|
||||
Fixed in SVN:
|
||||
- Bugfix: (MBaker) Work item 15459 - Invalid cell coordinate in Autofilter for Excel2007 Writer
|
||||
|
||||
|
||||
2011-02)27 (v1.7.6):
|
||||
|
|
Loading…
Reference in New Issue