Commit ef7ea168 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@50049 954022d7-b5bf-4e40-9824-e11837661b57
parent 6bfeff68
......@@ -133,6 +133,7 @@ function CEditorPage(api)
this.m_bIsMouseLock = false;
this.m_nTimeDrawingLast = 0;
this.DrawingFreeze = false;
this.m_oHorRuler.m_oWordControl = this;
this.m_oVerRuler.m_oWordControl = this;
......@@ -2960,6 +2961,8 @@ function CEditorPage(api)
this.OnPaint = function()
{
if (this.DrawingFreeze)
return;
//console.log("paint");
var canvas = this.m_oEditor.HtmlElement;
......
......@@ -3766,6 +3766,11 @@ asc_docs_api.prototype.sync_EndAddShape = function()
}
}
asc_docs_api.prototype.SetDrawingFreeze = function(bIsFreeze)
{
this.WordControl.DrawingFreeze = bIsFreeze;
}
/*----------------------------------------------------------------*/
/*functions for working with page*/
asc_docs_api.prototype.change_PageOrient = function(isPortrait)
......
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