Commit 7682d7a8 authored by GoshaZotov's avatar GoshaZotov

for add formula changes

parent 9230fe8b
...@@ -201,6 +201,7 @@ ...@@ -201,6 +201,7 @@
case c_oSpecialPasteProps.formating: case c_oSpecialPasteProps.formating:
{ {
this.formula = null; this.formula = null;
this.val = null;
break; break;
} }
case c_oSpecialPasteProps.pasteLink: case c_oSpecialPasteProps.pasteLink:
......
...@@ -9654,11 +9654,11 @@ ...@@ -9654,11 +9654,11 @@
{ {
arrFormula.push(rangeStyle.formula); arrFormula.push(rangeStyle.formula);
} }
else if(rangeStyle.cellValueData && specialPasteProps.font) else if(rangeStyle.cellValueData && specialPasteProps.font && specialPasteProps.val)
{ {
rangeStyle.cellValueData.cell.setValueData(rangeStyle.cellValueData.valueData); rangeStyle.cellValueData.cell.setValueData(rangeStyle.cellValueData.valueData);
} }
else if(rangeStyle.value2 && specialPasteProps.font) else if(rangeStyle.value2 && specialPasteProps.font && specialPasteProps.val)
{ {
if(formulaProps) if(formulaProps)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment