Make newer Excel versions properly recalculate formulas on document open
Fixes #456 Closes #515
This commit is contained in:
parent
22d5312be8
commit
b700614f0d
|
@ -175,6 +175,7 @@ class Workbook extends WriterPart
|
|||
// fullCalcOnLoad isn't needed if we've recalculating for the save
|
||||
$objWriter->writeAttribute('calcCompleted', ($recalcRequired) ? 1 : 0);
|
||||
$objWriter->writeAttribute('fullCalcOnLoad', ($recalcRequired) ? 0 : 1);
|
||||
$objWriter->writeAttribute('forceFullCalc', ($recalcRequired) ? 0 : 1);
|
||||
|
||||
$objWriter->endElement();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue