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

http://bugzserver/show_bug.cgi?id=26430 - [Copy&Paste] Автофигура вставляется...

http://bugzserver/show_bug.cgi?id=26430 - [Copy&Paste] Автофигура вставляется без сохранения заливки в виде изображения, при копировании из CDE в CSE

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58212 954022d7-b5bf-4e40-9824-e11837661b57
parent c8a3f7a9
......@@ -3821,6 +3821,13 @@ PasteProcessor.prototype =
aPastedImages[aPastedImages.length] = new CBuilderImages(graphicObj.blipFill, imageUrl);
images[images.length] = imageUrl;
}
else if(graphicObj.spPr && graphicObj.spPr.Fill && graphicObj.spPr.Fill.fill && graphicObj.spPr.Fill.fill.RasterImageId && graphicObj.spPr.Fill.fill.RasterImageId != null)
{
imageUrl = graphicObj.spPr.Fill.fill.RasterImageId;
//aPastedImages[aPastedImages.length] = new CBuilderImages(graphicObj.blipFill, imageUrl);
images[images.length] = imageUrl;
}
};
aContent = [];
......
......@@ -3406,6 +3406,8 @@
if(drawingObject.graphicObject.isImage())
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);
};
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