Commit 3ecda4fa authored by Sergey Luzyanin's avatar Sergey Luzyanin

В историю добавлялись изменения на копировании

parent 7cbb104d
......@@ -1716,6 +1716,7 @@ CopyProcessor.prototype =
var oDrawingCopyObject = selectedContent.Drawings[i];
var sp = oDrawingCopyObject.Drawing;
AscFormat.ExecuteNoHistory(function(){
if(!sp.spPr)
{
sp.setSpPr(new AscFormat.CSpPr());
......@@ -1731,6 +1732,7 @@ CopyProcessor.prototype =
sp.spPr.xfrm.setExtX(oDrawingCopyObject.ExtX);
sp.spPr.xfrm.setExtY(oDrawingCopyObject.ExtY);
}
}, this, []);
}
this.CopyDocument2(this.oRoot, oDocument, selectedContent);
......
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