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

вставка в шейп(excel)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56474 954022d7-b5bf-4e40-9824-e11837661b57
parent 2ce7064c
......@@ -1651,27 +1651,23 @@
newFonts = this._convertFonts(oPasteProcessor.oFonts);
worksheet._loadFonts(newFonts, function () {
oPasteProcessor._Execute(node, {}, true, true, false);
oPasteProcessor._Execute(node, {}, true, true, false);
targetDocContent.Remove(1, true, true);
targetDocContent.Remove(1, true, true);
if(!oPasteProcessor.aContent || !oPasteProcessor.aContent.length)
return false;
if(!oPasteProcessor.aContent || !oPasteProcessor.aContent.length)
return;
worksheet._loadFonts(newFonts, function () {
oPasteProcessor.InsertInPlace(targetDocContent , oPasteProcessor.aContent);
worksheet.objectRender.controller.startRecalculate();
window.GlobalPasteFlag = false;
window.GlobalPasteFlagCounter = 0;
})
});
if(!oPasteProcessor.aContent || !oPasteProcessor.aContent.length)
return false;
else
return true;
return true;
},
_convertFonts: function(oFonts)
......
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