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

http://bugzserver/show_bug.cgi?id=24666 - Отменить возможность копирования...

http://bugzserver/show_bug.cgi?id=24666 - Отменить возможность копирования элементов с рабочей области во фрейм диаграммы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56903 954022d7-b5bf-4e40-9824-e11837661b57
parent 6ed69467
......@@ -2233,7 +2233,8 @@
ReadFromBinaryWord : function(sBase64, worksheet)
{
//передавать CDrawingDocument текущего worksheet
var oTempDrawingDocument = worksheet.objectRender;
var oTempDrawingDocument = worksheet.model.DrawingDocument;
var newCDocument = new CDocument(oTempDrawingDocument);
newCDocument.bFromDocument = true;
newCDocument.theme = this.Api.wbModel.theme;
......
......@@ -619,7 +619,8 @@ CDocument.prototype =
On_EndLoad : function()
{
this.Update_SectionsInfo();
this.DrawingObjects.addToZIndexManagerAfterOpen();
if(null != this.DrawingObjects)
this.DrawingObjects.addToZIndexManagerAfterOpen();
},
LoadEmptyDocument : function()
......
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