mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-26 07:16:03 +03:00
Bugfix: (ncrypthic) Work Item GH-570 - Ignore inlineStr type if formula element exists
This commit is contained in:
parent
99b375613d
commit
1ba2ae0cec
@ -848,8 +848,12 @@ class PHPExcel_Reader_Excel2007 extends PHPExcel_Reader_Abstract implements PHPE
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "inlineStr":
|
case "inlineStr":
|
||||||
// echo 'Inline String', PHP_EOL;
|
// echo 'Inline String', PHP_EOL;
|
||||||
|
if (isset($c->f)) {
|
||||||
|
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToError');
|
||||||
|
} else {
|
||||||
$value = $this->parseRichText($c->is);
|
$value = $this->parseRichText($c->is);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "e":
|
case "e":
|
||||||
// echo 'Error', PHP_EOL;
|
// echo 'Error', PHP_EOL;
|
||||||
@ -862,7 +866,7 @@ class PHPExcel_Reader_Excel2007 extends PHPExcel_Reader_Abstract implements PHPE
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// echo 'Default', PHP_EOL;
|
// echo 'Default', PHP_EOL;
|
||||||
if (!isset($c->f)) {
|
if (!isset($c->f)) {
|
||||||
// echo 'Not a Formula', PHP_EOL;
|
// echo 'Not a Formula', PHP_EOL;
|
||||||
$value = self::castToString($c);
|
$value = self::castToString($c);
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
Planned for 1.8.2
|
Planned for 1.8.2
|
||||||
- Bugfix: (MBaker) - Fix to getCell() method when cell reference includes a worksheet reference
|
- Bugfix: (MBaker) - Fix to getCell() method when cell reference includes a worksheet reference
|
||||||
|
- Bugfix: (ncrypthic) Work Item GH-570 - Ignore inlineStr type if formula element exists
|
||||||
|
|
||||||
|
|
||||||
2015-04-30 (v1.8.1):
|
2015-04-30 (v1.8.1):
|
||||||
|
Loading…
Reference in New Issue
Block a user