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

http://bugzserver/show_bug.cgi?id=27920 - [Copy&Paste] "Красный крест" при...

http://bugzserver/show_bug.cgi?id=27920 -  [Copy&Paste] "Красный крест" при копировании изображения из CDE в CPE

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60135 954022d7-b5bf-4e40-9824-e11837661b57
parent 1887bd33
......@@ -3911,7 +3911,7 @@ PasteProcessor.prototype =
for(var j = 0; j < drawings.length; j++)
{
drawingCopyObject = new DrawingCopyObject();
drawingCopyObject.Drawing = drawings[j].GraphicObj.convertToPPTX(this.oDocument.DrawingDocument);
drawingCopyObject.Drawing = drawings[j].GraphicObj;
pDrawings.push(drawingCopyObject);
}
}
......@@ -4032,6 +4032,13 @@ PasteProcessor.prototype =
}
}
}
//ковертим изображения в презентационный формат
for(var i = 0; i < presentationSelectedContent.Drawings.length; i++)
{
presentationSelectedContent.Drawings[i].Drawing = presentationSelectedContent.Drawings[i].Drawing.convertToPPTX(oThis.oDocument.DrawingDocument);
}
oThis.api.pre_Paste(fonts, image_map, paste_callback);
}, rData );
}
......
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