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
This commit is contained in:
parent
fd95065240
commit
b321f33fed
|
@ -498,7 +498,7 @@ class PHPExcel_Cell
|
||||||
*/
|
*/
|
||||||
public static function coordinateFromString($pCoordinateString = 'A1')
|
public static function coordinateFromString($pCoordinateString = 'A1')
|
||||||
{
|
{
|
||||||
if (preg_match("/^([$]?[A-Z]{1,3})([$]?\d{1,5})$/", $pCoordinateString, $matches)) {
|
if (preg_match("/^([$]?[A-Z]{1,3})([$]?\d{1,7})$/", $pCoordinateString, $matches)) {
|
||||||
return array($matches[1],$matches[2]);
|
return array($matches[1],$matches[2]);
|
||||||
} elseif ((strpos($pCoordinateString,':') !== false) || (strpos($pCoordinateString,',') !== false)) {
|
} elseif ((strpos($pCoordinateString,':') !== false) || (strpos($pCoordinateString,',') !== false)) {
|
||||||
throw new Exception('Cell coordinate string can not be a range of cells.');
|
throw new Exception('Cell coordinate string can not be a range of cells.');
|
||||||
|
|
|
@ -33,6 +33,7 @@ Fixed in SVN:
|
||||||
- Bugfix: (MBaker) Work item 14973 - PHPExcel_Cell::isInRange() incorrect results - offset by one column
|
- 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: (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
|
- Bugfix: (MB) Work item 11583 - Need method for removing autoFilter
|
||||||
|
- Bugfix: (MBaker) Work item 15029 - coordinateFromString throws exception for rows greater than 99,999
|
||||||
|
|
||||||
|
|
||||||
2010-12-10 (v1.7.5):
|
2010-12-10 (v1.7.5):
|
||||||
|
|
Loading…
Reference in New Issue