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

при втавке бинарника в excel DrawingDocument беру из текущего листа

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56363 954022d7-b5bf-4e40-9824-e11837661b57
parent b9f6e56b
......@@ -5072,6 +5072,16 @@
//TODO при copy/paste в word из excel необходимо подменить DrawingDocument из word - пересмотреть правку!
if(typeof editor != "undefined" && editor && editor.WordControl && editor.WordControl.m_oLogicDocument && editor.WordControl.m_oLogicDocument.DrawingDocument)
oNewWorksheet.DrawingDocument = editor.WordControl.m_oLogicDocument.DrawingDocument;
else if(this.copyPasteObj && this.copyPasteObj.isCopyPaste)
{
var api = window["Asc"]["editor"]
var nActiveSheet = api.wb.model.nActive;
var ws = api.wb.model.aWorksheets[nActiveSheet];
var DrawingDocument = ws.DrawingDocument;
oNewWorksheet.DrawingDocument = DrawingDocument;
};
this.curWorksheet = oNewWorksheet;
res = this.bcr.Read1(length, function(t,l){
return oThis.ReadWorksheet(t,l, oNewWorksheet);
......
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