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

http://bugzserver/show_bug.cgi?id=26516 - [Copy&Paste] Картинки в группе из...

http://bugzserver/show_bug.cgi?id=26516 -  [Copy&Paste] Картинки в группе из редактора документов вставляются ввиде крестов

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58277 954022d7-b5bf-4e40-9824-e11837661b57
parent e9d17d64
......@@ -3276,6 +3276,17 @@
aImagesSync.push(drawingObject.graphicObject.getImageUrl());
else if(drawingObject.graphicObject.spPr && drawingObject.graphicObject.spPr.Fill && drawingObject.graphicObject.spPr.Fill.fill && drawingObject.graphicObject.spPr.Fill.fill.RasterImageId && drawingObject.graphicObject.spPr.Fill.fill.RasterImageId != null)
aImagesSync.push(drawingObject.graphicObject.spPr.Fill.fill.RasterImageId);
else if(drawingObject.graphicObject.isGroup() && drawingObject.graphicObject.spTree && drawingObject.graphicObject.spTree.length)
{
var spTree = drawingObject.graphicObject.spTree;
for(var j = 0; j < spTree.length; j++)
{
if(spTree[j].isImage())
{
aImagesSync.push(spTree[j].getImageUrl());
}
}
}
};
window["Asc"]["editor"].ImageLoader.LoadDocumentImages(aImagesSync, null, ws.objectRender.asyncImagesDocumentEndLoaded);
......
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