Commit 9ab698f8 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

при копировании формулы в буфер обмена кладём картинку

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56703 954022d7-b5bf-4e40-9824-e11837661b57
parent f6c0b04d
......@@ -676,6 +676,23 @@ CopyProcessor.prototype =
sRes += this.CopyRunContent(item);
sRes += "</a>";
}
else if(para_Math == item.Type){
var sSrc = item.MathToImageConverter();
var width = item.Width;
var height = item.Height;
sRes += "<img";
if (null != width && "" != width)
sRes += " width=\"" + width + "\"";
if (null != height && "" != height)
sRes += " height=\"" + height + "\"";
if (null != sSrc && "" != sSrc && null != sSrc.ImageUrl)
sRes += " src=\"" + sSrc.ImageUrl + "\"";
sRes += ">";
sRes += "</img>";
}
}
return sRes;
},
......
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