Commit 4d30e50c authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

добавил проверку Can_InsertContent

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59447 954022d7-b5bf-4e40-9824-e11837661b57
parent 3d323881
......@@ -2747,6 +2747,11 @@ PasteProcessor.prototype =
oSelectedElement.SelectedAll = true;
oSelectedContent.Add(oSelectedElement);
}
//проверка на возможность втавки в формулу
if(!oDoc.Can_InsertContent(oSelectedContent, NearPos))
return;
oDoc.Insert_Content(oSelectedContent, NearPos);
this._selectShapesBeforeInsert(aNewContent, oDoc);
......
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