Commit b7cd777c authored by Oleg.Korshul's avatar Oleg.Korshul

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50614 954022d7-b5bf-4e40-9824-e11837661b57
parent 2292dcca
...@@ -811,6 +811,10 @@ function CEditorPage(api) ...@@ -811,6 +811,10 @@ function CEditorPage(api)
return true; return true;
} }
else
{
this.m_oApi.sync_zoomChangeCallback(this.m_nZoomValue, 1);
}
return false; return false;
} }
this.zoom_FitToPage = function() this.zoom_FitToPage = function()
...@@ -844,6 +848,10 @@ function CEditorPage(api) ...@@ -844,6 +848,10 @@ function CEditorPage(api)
this.zoom_Fire(2, _old_val); this.zoom_Fire(2, _old_val);
return true; return true;
} }
else
{
this.m_oApi.sync_zoomChangeCallback(this.m_nZoomValue, 2);
}
return false; return false;
} }
......
...@@ -5328,12 +5328,15 @@ asc_docs_api.prototype.asc_ignoreMisspelledWord = function(SpellCheckProperty, b ...@@ -5328,12 +5328,15 @@ asc_docs_api.prototype.asc_ignoreMisspelledWord = function(SpellCheckProperty, b
asc_docs_api.prototype.asc_setDefaultLanguage = function(Lang) asc_docs_api.prototype.asc_setDefaultLanguage = function(Lang)
{ {
editor.WordControl.m_oLogicDocument.Set_DefaultLanguage(Lang); if (editor.WordControl.m_oLogicDocument)
editor.WordControl.m_oLogicDocument.Set_DefaultLanguage(Lang);
} }
asc_docs_api.prototype.asc_getDefaultLanguage = function() asc_docs_api.prototype.asc_getDefaultLanguage = function()
{ {
return editor.WordControl.m_oLogicDocument.Get_DefaultLanguage(); if (editor.WordControl.m_oLogicDocument)
return editor.WordControl.m_oLogicDocument.Get_DefaultLanguage();
return null;
} }
//----------------------------------------------------------------- //-----------------------------------------------------------------
// Функции для работы с комментариями // Функции для работы с комментариями
...@@ -5798,6 +5801,7 @@ asc_docs_api.prototype.CreateFontsCharMap = function() ...@@ -5798,6 +5801,7 @@ asc_docs_api.prototype.CreateFontsCharMap = function()
asc_docs_api.prototype.sync_SendThemeColors = function(colors,standart_colors) asc_docs_api.prototype.sync_SendThemeColors = function(colors,standart_colors)
{ {
this._gui_control_colors = { Colors : colors, StandartColors : standart_colors }; this._gui_control_colors = { Colors : colors, StandartColors : standart_colors };
this.asc_fireCallback("asc_onSendThemeColors",colors,standart_colors);
} }
asc_docs_api.prototype.sync_SendThemeColorSchemes = function(param) asc_docs_api.prototype.sync_SendThemeColorSchemes = function(param)
{ {
......
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