Commit 8b7039e8 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@55953 954022d7-b5bf-4e40-9824-e11837661b57
parent 2a277a91
......@@ -3057,14 +3057,17 @@ PasteProcessor.prototype =
}
var aContent;
//если находимся внутри шейп, вставляем html
if(this.oDocument.Parent && this.oDocument.Parent instanceof WordShape)
if(this.oDocument.Parent && this.oDocument.Parent instanceof CShape)
base64 = null;
if(base64 != null)
aContent = this.ReadFromBinary(base64);
if(aContent)
{
var fPrepasteCallback = function(){
checkThemeFonts(aContent.fonts, this.oDocument.theme.themeElements.fontScheme)
var fPrepasteCallback = function(){
if(false == oThis.bNested)
{
oThis.InsertInDocument();
......
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