Commit d7b62cc6 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@51199 954022d7-b5bf-4e40-9824-e11837661b57
parent eee2fdf2
...@@ -2188,10 +2188,16 @@ ...@@ -2188,10 +2188,16 @@
objectRender.preCopy(); objectRender.preCopy();
var nLoc = 0; var nLoc = 0;
var table = document.createElement('span'); var table = document.createElement('span');
var image;
var drawings = objectRender.controller.curState.group.selectedObjects; var drawings = objectRender.controller.curState.group.selectedObjects;
t.lStorage = []; t.lStorage = [];
for (j = 0; j < drawings.length; ++j) { for (j = 0; j < drawings.length; ++j) {
var image = drawings[j].drawingBase; image = drawings[j].drawingBase;
if(!image)
{
image = objectRender.createDrawingObject();
image.graphicObject = drawings[j];
}
var cloneImg = objectRender.cloneDrawingObject(image); var cloneImg = objectRender.cloneDrawingObject(image);
var curImage = new Image(); var curImage = new Image();
var url; var url;
......
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