Commit d854fdc9 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

не отключаю историю при copy/paste из excel в word

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56213 954022d7-b5bf-4e40-9824-e11837661b57
parent 716b4295
......@@ -6580,8 +6580,13 @@
}
this.Read = function(data, wb)
{
this.stream = this.getbase64DecodedData(data);
History.TurnOff();
var pasteBinaryFromExcel = false;
if(this.copyPasteObj && this.copyPasteObj.isCopyPaste && typeof editor != "undefined" && editor)
pasteBinaryFromExcel = true;
this.stream = this.getbase64DecodedData(data);
if(!pasteBinaryFromExcel)
History.TurnOff();
this.ReadFile(wb);
if(!this.copyPasteObj.isCopyPaste)
......@@ -6590,7 +6595,8 @@
ReadDefTableStyles(wb, wb.TableStyles.DefaultStyles);
wb.TableStyles.concatStyles();
}
History.TurnOn();
if(!pasteBinaryFromExcel)
History.TurnOn();
};
this.ReadFile = function(wb)
{
......
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