Commit 58db79f0 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка бага 21462 - [CoEdit] Пользователь не получает скопированную таблицу

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50847 954022d7-b5bf-4e40-9824-e11837661b57
parent c3edc9b5
......@@ -1639,7 +1639,7 @@ CopyProcessor.prototype =
var src = this.getSrc(base64_img);
var alt_content = cur_element.parent.writeToBinaryForCopyPaste();
this.aInnerHtml.push("<img width=\""+Math.round(/*cur_element.W*/5 * g_dKoef_mm_to_pix)+"\" height=\""+Math.round(/*cur_element.H*/5 * g_dKoef_mm_to_pix)+"\" src=\""+src+"\" alt=\""+alt_content+"\" />");
this.aInnerHtml.push("<img width=\""+Math.round(cur_element.absExtX * g_dKoef_mm_to_pix)+"\" height=\""+Math.round(cur_element.absExtY * g_dKoef_mm_to_pix)+"\" src=\""+src+"\" alt=\""+alt_content+"\" />");
this.ElemToSelect.appendChild( this.Para );
}
......@@ -1678,7 +1678,7 @@ CopyProcessor.prototype =
var src = this.getSrc(base64_img);
var alt_content = cur_element.writeToBinaryForCopyPaste();
this.aInnerHtml.push("<img width=\""+Math.round(/*cur_element.W*/5 * g_dKoef_mm_to_pix)+"\" height=\""+Math.round(/*cur_element.H*/5 * g_dKoef_mm_to_pix)+"\" src=\""+src+"\" alt=\""+alt_content+"\" />");
this.aInnerHtml.push("<img width=\""+Math.round(cur_element.W * g_dKoef_mm_to_pix)+"\" height=\""+Math.round(cur_element.H * g_dKoef_mm_to_pix)+"\" src=\""+src+"\" alt=\""+alt_content+"\" />");
this.ElemToSelect.appendChild( this.Para );
......@@ -3955,6 +3955,10 @@ PasteProcessor.prototype =
}
}
}
if(arr_shapes[arr_shapes.length - 1] instanceof CGraphicFrame)
{
arr_shapes[arr_shapes.length - 1].setGraphicObject(arr_shapes[arr_shapes.length - 1].graphicObject.Copy(arr_shapes[arr_shapes.length - 1]));
}
}
return {arrShapes: arr_shapes, arrImages: loader.End_UseFullUrl()};
......
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