Commit a4e54268 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

правки для копипаста нативной версии

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61222 954022d7-b5bf-4e40-9824-e11837661b57
parent 676e970f
......@@ -5298,7 +5298,7 @@ asc_docs_api.prototype.Call_Menu_Context_Copy = function()
if (null != _binary_data.drawingUrls && _binary_data.drawingUrls.length > 0)
{
_stream["WriteByte"](1);
_stream["WriteString2"](_binary_data.drawingUrls[0]);
_stream["WriteStringA"](_binary_data.drawingUrls[0]);
}
// owner format
......
......@@ -1711,9 +1711,9 @@ CopyProcessor.prototype =
if(graphicObj.isImage())
{
url = graphicObj.getImageUrl();
if(window.NativeCorrectImageUrlOnCopy)
if(window["NativeCorrectImageUrlOnCopy"])
{
correctUrl = window.NativeCorrectImageUrlOnCopy(url);
correctUrl = window["NativeCorrectImageUrlOnCopy"](url);
drawingUrls[i] = correctUrl;
}
......@@ -1730,6 +1730,8 @@ CopyProcessor.prototype =
var sBase64 = this.oBinaryFileWriter.GetResult();
var text = "";
if (oDocument.Get_SelectedText)
text = oDocument.Get_SelectedText();
return {sBase64: sBase64, text: text, drawingUrls: drawingUrls};
}
......
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