Commit 3b8f6082 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55780 954022d7-b5bf-4e40-9824-e11837661b57
parent 07966d34
...@@ -131,6 +131,7 @@ function CEditorPage(api) ...@@ -131,6 +131,7 @@ function CEditorPage(api)
this.m_bIsHorScrollVisible = false; this.m_bIsHorScrollVisible = false;
this.m_bIsCheckHeedHorScrollRepeat = false; this.m_bIsCheckHeedHorScrollRepeat = false;
this.m_bIsRuler = false; this.m_bIsRuler = false;
this.m_bDocumentPlaceChangedEnabled = false;
this.m_nZoomValue = 100; this.m_nZoomValue = 100;
this.zoom_values = [50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200]; this.zoom_values = [50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200];
...@@ -2462,6 +2463,9 @@ function CEditorPage(api) ...@@ -2462,6 +2463,9 @@ function CEditorPage(api)
var lPage = this.m_oApi.GetCurrentVisiblePage(); var lPage = this.m_oApi.GetCurrentVisiblePage();
this.m_oApi.asc_fireCallback("asc_onCurrentVisiblePage", this.m_oApi.GetCurrentVisiblePage()); this.m_oApi.asc_fireCallback("asc_onCurrentVisiblePage", this.m_oApi.GetCurrentVisiblePage());
} }
if (this.m_bDocumentPlaceChangedEnabled)
this.m_oApi.asc_fireCallback("asc_onDocumentPlaceChanged");
} }
this.OnPaint = function() this.OnPaint = function()
......
...@@ -4056,6 +4056,12 @@ asc_docs_api.prototype.asc_setAutoSaveGap = function (autoSaveGap) { ...@@ -4056,6 +4056,12 @@ asc_docs_api.prototype.asc_setAutoSaveGap = function (autoSaveGap) {
} }
}; };
asc_docs_api.prototype.asc_SetDocumentPlaceChangedEnabled = function(bEnabled)
{
if (this.WordControl)
this.WordControl.m_bDocumentPlaceChangedEnabled = bEnabled;
}
asc_docs_api.prototype.SetMobileVersion = function(val) asc_docs_api.prototype.SetMobileVersion = function(val)
{ {
this.isMobileVersion = val; this.isMobileVersion = val;
......
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