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

copy/paste группы автофигур

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48958 954022d7-b5bf-4e40-9824-e11837661b57
parent 2a53ca9e
......@@ -2058,12 +2058,15 @@
if(cloneImg.graphicObject.isChart() && cloneImg.graphicObject.brush.fill.RasterImageId)
url = cloneImg.graphicObject.brush.fill.RasterImageId;
else if(cloneImg.graphicObject && (cloneImg.graphicObject.isShape() || cloneImg.graphicObject.isImage()))
else if(cloneImg.graphicObject && (cloneImg.graphicObject.isShape() || cloneImg.graphicObject.isImage() || cloneImg.graphicObject.isGroup()))
{
var cMemory = new CMemory();
var altAttr = cloneImg.graphicObject.writeToBinaryForCopyPaste(cMemory);
var imageUrl = cloneImg.graphicObject.getImageUrl();
if(cloneImg.graphicObject.isImage() && imageUrl)
var isImage = cloneImg.graphicObject.isImage();
var imageUrl;
if(isImage)
imageUrl = cloneImg.graphicObject.getImageUrl();
if(isImage && imageUrl)
url = imageUrl;
else
url = cloneImg.graphicObject.getBase64Image();
......
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