Commit 8fec710a authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

копирование объектов после зачитывания из бинарника при вставке

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57003 954022d7-b5bf-4e40-9824-e11837661b57
parent 79ddb283
......@@ -348,7 +348,7 @@ CHistory.prototype =
this.TurnOn();
bNeedOff = true;
}
if(Class)
//if(Class)
this.Add(Class, Type, sheetid, range, Data, LocalChange);
if(bNeedOff)
this.TurnOff();
......@@ -682,7 +682,7 @@ CHistory.prototype =
if ( this.RecIndex >= this.Index )
this.RecIndex = this.Index - 1;
if(!Class.Save_Changes)
if(Class && !Class.Save_Changes)
{
Item =
{
......
......@@ -3294,6 +3294,7 @@
{
//if(i == 0)
// window["Asc"]["editor"].isStartAddShape = true;
data.Drawings[i].graphicObject = data.Drawings[i].graphicObject.copy();
drawingObject = data.Drawings[i];
CheckSpPrXfrm(drawingObject.graphicObject);
......
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