Set formula attribute in the Xlsx reader
This commit is contained in:
parent
9683e5be18
commit
8d89554d84
|
|
@ -717,6 +717,10 @@ class Xlsx extends BaseReader
|
|||
} else {
|
||||
// Formula
|
||||
$this->castToFormula($c, $r, $cellDataType, $value, $calculatedValue, $sharedFormulas, 'castToString');
|
||||
if (isset($c->f['t'])) {
|
||||
$att = $c->f['t'];
|
||||
$docSheet->getCell($r)->setFormulaAttributes(['t' => (string)$att]);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue